workerlabel

package
v2.18.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LabelSelector

func LabelSelector(workerName string) (labels.Selector, error)

LabelSelector returns a label selector to only process clusters with a matching worker-name label

func Predicates

func Predicates(workerName string) predicate.Funcs

Predicates returns a predicate func to only process objects with a matching worker-name label This works regardless of the underlying type Once https://github.com/kubernetes-sigs/controller-runtime/issues/244 is fixed we won't need this anymore

Types

This section is empty.

Jump to

Keyboard shortcuts

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