utils

package
v1.12.5 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTestNamespace = "cni-automation"
	AwsNodeNamespace     = "kube-system"
	AwsNodeName          = "aws-node"
	AWSInitContainerName = "aws-vpc-cni-init"
	MultusNodeName       = "kube-multus-ds"
	MultusContainerName  = "kube-multus"

	// See https://gallery.ecr.aws/r3i6j7b0/aws-vpc-cni-test-helper
	TestAgentImage = "public.ecr.aws/r3i6j7b0/aws-vpc-cni-test-helper:9467fa3e"

	PollIntervalShort  = time.Second * 2
	PollIntervalMedium = time.Second * 5
	PollIntervalLong   = time.Second * 20

	DefaultDeploymentReadyTimeout = time.Second * 300
)

Variables

This section is empty.

Functions

func GetEnvValueForKeyFromDaemonSet

func GetEnvValueForKeyFromDaemonSet(key string, ds *appsV1.DaemonSet) string

func NamespacedName

func NamespacedName(obj v1.Object) types.NamespacedName

NamespacedName returns the namespaced name for k8s objects

func NewGinkgoLogger

func NewGinkgoLogger() logr.Logger

NewGinkgoLogger returns new logger with ginkgo backend.

Types

This section is empty.

Jump to

Keyboard shortcuts

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