Discover Packages
github.com/arquillian/ike-prow-plugins
pkg
retry
package
Version:
v0.0.0-...-a196a74
Opens a new window with list of versions in this module.
Published: Dec 7, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Do invokes a function and if invocation fails retries defined amount of time with sleep in between
Returns accumulated errors if all attempts failed or empty slice otherwise
type RetryFunc func() error
RetryFunc is a function type which wraps actual logic to be retried and returns error if that needs to happen
Source Files
¶
Click to show internal directories.
Click to hide internal directories.