test

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEnv

func NewEnv() *envtest.Environment

NewEnv creates a new envtest.Environment instance.

func StopWithRetry added in v1.8.0

func StopWithRetry(env interface{ Stop() error }, timeout, interval time.Duration) error

StopWithRetry wraps testEnv.Stop() with retry logic for graceful shutdown. This is useful for controller-runtime v0.23.0+ where direct calls to testEnv.Stop() can fail intermittently due to graceful shutdown timing.

Types

This section is empty.

Directories

Path Synopsis
e2e
Package utils provides helper functions for e2e tests, including feature gate detection and validation utilities.
Package utils provides helper functions for e2e tests, including feature gate detection and validation utilities.
regression
convert command
generate-manifests.go
generate-manifests.go

Jump to

Keyboard shortcuts

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