kubernetesk8s.io/kubernetes/test/e2e/framework/events Index | Files

package events

import "k8s.io/kubernetes/test/e2e/framework/events"

Index

Functions

func WaitTimeoutForEvent

func WaitTimeoutForEvent(ctx context.Context, c clientset.Interface, namespace, eventSelector, msg string, timeout time.Duration) error

WaitTimeoutForEvent waits the given timeout duration for an event to occur. Please note delivery of events is not guaranteed. Asserting on events can lead to flaky tests.

Types

type Action

type Action func() error

Action is a function to be performed by the system.

Source Files

events.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
3 hours ago

Tools for package owners.