Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoNamespace = fmt.Errorf("namespace not found for current environment")
ErrNoNamespace indicates that a namespace could not be found for the current environment
View Source
var ErrRunLocal = fmt.Errorf("operator run mode forced to local")
ErrRunLocal indicates that the operator is set to run in local mode (this error is returned by functions that only work on operators running in cluster mode)
View Source
var ForceRunModeEnv = "OSDK_FORCE_RUN_MODE"
Functions ¶
func ContainsString ¶
func GetOperatorNamespace ¶ added in v1.6.0
GetOperatorNamespace returns the namespace the operator should be running in.
func RemoveString ¶
func StringToBool ¶ added in v1.0.0
Types ¶
type RunModeType ¶ added in v1.6.0
type RunModeType string
const ( LocalRunMode RunModeType = "local" ClusterRunMode RunModeType = "cluster" )
Click to show internal directories.
Click to hide internal directories.