package
1.2.0-alpha.3
Repository: https://github.com/suhasanand/kubernetes.git
Documentation: pkg.go.dev
# Functions
Jitter returns a time.Duration between duration and duration + maxFactor * duration, to allow clients to avoid converging on periodic behavior.
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.
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.
# 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.