package
0.16.2
Repository: https://github.com/hashicorp/consul.git
Documentation: pkg.go.dev

# Functions

DefaultRetryer provides default retry.Run() behavior for unit tests, namely 7s timeout with a wait of 25ms.
No description provided by the author
No description provided by the author
ThirtySeconds repeats an operation for thirty seconds and waits 500ms in between.
ThreeTimes repeats an operation three times and waits 25ms in between.
TwoSeconds repeats an operation for two seconds and waits 25ms in between.
No description provided by the author
WithImmediateCleanup will cause all cleanup operations added by calling the Cleanup method on *R to be performed after the retry attempt completes (regardless of pass/fail status) Use this only if all resources created during the retry loop should not persist after the retry has finished.
No description provided by the author

# Structs

Counter repeats an operation a given number of times and waits between subsequent operations.
No description provided by the author
Timer repeats an operation for a given amount of time and waits between subsequent operations.

# Interfaces

Retryer provides an interface for repeating operations until they succeed or an exit condition is met.
TestingTB is an interface that describes the implementation of the testing object.

# Type aliases

No description provided by the author