controllers

package
v0.0.0-...-55e8143 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapToControllerByMatchingLabel

func MapToControllerByMatchingLabel(labelKey, labelValue string) func(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(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