Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapToControllerByMatchingLabel ¶
func MapToControllerByMatchingLabel(labelKey, labelValue string) func(ctx context.Context, object client.Object) []reconcile.Request
MapToControllerByMatchingLabel returns an event handler will convert events on a resource to requests if the resource matches a given label key and value (if the label exists)
func MapToOwnerByLabel ¶
func MapToOwnerByLabel(namespace, label string) func(context context.Context, object client.Object) []reconcile.Request
MapToOwnerByLabel returns an event handler will convert events on a resource to requests on another resource whose name if found in a given label it maps the namespace to a request on the "owner" (or "associated") resource (if the label exists)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.