# Functions
Base64StringDecode decode a base64 string.
CheckAndInstallCRD checks if deployable belongs to this cluster managed cluster annotation matches or no managed cluster annotation (local).
ConvertLabels coverts label selector to lables.Selector.
DetectClusterRegistry - Detect the ACM cluster API service every 10 seconds.
EnterFnString - called when enter a function.
ExitFuString - called when exiting a function.
No description provided by the author
No description provided by the author
GetFnName - get name of function.
GetManagedClusterNamespace return ACM secret namespace accoding to its secret name.
No description provided by the author
No description provided by the author
IsReadyACMClusterRegistry check if ACM Cluster API service is ready or not.
NewEventRecorder - create new event recorder from rect config.
PlaceByGenericPlacmentFields search with basic placement criteria Top priority: clusterNames, ignore selector Bottomline: Use label selector.
No description provided by the author
ValidateK8sLabel returns a valid k8s label string by enforcing k8s label values rules as below 1.
# Constants
#nosec G101.
#nosec G101.
#nosec G101.
NoiseLogLel - information inside "important functions".
QuiteLogLel - "important" information.
VeryNoisy = show call stack, routine and everything.
# Variables
AcmClusterSecretPredicateFunc defines predicate function for ACM cluster secrets watch.
No description provided by the author
No description provided by the author
ArgocdClusterSecretPredicateFunc defines predicate function for ArgoCD cluster secrets watch.
ArgocdServerPredicateFunc defines predicate function for cluster related watch.
ClusterPredicateFunc defines predicate function for cluster related watch, main purpose is to ignore heartbeat without change.
No description provided by the author
ManagedClusterSecretPredicateFunc defines predicate function for managed cluster secrets watch.
No description provided by the author
# Structs
EventRecorder - record kubernetes event.