Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRequestTimeout is an error returned when the Wait method timeouts. ErrRequestTimeout = wait.ErrWaitTimeout )
Functions ¶
This section is empty.
Types ¶
type Waiter ¶
type Waiter interface { // Wait runs a new thread for at least `timeout` duration, repeated by every `frequency` cycles. Wait(timeout time.Duration, frequency time.Duration) error }
Waiter is used to wait for kubernetes nodes and pods to be in a certain state.
func NewWaitRequest ¶
NewWaitRequest creates a new Waiter implementation.
Click to show internal directories.
Click to hide internal directories.