test

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 13 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

func ParseBuildStrategyNames added in v0.13.0

func ParseBuildStrategyNames() ([]string, error)

ParseBuildStrategyNames returns a list of object names from the embedded build strategy manifests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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