utils

package
v1.12.7 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPv6 string = "ipv6"
	IPv4 string = "ipv4"
)
View Source
const (
	PollIntervalShort  = 5 * time.Second
	PollIntervalMedium = 15 * time.Second
	PollRetries        = 10

	AWSPollIntervalShort  = 5 * time.Second
	AWSPollIntervalMedium = 15 * time.Second
)

Variables

This section is empty.

Functions

func NewGinkgoLogger

func NewGinkgoLogger() *zap.Logger

NewGinkgoLogger returns new zap logger with ginkgo/v2 backend.

func RandomDNS1123Label

func RandomDNS1123Label(length int) string

RandomDNS1123Label generates a random DNS1123 compatible label with specified length

func RandomDNS1123LabelWithPrefix added in v1.5.1

func RandomDNS1123LabelWithPrefix(prefix string) string

func ReadFileContents added in v1.2.0

func ReadFileContents(filePath string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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