test

package
v0.15.25 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertFinalizers

func AssertFinalizers(client resource.Interface, name string, finalizers ...string)

func AwaitFinalizer

func AwaitFinalizer(client resource.Interface, name, finalizer string)

func AwaitNoFinalizer

func AwaitNoFinalizer(client resource.Interface, name, finalizer string)

func AwaitNoResource

func AwaitNoResource(client resource.Interface, name string)

func AwaitResource

func AwaitResource(client resource.Interface, name string) runtime.Object

func AwaitStatusCondition

func AwaitStatusCondition(expCond *metav1.Condition, get func() ([]metav1.Condition, error))

func AwaitUpdateAction

func AwaitUpdateAction(f *testing.Fake, resourceType, name string) runtime.Object

func EnsureActionsForResource

func EnsureActionsForResource(f *testing.Fake, resourceType string, expectedVerbs ...string)

func EnsureNoActionsForResource

func EnsureNoActionsForResource(f *testing.Fake, resourceType string, expectedVerbs ...string)

func EnsureNoResource

func EnsureNoResource(client resource.Interface, name string)

func GetFinalizers

func GetFinalizers(client resource.Interface, name string) []string

func GetOccurredActionVerbs

func GetOccurredActionVerbs(f *testing.Fake, resourceType string, expectedVerbs ...string) []string

func SetDeleting

func SetDeleting(client resource.Interface, name string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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