utils

package
Version: v0.0.0-...-ec0134c Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEnvVarToDaemonSetAndWaitTillUpdated

func AddEnvVarToDaemonSetAndWaitTillUpdated(f *framework.Framework, dsName string, dsNamespace string,
	containerName string, envVars map[string]string)

func AddOrUpdateEnvironmentVariable

func AddOrUpdateEnvironmentVariable(containers []v1.Container, containerName string,
	envVars map[string]string) error

AddOrUpdateEnvironmentVariable adds or updates existing Environment variable to the specified container name

func GetInstanceIDFromNode

func GetInstanceIDFromNode(node v1.Node) string

func RemoveEnvironmentVariables

func RemoveEnvironmentVariables(containers []v1.Container, containerName string,
	envVars map[string]struct{}) error

RemoveEnvironmentVariables removes the environment variable from the specified container

func RemoveVarFromDaemonSetAndWaitTillUpdated

func RemoveVarFromDaemonSetAndWaitTillUpdated(f *framework.Framework, dsName string, dsNamespace string,
	containerName string, envVars map[string]struct{})

func UpdateEnvVarOnDaemonSetAndWaitUntilReady

func UpdateEnvVarOnDaemonSetAndWaitUntilReady(f *framework.Framework, dsName string, dsNamespace string,
	containerName string, addOrUpdateEnv map[string]string, removeEnv map[string]struct{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL