utils

package
v2.5.6 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HelloImage       = "networking-e2e-test-images/hello-multi:latest"
	ColortellerImage = "networking-e2e-test-images/colorteller:latest"
)
View Source
const (
	PollIntervalShort  = 2 * time.Second
	PollIntervalMedium = 10 * time.Second
	PollIntervalLong   = 30 * time.Second
	PollTimeoutShort   = 1 * time.Minute
	PollTimeoutMedium  = 5 * time.Minute
	PollTimeoutLong    = 15 * time.Minute

	// IngressReconcileTimeout is the timeout we expected the controller finishes reconcile for Ingresses.
	IngressReconcileTimeout = 1 * time.Minute
	// IngressDNSAvailableWaitTimeout is the timeout we expect the DNS records of ALB to be propagated.
	IngressDNSAvailableWaitTimeout = 3 * time.Minute
)

Variables

This section is empty.

Functions

func GetDeploymentImage

func GetDeploymentImage(registry string, image string) string

func NewGinkgoLogger

func NewGinkgoLogger() (logr.Logger, httpexpectv2.LoggerReporter)

NewGinkgoLogger returns new logger with ginkgo backend.

func RandomDNS1123Label

func RandomDNS1123Label(length int) string

RandomDNS1123Label generates a random DNS1123 compatible label with specified length

func WaitUntilDNSNameAvailable

func WaitUntilDNSNameAvailable(ctx context.Context, hostName string) error

WaitUntilDNSNameAvailable will wait until the DNSName is available

Types

type GinkgoLogger

type GinkgoLogger interface {
	httpexpectv2.LoggerReporter
}

type MultiError

type MultiError struct {
	// contains filtered or unexported fields
}

func NewMultiError

func NewMultiError(errs ...error) *MultiError

constructs new MultiError

func (*MultiError) Error

func (e *MultiError) Error() string

Jump to

Keyboard shortcuts

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