runway.cfngin.hooks.docker.hook_data module

Docker hook_data object.

class runway.cfngin.hooks.docker.hook_data.DockerHookData(**kwargs)[source]

Bases: runway.util.MutableMap

Docker hook_data object.

Initialize class.

Provided kwargs are added to the object as attributes.

Example

image = None
client

Decorator for creating cached properties.

A property that is only computed once per instance and then replaces itself with an ordinary attribute. Deleting the attribute resets the property. Source: https://github.com/bottlepy/bottle/commit/fa7733e075da0d790d809aa3d2f53071897e6f76

update_context(context=None)[source]

Update context object with new the current DockerHookData.

classmethod from_cfngin_context(context=None)[source]

Get existing object or create a new one.