test

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRDEventuallyExists

func CRDEventuallyExists(ctx context.Context, k8sClient client.Client, crdName string)

CRDEventuallyExists checks if a custom resource definition with the given name eventually exists.

func CRDEventuallyRemoved

func CRDEventuallyRemoved(ctx context.Context, k8sClient client.Client, crdName string)

CRDEventuallyRemoved checks if a custom resource definition has been eventually removed

func EventuallyContainFinalizer

func EventuallyContainFinalizer(
	ctx context.Context,
	k8sClient client.Client,
	obj client.Object,
	finalizer string,
)

EventuallyContainFinalizer retrieves and inspect the object to assert if the informed finalizer string is in the object.

func EventuallyExists

func EventuallyExists(ctx context.Context, k8sClient client.Client, obj client.Object)

EventuallyExists checks if an object with the given namespace+name and type eventually exists.

func EventuallyRemoved

func EventuallyRemoved(ctx context.Context, k8sClient client.Client, obj client.Object)

EventuallyRemoved checks if an object is eventually deleted

Types

This section is empty.

Jump to

Keyboard shortcuts

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