predicates

package
v0.0.0-...-9331f55 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package predicates implements add predicate functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddonSecret

func AddonSecret(log logr.Logger) predicate.Funcs

AddonSecret returns predicate funcs for addon secret

func BomConfigMap

func BomConfigMap(log logr.Logger) predicate.Funcs

BomConfigMap returns a predicate.Predicate that filters configmap that holds bom

func ClusterHasLabel

func ClusterHasLabel(label string, logger logr.Logger) predicate.Funcs

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

func KubeadmControlPlane(log logr.Logger) predicate.Funcs

KubeadmControlPlane returns a predicate.Predicate that detects kubeadm control plane version changes i.e. upgrade of a cluster

func TKR

func TKR(log logr.Logger) predicate.Funcs

TKR returns a predicate.Predicate that filters tkr

Types

This section is empty.

Jump to

Keyboard shortcuts

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