constant

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

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"

	//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"

	//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
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL