kubernetes/vendor/github.com/cenkalti/backoff/v4/tries.go

/*
WithMaxRetries creates a wrapper around another BackOff, which will
return Stop if NextBackOff() has been called too many times since
the last time Reset() was called

Note: Implementation is not thread-safe.
*/
func WithMaxRetries(b BackOff, max uint64) BackOff {}

type backOffTries

func (b *backOffTries) NextBackOff() time.Duration {}

func (b *backOffTries) Reset() {}