Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldAutoImport ¶
func ShouldAutoImport(ctx context.Context, logger logr.Logger, cl client.Client, capiCluster *clusterv1.Cluster, label string) (bool, error)
ShouldAutoImport checks if the namespace or cluster has the label set to true.
func ShouldImport ¶
func ShouldImport(obj metav1.Object, label string) (hasLabel bool, labelValue bool)
ShouldImport checks if the object has the label set to true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.