constant

package
v1.23.5 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

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