Categorygithub.com/stolostron/multicluster-observability-operatoroperatorsmulticlusterobservabilitypkgconfig
# Functions
checkIsIBMCloud detects if the current cloud vendor is ibm or not we know we are on OCP already, so if it's also ibm cloud, it's roks.
CheckObjStorageConf is used to check/valid the object storage configurations.
CleanUpOperandNames delete all the operand name items Should be called when the MCO CR is deleted.
GetAlertmanagerCA is used to get the CA of Alertmanager.
GetAlertmanagerEndpoint is used to get the URL for alertmanager.
GetAlertmanagerRouterCA is used to get the CA of openshift Route.
No description provided by the author
GetClusterID is used to get the cluster uid.
GetClusterNameLabelKey returns the key for the injected label.
GetCrLabelKey returns the key for the CR label injected into the resources created by the operator.
GetDefaultCRName is used to get default CR name.
No description provided by the author
GetDefaultTenantName returns the default tenant name.
No description provided by the author
GetImageManifests...
No description provided by the author
No description provided by the author
GetKubeAPIServerAddress is used to get the api server url.
No description provided by the author
GetMonitoringCRName returns monitoring cr name.
GetMulticloudConsoleHost is used to get the URL for multicloud-console route.
No description provided by the author
GetObsAPIHost is used to get the URL for observartium api gateway.
GetObsAPISvc returns observatorium api service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTenantUID returns tenant uid.
GetValidatingWebhookConfigurationForMCO return the ValidatingWebhookConfiguration for the MCO validaing webhook.
HasCustomRuleConfigMap returns true if there is custom rule configmap.
IsPaused returns true if the multiclusterobservability instance is labeled as paused, and false otherwise.
IsValidAzureConf is used to validate azure configuration.
IsValidGCSConf is used to validate GCS configuration.
IsValidS3Conf is used to validate s3 configuration.
ReadImageManifestConfigMap reads configmap with the label ocm-configmap-type=image-manifest.
ReplaceImage is used to replace the image with specified annotation or imagemanifest configmap.
No description provided by the author
SetCustomRuleConfigMap set true if there is custom rule configmap.
SetImageManifests sets imageManifests.
SetMonitoringCRName sets the cr name.
No description provided by the author
WithoutResourcesRequests returns true if the multiclusterobservability instance has annotation: mco-thanos-without-resources-requests: "true" This is just for test purpose: the KinD cluster does not have enough resources for the requests.
# Constants
No description provided by the author
No description provided by the author
#nosec */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ThanosReceiveControllerKey is used to get from mch-image-manifest.xxx configmap.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Config is for s3/azure/gcs compatiable configuration.
HTTPConfig stores the http.Transport configuration for the s3 minio client.
ObjectStorgeConf is used to Unmarshal from bytes to do validation.
TLSConfig configures the options for TLS connections.