test

package
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupAndWait

func CleanupAndWait(ctx context.Context, cl client.Client, objs ...client.Object) error

CleanupAndWait deletes all the given objects and waits for the cache to be updated accordingly.

func StartEnvTest

func StartEnvTest(testEnv *envtest.Environment) (*rest.Config, client.Client, error)

StartEnvTest starts a new test environment.

func StopEnvTest

func StopEnvTest(testEnv *envtest.Environment) error

StopEnvTest stops the test environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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