expectations

package
v0.0.0-...-8bc1f72 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIServerPropagationTime  = 1 * time.Second
	ReconcilerPropagationTime = 10 * time.Second
	RequestInterval           = 1 * time.Second
)

Variables

This section is empty.

Functions

func ExpectCleanedUp

func ExpectCleanedUp(c client.Client)

func ExpectCreated

func ExpectCreated(c client.Client, objects ...client.Object)

func ExpectDeleted

func ExpectDeleted(c client.Client, objects ...client.Object)

func ExpectDeploymentExists

func ExpectDeploymentExists(c client.Client, name string, namespace string) *appsv1.Deployment

func ExpectNotFound

func ExpectNotFound(c client.Client, objects ...client.Object)

func ExpectReconcile

func ExpectReconcile(ctx context.Context, resource reconcile.Reconciler, key client.ObjectKey)

func ExpectSecretExists

func ExpectSecretExists(c client.Client, name string, namespace string) *v1.Secret

func ExpectServiceExists

func ExpectServiceExists(c client.Client, name string, namespace string) *v1.Service

func ExpectStatefulSetExists

func ExpectStatefulSetExists(c client.Client, name string, namespace string) *appsv1.StatefulSet

Types

This section is empty.

Jump to

Keyboard shortcuts

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