# Packages

No description provided by the author

# Functions

No description provided by the author
AllowApplyTemplate check if the template is allowed to apply based on its hosting subscription pause label return false if the hosting subscription is paused.
No description provided by the author
No description provided by the author
CloneGitRepo clones a GitHub repository.
CompareManifestWork compare two manifestWorks and return true if they are equal.
ConvertLabels coverts label selector to lables.Selector.
No description provided by the author
Create PropagatioFailed result in cluster appsubReport in the managed cluster namespace.
No description provided by the author
No description provided by the author
DeleteHelmReleaseCRD deletes the HelmRelease CRD.
No description provided by the author
DeleteSubscriptionCRD deletes the Subscription CRD.
DetectPlacementDecision - Detect the Placement Decision API every 10 seconds.
EnterFnString - called when enter a function.
ExitFuString - called when exiting a function.
FetchChannelReferences best-effort to return the channel secret and configmap if they exist.
FilterCharts filters the indexFile by name, version, digest.
the input object shouldn't be changed at all.
GenerateHelmIndexFile generate helm repo index file.
No description provided by the author
GetAllowDenyLists returns subscription's allow and deny lists as maps.
GetDataFromChannelConfigMap returns username and password for channel.
GetChannelSecret returns username and password for channel.
GetCheckSum generates a checksum of a kube config file.
No description provided by the author
No description provided by the author
GetFnName - get name of function.
GetHostSubscriptionFromObject extract the namespacedname of subscription hosting the object resource.
GetKubeIgnore get .kubernetesignore list.
No description provided by the author
GetLocalGitFolder returns the local Git repo clone directory.
No description provided by the author
GetPauseLabel check if the subscription-pause label exists.
GetReconcileInterval determines reconcile loop interval based on reconcileRate setting.
GetReconcileRate determines reconcile rate based on channel annotations.
GetReleaseName alters the given name in a deterministic way if the length exceed the maximum character.
GetSubscriptionBranch returns GitHub repo branch for a given subscription.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsGitChannel returns true if channel type is github or git.
IsHostingAppsub return true if contains hosting annotation.
IsHub determines the hub cluster by listing multiclusterhubs resource items.
No description provided by the author
IsInWindow returns true if the give time is within a timewindow.
IsReadyManagedClusterView check if managed cluster view API is ready or not.
IsReadyPlacementDecision check if Placement Decision API is ready or not.
IsReadySubscription check if Subscription API is ready or not.
IsResourceAllowed checks if the resource is on application subscription's allow list.
IsResourceDenied checks if the resource is on application subscription's deny list.
No description provided by the author
No description provided by the author
No description provided by the author
IsURL return true if string is a valid URL.
KeywordsChecker Checks if the helm chart has at least 1 keyword from the packageFilter.Keywords array.
No description provided by the author
No description provided by the author
LabelsChecker checks labels against a labelSelector.
ListAndDeployReferredObject handles the create/update reconciler request the idea is, first it will try to get the referred secret from the subscription namespace if it can't find it, //it could be it's a brand new secret request or it's trying to use a differenet one.
No description provided by the author
No description provided by the author
NewEventRecorder - create new event recorder from rect config.
NextStartPoint will map the container's time to the location time specified by user then it will handle the window type as will the hour ange and daysofweek for hour range and daysofweek, it will handle as the following if hour range is empty and weekday is empty then retrun 0 if hour range is empty and weekday is not then return nextday durtion(here the window type will be considered again).
NextStatusReconcile generate a duartion for the reconcile to requeue after.
No description provided by the author
No description provided by the author
OverrideResourceBySubscription alter the given template with overrides.
OverrideTemplate alter the given template with overrides.
ParseAPIVersion return group and version from a given apiVersion string.
No description provided by the author
ParseKubeResoures parses a YAML content and returns kube resources in byte array from the file.
ParseNamespacedName return namespace and name from a given "namespace/name" string.
No description provided by the author
No description provided by the author
PrepareOverrides returns the overridemap for given subscription instance.
RemoveSubAnnotations removes RHACM specific annotations from subscription.
RemoveSubOwnerRef removes RHACM specific owner reference from subscription.
RunKustomizeBuild runs kustomize build and returns the build output.
SetInClusterPackageStatus creates status strcuture and fill status.
No description provided by the author
No description provided by the author
SortResources sorts kube resources into different arrays for processing them later.
UnifyTimeZone convert a given time to the timewindow time zone, if the time window doesn't sepcifiy a time zone, then the running machine's time zone will be used.
No description provided by the author
No description provided by the author
ValidateK8sLabel returns a valid k8s label string by enforcing k8s label values rules as below 1.
No description provided by the author

# Constants

AccessToken is key of GitHub user password or personal token in secret.
ClientCert is a client certificate for connecting to a Git server.
ClientKey is a client private key for connecting to a Git server.
No description provided by the author
MIDNIGHT define the midnight format.
NoiseLogLel - information inside "important functions".
Passphrase is used to open the SSH key.
QuiteLogLel - "important" information.
SSHKey is use to connect to the channel via SSH.
UserID is key of GitHub user ID in secret.
VeryNoisy = show call stack, routine and everything.

# Variables

No description provided by the author
ChannelPredicateFunctions filters channel spec update.
No description provided by the author
PlacementDecisionPredicateFunctions filters PlacementDecision status decisions update.
No description provided by the author
SercertReferredMarker is used as a label key to filter out the secert coming from reference.
ServiceAccountPredicateFunctions watches for App Addon SA changes.
No description provided by the author
SubscriptionPredicateFunctions filters status update.

# Structs

No description provided by the author
EventRecorder - record kubernetes event.
No description provided by the author
KKubeResource export the kuKubeResource for other package.

# Type aliases

No description provided by the author
No description provided by the author