Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CascadingDelete ¶
type CascadingDelete struct {
// contains filtered or unexported fields
}
CascadingDelete implements a message queue consumer that watches for resource deletion events and then fans them out to another local type. You almost certainly want a resource label to be defined corrsponding to the messages's resource ID, or you will just delete everything.
func NewCascadingDelete ¶
func NewCascadingDelete(client client.Client, resources client.ObjectList, options ...Option) *CascadingDelete
NewCascadingDelete creates a new cascading deletion consumer.
type Option ¶
type Option func(c *CascadingDelete)
Options defines a set of runtime composable options.
func WithNamespace ¶
WithNamespace sets the namespace in which to each for resources.
func WithResourceLabel ¶
WithResourceLabel creates a label selector that will match the value passed in the messages's resource ID.
Click to show internal directories.
Click to hide internal directories.