Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KonnectEntityGetsProgrammed ¶ added in v2.1.1
func KonnectEntityGetsProgrammed[ T constraints.SupportedKonnectEntityType, TEnt constraints.EntityType[T], ]( t *testing.T, ctx context.Context, cl client.Client, obj TEnt, asserts ...func(t *assert.CollectT, obj TEnt), ) TEnt
KonnectEntityGetsProgrammed waits until the given Konnect entity gets programmed in Konnect. Additional assertions can be provided via the asserts parameter. When all assertions pass, the latest version of the object is returned.
func WaitForObjectToNotExist ¶
func WaitForObjectToNotExist( t *testing.T, ctx context.Context, cl client.Client, obj client.Object, waitTime time.Duration, tickTime time.Duration, msg ...string, ) bool
WaitForObjectToNotExist waits for the given object to be deleted from the cluster. It returns true if the object no longer exists, false otherwise. This function accepts an optional message that will be printed in the error message if the object still exists after the wait time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.