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.
Click to show internal directories.
Click to hide internal directories.