# Packages
No description provided by the author
# Functions
AddManagedClusterFinalizer add a finalizer to a managed cluster.
ApplyResources apply resources, includes: serviceaccount, secret, deployment, clusterrole, clusterrolebinding, crdv1beta1, crdv1, manifestwork and klusterlet.
GenerateClientFromSecret generate a client from a given secret.
No description provided by the author
GetMaxConcurrentReconciles get the max concurrent reconciles from MAX_CONCURRENT_RECONCILES env, if the reconciles cannot be found, return 1.
No description provided by the author
ImportManagedClusterFromSecret use managed clustr client to import managed cluster from import-secret.
IsAPIExtensionV1Supported if the cluster can support the crdv1, return true.
ManifestsEqual if two manifests are equal, return true.
MustCreateAssetFromTemplate render a template with its configuration If it's failed, this function will panic.
MustCreateObjectFromTemplate render a template to a runtime object with its configuration If it's failed, this function will panic.
No description provided by the author
RemoveManagedClusterFinalizer remove a finalizer from a managed cluster.
SplitYamls split yamls with sperator `---`.
UpdateManagedClusterStatus update managed cluster status.
ValidateImportSecret validate managed cluster import secret.
# Constants
AnnotationNodeSelector key name of nodeSelector annotation synced from mch.
# Structs
No description provided by the author