package events
import "k8s.io/kubernetes/test/e2e/framework/events"
Index ¶
- func WaitTimeoutForEvent(c clientset.Interface, namespace, eventSelector, msg string, timeout time.Duration) error
- type Action
Functions ¶
func WaitTimeoutForEvent ¶
func WaitTimeoutForEvent(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.24.5
- Published
- Sep 14, 2022
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 6 minutes ago –
Tools for package owners.