Documentation ¶
Index ¶
Constants ¶
View Source
const ( //ClusterOperatorNamespace is the namespace of cluster operators ClusterOperatorNamespace string = "openshift-operators" //NotUninstallLabel is the label used to prevent subscription/CR from uninstall NotUninstallLabel string = "operator.ibm.com/opreq-do-not-uninstall" //OpreqLabel is the label used to label the subscription/CR managed by ODLM OpreqLabel string = "operator.ibm.com/opreq-control" //OpbiNsLabel is the label used to add OperandBindInfo namespace to the secrets/configmaps watched by ODLM OpbiNsLabel string = "operator.ibm.com/watched-by-opbi-with-namespace" //OpbiNameLabel is the label used to add OperandBindInfo name to the secrets/configmaps watched by ODLM OpbiNameLabel string = "operator.ibm.com/watched-by-opbi-with-name" //OpbiTypeLabel is the label used to label if secrets/configmaps are "original" or "copy" OpbiTypeLabel string = "operator.ibm.com/managedBy-opbi" //BindInfoRefreshLabel is the label used to label if secrets/configmaps are "original" or "copy" BindInfoRefreshLabel string = "operator.ibm.com/bindinfoRefresh" //NamespaceScopeCrName is the name use to get NamespaceScopeCrName instance NamespaceScopeCrName string = "nss-managedby-odlm" //OdlmScopeNssCrName is the name use to get OdlmScopeNssCrName instance OdlmScopeNssCrName string = "odlm-scope-managedby-odlm" //FindOperandRegistry is the key for checking if the OperandRegistry is found FindOperandRegistry string = "operator.ibm.com/operandregistry-is-not-found" //HashedData is the key for checking the checksum of data section HashedData string = "hashedData" //DefaultRequestTimeout is the default timeout for kube request DefaultRequestTimeout = 5 * time.Second //DefaultRequeueDuration is the default requeue time duration for request DefaultRequeueDuration = 20 * time.Second //DefaultSyncPeriod is the frequency at which watched resources are reconciled DefaultSyncPeriod = 3 * time.Hour //DefaultCRFetchTimeout is the default timeout for getting a custom resource DefaultCRFetchTimeout = 250 * time.Millisecond //DefaultCRFetchPeriod is the default retry Period for getting a custom resource DefaultCRFetchPeriod = 5 * time.Second //DefaultCRDeleteTimeout is the default timeout for deleting a custom resource DefaultCRDeleteTimeout = 5 * time.Minute //DefaultCRDeletePeriod is the default retry Period for deleting a custom resource DefaultCRDeletePeriod = 20 * time.Second //DefaultSubDeleteTimeout is the default timeout for deleting a subscription DefaultSubDeleteTimeout = 10 * time.Minute //DefaultCSVWaitPeriod is the default period for wait CSV ready DefaultCSVWaitPeriod = 1 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.