Documentation
¶
Index ¶
- func DefaultPredicates[T metav1.Object]() predicate.TypedPredicate[T]
- func DeprecatedCommonPredicates() predicate.Funcs
- func GlobalResyncAwareGenerationChangePredicate[T metav1.Object]() predicate.TypedPredicate[T]
- func IgnoreDeletedPredicate[T metav1.Object]() predicate.TypedPredicate[T]
- func SelectNamespacesPredicate(namespaces []string) predicate.Funcs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPredicates ¶ added in v2.8.0
func DefaultPredicates[T metav1.Object]() predicate.TypedPredicate[T]
DefaultPredicates avoid spurious after deletion or finalizer changes handling
func DeprecatedCommonPredicates ¶ added in v2.8.0
DeprecatedCommonPredicates returns the predicate which filter out the changes done to any field except for spec (e.g. status) Also we should reconcile if finalizers have changed (see https://blog.openshift.com/kubernetes-operators-best-practices/) This will be phased out gradually to be replaced by DefaultPredicates
func GlobalResyncAwareGenerationChangePredicate ¶ added in v2.8.0
func GlobalResyncAwareGenerationChangePredicate[T metav1.Object]() predicate.TypedPredicate[T]
GlobalResyncAwareGenerationChangePredicate reconcile on unfrequent global resyncs or on spec generation changes, but ignore finalizer changes
func IgnoreDeletedPredicate ¶ added in v2.8.0
func IgnoreDeletedPredicate[T metav1.Object]() predicate.TypedPredicate[T]
IgnoreDeletedPredicate ignore after deletion handling, use unless some after deletion cleanup is needed
Types ¶
This section is empty.