envvar

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WatchNamespaceEnv     = "WATCH_NAMESPACE"
	PodNameEnv            = "POD_NAME"
	OperatorNamespaceEnv  = "NAMESPACE"
	NamespaceEnv          = "YAKS_NAMESPACE"
	LoggersEnv            = "YAKS_LOGGERS"
	TestIDEnv             = "YAKS_TEST_ID"
	TestNameEnv           = "YAKS_TEST_NAME"
	TestPathEnv           = "YAKS_TESTS_PATH"
	TestStatusEnv         = "YAKS_TEST_STATUS"
	SecretsPathEnv        = "YAKS_SECRETS_PATH" //nolint: gosec
	SettingsFileEnv       = "YAKS_SETTINGS_FILE"
	ClusterTypeEnv        = "YAKS_CLUSTER_TYPE"
	TerminationLogEnv     = "YAKS_TERMINATION_LOG"
	RepositoriesEnv       = "YAKS_REPOSITORIES"
	PluginRepositoriesEnv = "YAKS_PLUGIN_REPOSITORIES"
	DependenciesEnv       = "YAKS_DEPENDENCIES"
)

Variables

This section is empty.

Functions

func Get

func Get(vars []corev1.EnvVar, name string) *corev1.EnvVar

Get --.

func GetOperatorNamespace added in v0.4.0

func GetOperatorNamespace() string

GetOperatorNamespace returns the Namespace the operator is installed.

func IsCurrentOperatorGlobal added in v0.20.0

func IsCurrentOperatorGlobal() bool

IsCurrentOperatorGlobal returns true if the operator is configured to watch all namespaces.

func SetVal

func SetVal(vars *[]corev1.EnvVar, name string, value string)

SetVal --.

func SetValFrom

func SetValFrom(vars *[]corev1.EnvVar, name string, path string)

SetValFrom --.

Types

This section is empty.

Jump to

Keyboard shortcuts

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