package
1.2.0-alpha.8
Repository: https://github.com/codeb2cc/kubernetes.git
Documentation: pkg.go.dev

# Functions

ExponentialBackoff repeats a condition check up to steps times, increasing the wait by multipling the previous duration by factor.
Forever is syntactic sugar on top of Until.
Jitter returns a time.Duration between duration and duration + maxFactor * duration, to allow clients to avoid converging on periodic behavior.
JitterUntil loops until stop channel is closed, running f every period.
Poll tries a condition func until it returns true, an error, or the timeout is reached.
No description provided by the author
PollInfinite polls forever.
Until loops until stop channel is closed, running f every period.
WaitFor gets a channel from wait(), and then invokes fn once for every value placed on the channel and once more when the channel is closed.

# Variables

ErrWaitTimeout is returned when the condition exited without success.
For any test of the style: ..
NeverStop may be passed to Until to make it never stop.

# Structs

Backoff is parameters applied to a Backoff function.

# Type aliases

ConditionFunc returns true if the condition is satisfied, or an error if the loop should be aborted.
WaitFunc creates a channel that receives an item every time a test should be executed and is closed when the last test should be invoked.