Documentation
¶
Index ¶
- Constants
- func ExpectApplied(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectCleanedUp(ctx context.Context, c client.Client, objectLists ...client.ObjectList)
- func ExpectDeleted(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectDeletionTimestampSet(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectForceCleanedUp(ctx context.Context, c client.Client, objectLists ...client.ObjectList)
- func ExpectNotFound(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectNotRequeued(result reconcile.Result)
- func ExpectObject[T client.Object](ctx context.Context, c client.Client, obj T) types.Assertion
- func ExpectObjectReconcileFailed[T client.Object](ctx context.Context, c client.Client, reconciler reconcile.ObjectReconciler[T], ...) types.Assertion
- func ExpectObjectReconciled[T client.Object](ctx context.Context, c client.Client, reconciler reconcile.ObjectReconciler[T], ...) types.Assertion
- func ExpectReconciled(ctx context.Context, reconciler reconcile.Reconciler, object client.Object) reconcile.Resultdeprecated
- func ExpectRequeued(result reconcile.Result)
- func ExpectSingletonReconcileFailed(ctx context.Context, reconciler singleton.Reconciler) error
- func ExpectSingletonReconciled(ctx context.Context, reconciler singleton.Reconciler) reconcile.Result
- func ExpectStatusConditions(ctx context.Context, c client.Client, timeout time.Duration, obj status.Object, ...)
- func ExpectStatusUpdated(ctx context.Context, c client.Client, objects ...client.Object)
- func GetMetric(name string, labels ...map[string]string) *prometheus.Metric
Constants ¶
View Source
const ( SlowTimeout = 100 * time.Second SlowPolling = 10 * time.Second FastTimeout = 1 * time.Second FastPolling = 10 * time.Millisecond )
Variables ¶
This section is empty.
Functions ¶
func ExpectApplied ¶
func ExpectCleanedUp ¶
ExpectCleanedUp waits to cleanup all items passed through objectLists
func ExpectDeleted ¶
func ExpectDeletionTimestampSet ¶
ExpectDeletionTimestampSet ensures that the deletion timestamp is set on the objects by adding a finalizer and then deleting the object immediately after. This will hold the object until the finalizer is patched out
func ExpectForceCleanedUp ¶
ExpectForceCleanedUp waits to cleanup all items passed through objectLists It forcefully removes any finalizers from all of these objects to unblock delete
func ExpectNotFound ¶
func ExpectNotRequeued ¶
func ExpectObject ¶
func ExpectObjectReconciled ¶
func ExpectReconciled
deprecated
func ExpectRequeued ¶
func ExpectSingletonReconcileFailed ¶
func ExpectSingletonReconcileFailed(ctx context.Context, reconciler singleton.Reconciler) error
func ExpectStatusConditions ¶
func ExpectStatusUpdated ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.