monitorednamespace

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// LabelNamespace key for label on a namespace to indicate that an operator is monitoring it.
	// Can be used as an ID, to keep operators in a cluster from intefering with each other.
	LabelNamespace = fmt.Sprintf("%s/monitored", names.GroupName)
)

Functions

func NewNSPredicate

func NewNSPredicate(ctx context.Context, client client.Client, id string) predicate.Funcs

NewNSPredicate returns a controller predicate to filter for namespaces with a label

Types

This section is empty.

Jump to

Keyboard shortcuts

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