Update dependencies
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
1cb2d70546
commit
f0aaf20998
707 changed files with 142158 additions and 9967 deletions
9
vendor/github.com/juju/retry/doc.go
generated
vendored
9
vendor/github.com/juju/retry/doc.go
generated
vendored
|
|
@ -13,10 +13,10 @@
|
|||
// })
|
||||
//
|
||||
// The bare minimum arguments that need to be specified are:
|
||||
// * Func - the function to call
|
||||
// * Attempts - the number of times to try Func before giving up, or a negative number for unlimited attempts (`retry.UnlimitedAttempts`)
|
||||
// * Delay - how long to wait between each try that returns an error
|
||||
// * Clock - either the wall clock, or some testing clock
|
||||
// - Func - the function to call
|
||||
// - Attempts - the number of times to try Func before giving up, or a negative number for unlimited attempts (`retry.UnlimitedAttempts`)
|
||||
// - Delay - how long to wait between each try that returns an error
|
||||
// - Clock - either the wall clock, or some testing clock
|
||||
//
|
||||
// Any error that is returned from the Func is considered transient.
|
||||
// In order to identify some errors as fatal, pass in a function for the
|
||||
|
|
@ -87,5 +87,4 @@
|
|||
// Delay: 100 * time.Millisecond,
|
||||
// Clock: clock.WallClock,
|
||||
// })
|
||||
//
|
||||
package retry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue