eventually

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertMatchingKongPluginBindings added in v2.3.0

func AssertMatchingKongPluginBindings(
	t *testing.T,
	ctx context.Context,
	cl client.Client,
	matchingFields client.MatchingFields,
	waitTime time.Duration,
	tickTime time.Duration,
	assertions func(*assert.CollectT, []configurationv1alpha1.KongPluginBinding),
	msgAndArgs ...any,
) bool

AssertMatchingKongPluginBindings lists KongPluginBindings matching the provided fields until the supplied assertions pass.

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.

Jump to

Keyboard shortcuts

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