testing

package
v0.0.0-...-bb3100e Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package testing provides shared test helpers for the Dynamo operator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Eventually

func Eventually(
	t testing.TB,
	condition func() (success bool, reason string),
	waitFor time.Duration,
	tick time.Duration,
	msgAndArgs ...any,
)

Eventually requires condition to succeed within waitFor. It logs distinct failure reasons after 20 percent of waitFor has elapsed.

Types

This section is empty.

Directories

Path Synopsis
Package clusterenv supports controller tests against a real Kubernetes cluster.
Package clusterenv supports controller tests against a real Kubernetes cluster.
Package golden matches namespaced Kubernetes manifests against YAML contracts.
Package golden matches namespaced Kubernetes manifests against YAML contracts.
mocks
grove
Package grove provides the temporary Grove admission integration used by cluster-backed operator tests.
Package grove provides the temporary Grove admission integration used by cluster-backed operator tests.
lws
Package lws installs LeaderWorkerSet admission for cluster-backed operator tests without running the LeaderWorkerSet controllers.
Package lws installs LeaderWorkerSet admission for cluster-backed operator tests without running the LeaderWorkerSet controllers.
Package operatorchart renders selected templates from the production operator Helm chart.
Package operatorchart renders selected templates from the production operator Helm chart.
Package webhookconfig provides admission registrations for test environments.
Package webhookconfig provides admission registrations for test environments.

Jump to

Keyboard shortcuts

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