# Functions
CheckAndInstallCRD checks if deployable belongs to this cluster managed cluster annotation matches or no managed cluster annotation (local).
CompareDeployable compare two deployables and return true if they are equal.
ContainsName check whether the namespacedName array a contains string x.
ConvertLabels coverts label selector to lables.Selector.
EnterFnString - called when enter a function.
ExitFuString - called when exiting a function.
GenerateOverrides compare 2 deployable and generate array for overrides.
GetClusterFromResourceObject return nil if no host is found.
GetFnName - get name of function.
GetHostDeployableFromObject return nil if no host is found.
GetPauseLabel check if the subscription-pause label exists.
GetUnstructuredTemplateFromDeployable return error if needed.
No description provided by the author
IsDependencyDeployable return true the deploable is dependent depolyable.
NewEventRecorder - create new event recorder from rect config.
OverrideTemplate alter the given template with overrides.
PrepareInstance prepares the deployable instane for later actions.
PrepareOverrides returns the overridemap for given deployable instance.
PrintPropagatedStatus output Propagated Status for each cluster.
SetPauseLabelDplSubTpl set the subscription-pause label to a deployable containing a subscription template.
UpdateDeployableStatus based on error message, and propagate resource status - nil: success - others: failed, with error message in reason.
# Constants
NoiseLogLel - information inside "important functions".
QuiteLogLel - "important" information.
VeryNoisy = show call stack, routine and everything.
# Variables
DeployablePredicateFunc defines predicate function for deployable watch in deployable controller.
# Structs
EventRecorder - record kubernetes event.