envvar

package
v0.0.0-...-9d8613e Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone(from []corev1.EnvVar) []corev1.EnvVar

Clone two sets into a new variable

func Combine

func Combine(setA []corev1.EnvVar, setB []corev1.EnvVar) []corev1.EnvVar

Combine two sets into a new variable

func Get

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

Get --

func Remove

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

Remove --

func SetVal

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

SetVal --

func SetValFrom

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

SetValFrom --

func SetValueFrom

func SetValueFrom(vars *[]corev1.EnvVar, name string, from *corev1.EnvVarSource)

SetValueFrom --

func SetVar

func SetVar(vars *[]corev1.EnvVar, newEnvVar corev1.EnvVar)

SetVar --

Types

This section is empty.

Jump to

Keyboard shortcuts

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