utils

package
v1.18.5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 13 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{})

func WaitTillAddonIsActive

func WaitTillAddonIsActive(eks services.EKS, addonName string, clusterName string) error

func WaitTillAddonIsDeleted

func WaitTillAddonIsDeleted(eks services.EKS, addonName string, clusterName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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