utils

package
Version: v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PollIntervalShort  = 2 * time.Second
	PollIntervalMedium = 10 * time.Second
	PollIntervalLong   = 20 * time.Second
	// ResourceCreationTimeout is the number of seconds till the controller waits
	// for the resource creation to complete
	ResourceCreationTimeout = 120 * time.Second
	// Windows Container Images are much larger in size and pulling them the first
	// time takes much longer, so have higher timeout for Windows Pod to be Ready
	WindowsPodsCreationTimeout = 240 * time.Second
)
View Source
const (
	ResourceNamePrefix = "vpc-resource-controller-integration-"
)

Variables

This section is empty.

Functions

func NamespacedName

func NamespacedName(obj metav1.Object) types.NamespacedName

NamespacedName returns the namespaced name for k8s objects

Types

This section is empty.

Jump to

Keyboard shortcuts

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