env

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// IMAGE_PULL_SECRETS_ENV is the environment variable used to pass the image pull secrets
	IMAGE_PULL_SECRETS_ENV = "OPENEBS_IO_IMAGE_PULL_SECRETS"

	// WATCH_NAMESPACE is the namespace to watch for resources
	WATCH_NAMESPACE_ENV = "WATCH_NAMESPACE"
)

Variables

This section is empty.

Functions

func GetOpenEBSImagePullSecrets added in v1.1.0

func GetOpenEBSImagePullSecrets() []v1.LocalObjectReference

GetOpenEBSImagePullSecrets is used to get the image pull secrets from the environment variable

func GetWatchNamespace added in v1.6.0

func GetWatchNamespace() (string, error)

GetWatchNamespace gets the namespace to watch for resources

Types

This section is empty.

Jump to

Keyboard shortcuts

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