controllers

package
v0.0.0-...-cd44923 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL