package
1.49.0
Repository: https://github.com/pureweb/ecs-amazon-agent.git
Documentation: pkg.go.dev

# Packages

Package mock_retry is a generated GoMock package.

# Functions

AddJitter adds an amount of jitter between 0 and the given jitter to the given duration.
No description provided by the author
RetryNWithBackoff takes a Backoff, a maximum number of tries 'n', and a function that returns an error.
RetryNWithBackoffCtx takes a context, a Backoff, a maximum number of tries 'n', and a function that returns an error.
RetryWithBackoff takes a Backoff and a function to call that returns an error If the error is nil then the function will no longer be called If the error is Retriable then that will be used to determine if it should be retried.
RetryWithBackoffCtx takes a context, a Backoff, and a function to call that returns an error If the context is done, nil will be returned If the error is nil then the function will no longer be called If the error is Retriable then that will be used to determine if it should be retried.

# Structs

No description provided by the author

# Interfaces

No description provided by the author