watch_predicates

package
v0.0.0-...-c3ec5e8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func And

func And(matches ...ObjectMatcher) *and

func MatchLabelsPredicate

func MatchLabelsPredicate(labels map[string]string) *matchLabelsPredicate

func NamespacePredicate

func NamespacePredicate(namespace *string) *namespacePredicate

Types

type ObjectMatcher

type ObjectMatcher interface {
	predicate.Predicate
	Matches(object metav1.Object) bool
}

Jump to

Keyboard shortcuts

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