Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IsInGardenNamespacePredicate is a predicate which returns true when the provided object is in the 'garden' namespace. IsInGardenNamespacePredicate = predicate.NewPredicateFuncs(func(obj client.Object) bool { return obj != nil && obj.GetNamespace() == v1beta1constants.GardenNamespace }) )
Functions ¶
func DefaultControllerPredicates ¶ added in v1.39.0
func DefaultControllerPredicates(ignoreOperationAnnotation bool, preconditions ...predicate.Predicate) []predicate.Predicate
DefaultControllerPredicates returns the default predicates for extension controllers. If the operation annotation is ignored then the only returned predicate is the 'GenerationChangedPredicate'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.