workerlabel

package
v2.14.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 8 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 wont 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