object

package
v2.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAndWaitForDeletionFn

func DeleteAndWaitForDeletionFn(ctx context.Context, t *testing.T, cl client.Client, obj client.Object) func()

DeleteAndWaitForDeletionFn returns a function that deletes the given object and waits for it to be gone. It's designed to be used with t.Cleanup() to ensure the object is properly deleted (it's not stuck with finalizers, etc.).

Types

This section is empty.

Jump to

Keyboard shortcuts

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