package
3.1.1+incompatible
Repository: https://github.com/gravitational/robotest.git
Documentation: pkg.go.dev
# Functions
Abort causes Retry function to stop with error.
Continue causes Retry function to continue trying and logging message.
NewUnlimitedExponentialBackoff returns a new exponential backoff interval without time limit.
Retry attempts to execute fn with default delay retrying it for a default number of attempts.
RetryWithInterval retries the specified operation fn using the specified backoff interval.
Sleep is context-interruptable sleep.
# Structs
AbortRetry if returned from Retry, will lead to retries to be stopped, but the Retry function will return internal Error.
ContinueRetry if returned from Retry, will be lead to retry next time.
Retryer is a process that can retry a function.