env

package
v1.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PodNamespace = "POD_NAMESPACE"
	PodName      = "POD_NAME"
)

Variables

This section is empty.

Functions

func AddOrUpdate

func AddOrUpdate(envVars []corev1.EnvVar, desiredEnvVar corev1.EnvVar) []corev1.EnvVar

func DefaultNamespace

func DefaultNamespace() string

func FindEnvVar

func FindEnvVar(envVars []corev1.EnvVar, name string) *corev1.EnvVar

func IsIn

func IsIn(envVars []corev1.EnvVar, envVarToCheck string) bool

func NewEnvVarSourceForField

func NewEnvVarSourceForField(fieldPath string) *corev1.EnvVarSource

Types

This section is empty.

Jump to

Keyboard shortcuts

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