utils

package
v0.0.0-...-506879c Latest Latest
Warning

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

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

Documentation

Index

Constants

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
)
View Source
const (
	ColortellerImage = "public.ecr.aws/l6m2t8p7/colorteller:latest"
)

Variables

This section is empty.

Functions

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