Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadManifests ¶ added in v1.11.0
func LoadManifests(kind string) ([]*unstructured.Unstructured, error)
LoadManifests reads a multi-document YAML file (e.g. a rendered Helm manifest) and returns all resources matching the given kind. This allows tests to load ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding resources from the same manifests used in production rather than hardcoding them.
func StopWithRetry ¶ added in v1.8.0
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 |
Click to show internal directories.
Click to hide internal directories.