Documentation ¶
Overview ¶
Package predicates implements add predicate functionality.
Index ¶
- func AddonSecret(log logr.Logger) predicate.Funcs
- func BomConfigMap(log logr.Logger) predicate.Funcs
- func ClusterHasLabel(label string, logger logr.Logger) predicate.Funcs
- func ConfigOfKindWithoutAnnotation(annotation, configKind, namespace string, logger logr.Logger) predicate.Funcs
- func KubeadmControlPlane(log logr.Logger) predicate.Funcs
- func TKR(log logr.Logger) predicate.Funcs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddonSecret ¶
AddonSecret returns predicate funcs for addon secret
func BomConfigMap ¶
BomConfigMap returns a predicate.Predicate that filters configmap that holds bom
func ClusterHasLabel ¶
ClusterHasLabel checks if the cluster has the given label
func ConfigOfKindWithoutAnnotation ¶
func ConfigOfKindWithoutAnnotation(annotation, configKind, namespace string, logger logr.Logger) predicate.Funcs
ConfigOfKindWithoutAnnotation checks if the config is of the given Kind and does not have the given annotation
func KubeadmControlPlane ¶
KubeadmControlPlane returns a predicate.Predicate that detects kubeadm control plane version changes i.e. upgrade of a cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.