testcommon

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForCondition

func WaitForCondition[O client.Object](c client.Client, ctx context.Context, of O, getter func(O) v2.Conditions, t v2.ConditionType, s v2.ConditionStatus, timeout time.Duration) *v2.Condition

func WaitForResourceAmount

func WaitForResourceAmount[O client.Object, L client.ObjectList](c client.Client, ctx context.Context, namespace string, amount int, list L, getter func(L) []O, timeout time.Duration) O

waitForResourceAmount waits for the given amount of resources and returns the newest one

Types

This section is empty.

Jump to

Keyboard shortcuts

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