package
2.5.0-ACM+incompatible
Repository: https://github.com/stolostron/multiclusterhub-operator.git
Documentation: pkg.go.dev

# Functions

BrickCLC modifies the multiclusterhub-repo deployment so it becomes unhealthy.
BrickMCHRepo modifies the multiclusterhub-repo deployment so it becomes unhealthy.
CoffeeBreak ...
CreateBareMetalAssetsCR ...
No description provided by the author
CreateDiscoveryConfig ...
CreateMCHImageOverridesAnnotation ...
CreateMCHNotManaged ...
CreateMCHTolerations ...
CreateMultiClusterEngineCR ...
CreateMultiClusterEngineCRD ...
CreateNewConfigMap ...
CreateNewUnstructured creates resources by using gvr & obj, will get object after create.
CreateObservabilityCR ...
CreateObservabilityCRD ...
DeleteBareMetalAssetsCR ...
DeleteConfigMapIfExists ...
DeleteDiscoveryConfig ...
DeleteIfExists deletes resources by using gvr, name, and namespace.
DeleteMCHRepo deletes the multiclusterhub-repo deployment.
DeleteMultiClusterEngineCR ...
DeleteMultiClusterEngineCRD ...
DeleteObservabilityCR ...
DeleteObservabilityCRD ...
FindCondition reports whether a hub condition of type 't' exists and matches the status 's'.
FiCLC deletes the multiclusterhub-repo deployment so it can be recreated by the installer.
FixMCHRepo deletes the multiclusterhub-repo deployment so it can be recreated by the installer.
GetCurrentVersionFromMCH ...
GetDeploymentLabels returns the labels on deployment d.
GetInstallPlanNameFromSub ...
GetMCHStatus gets the mch object and parses its status.
GetSubscriptionSpec Returns Install Plan Mode.
GetWaitInMinutes...
IsMCHSelfManaged returns the opposite of `spec.disableHubSelfManagement`.
IsOwner checks if obj is owned by owner, obj can either be unstructured or ObjectMeta.
LoadConfig loads kubeconfig.
MarkInstallPlanAsApproved ...
NewImageOverridesConfigmapBadImageRef ...
NewKubeClient returns a kube client.
NewKubeClientDynamic returns a dynamic kube client.
NewMCHTolerations ...
NewMultiClusterHub ...
NewOCMSubscription ...
No description provided by the author
ShouldSkipSubscription skips subscription operations if set as true.
No description provided by the author
ToggleDisableHubSelfManagement toggles the value of spec.disableHubSelfManagement from true to false or false to true.
ToggleDisableUpdateClusterImageSets toggles the value of spec.disableUpdateClusterImageSets from true to false or false to true.
No description provided by the author
No description provided by the author
UpdateAnnotations.
UpdateDeploymentImage updates the deployment image.
ValidateClusterImageSetsSubscriptionPause validates that the console-chart-sub created ClusterImageSets subscription is either subscription-pause true or false.
ValidateComponentStatusExist check if Component statuses exist immediately when MCH is created.
ValidateConditionDuringUninstall check if condition is terminating during uninstall of MCH.
ValidateDelete ...
No description provided by the author
ValidateHubStatusExist checks if hub statuses exist immediately when MCH is created.
ValidateImportHubResourcesExist confirms the existence of 3 resources that are created when importing hub as managed cluster.
ValidateManagedCluster ...
No description provided by the author
ValidateMCH validates MCH CR is running successfully.
ValidateMCHDegraded validates the install operator responds appropriately when the install components go into a degraded state after a successful install.
ValidateMCHStatusExist check if mch status exists.
ValidateMCHTolerations ...
ValidateMCHUnsuccessful ...
ValidatePhase returns error if MCH phase does not match the provided phase.
ValidateStatusesExist Confirms existence of both overall MCH and Component statuses immediately after MCH creation.

# Variables

AppMap ...
AppSubName console-chart-sub where clusterset pause is set.
AppSubSlice ...
CSVName ...
DefaultImagePullSecretName ...
DefaultImageRegistry ...
DisableHubSelfManagementString ...
DynamicKubeClient ...
GVRAppSub ...
GVRBareMetalAsset.
GVRClusterManager ...
GVRClusterVersion.
GVRConsole.
GVRCSV ...
GVRCustomResourceDefinition ...
GVRDeployment ...
GVRDiscoveryConfig.
GVRHelmRelease ...
GVRHiveConfig ...
GVRInstallPlan ...
GVRKlusterletAddonConfig.
GVRManagedCluster.
GVRMultiClusterEngine ...
GVRMultiClusterHub ...
GVRNamespace ...
GVRObservability ...
GVROperatorGroup ...
GVRSub ...
HiveConfigName ...
ImageOverridesCMBadImageName ...
KubeClient ...
MCHName ...
MCHNamespace ...
MCHOperatorName ...
MCHPullSecretName ...
MCHRepoName ...
OCMSubscriptionName ...
SubList contains the list of subscriptions to delete.
WaitInMinutesDefault ...