Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterOrNamespaceWithImportLabel ¶
func ClusterOrNamespaceWithImportLabel(ctx context.Context, logger logr.Logger, cl client.Client, label string) predicate.Funcs
ClusterOrNamespaceWithImportLabel returns a predicate that returns true only if the provided resource is a cluster and has an import label set on it or on its namespace.
func ClusterWithReadyControlPlane ¶
ClusterWithReadyControlPlane returns a predicate that returns true only if the provided resource is a cluster with a ready control plane.
func ClusterWithoutImportedAnnotation ¶
ClusterWithoutImportedAnnotation returns a predicate that returns true only if the provided resource does not contain "clusterImportedAnnotation" annotation. When annotation is present on the resource, controller will skip reconciliation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.