Documentation ¶
Overview ¶
Package resource provides a way to interact with resources. This provides multiple interfaces to test against as resources can optionally implement these interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleWaitHook ¶ added in v0.15.0
HandleWaitHook is an interface that allows a resource to handle waiting for a resource to be deleted. This is useful for resources that may take a while to delete, typically where the delete operation happens asynchronously from the initial delete command. This allows libnuke to not block during the delete operation.
type LegacyStringer ¶
type PropertyGetter ¶
type PropertyGetter interface { Resource Properties() types.Properties }
type QueueItemHook ¶ added in v0.16.0
type QueueItemHook interface { Resource BeforeEnqueue(interface{}) }
QueueItemHook is an interface that allows a resource to modify the queue item to which it belongs to. For advanced use only, please use with caution!