predicate

package
v1.48.3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvalGeneric

func EvalGeneric(obj client.Object, predicates ...predicate.Predicate) bool

EvalGeneric returns true if all predicates match for the given object.

func IsDeleting

func IsDeleting() predicate.Predicate

IsDeleting is a predicate for objects having a deletion timestamp.

func Not

Not inverts the passed predicate.

func Or added in v1.39.0

func Or(predicates ...predicate.Predicate) predicate.Predicate

Or returns a composite predicate that implements a logical OR of the predicates passed to it. TODO: This is a copy of "sigs.k8s.io/controller-runtime/pkg/predicate.Or" with the addition of the InjectFunc.

Delete this code once the upstream library supports the InjectFunc as well.

func ShootIsUnassigned

func ShootIsUnassigned() predicate.Predicate

ShootIsUnassigned is a predicate that returns true if a shoot is not assigned to a seed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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