test

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 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
internal
registry
Package registry provides functions to deploy an OCI image registry in a Kubernetes cluster for e2e testing.
Package registry provides functions to deploy an OCI image registry in a Kubernetes cluster for e2e testing.
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