utils

package
v0.0.0-...-ee9fa08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExponentialBackoffBuilder

type ExponentialBackoffBuilder struct {
	// contains filtered or unexported fields
}

func NewExponentialBackoffBuilder

func NewExponentialBackoffBuilder() *ExponentialBackoffBuilder

func (*ExponentialBackoffBuilder) Build

func (builder *ExponentialBackoffBuilder) Build() backoff.BackOff

func (*ExponentialBackoffBuilder) Clock

func (builder *ExponentialBackoffBuilder) Clock(c backoff.Clock) *ExponentialBackoffBuilder

func (*ExponentialBackoffBuilder) InitialInterval

func (*ExponentialBackoffBuilder) MaxElapsedTime

func (*ExponentialBackoffBuilder) MaxInterval

func (*ExponentialBackoffBuilder) MaxRetries

func (*ExponentialBackoffBuilder) Multiplier

func (*ExponentialBackoffBuilder) RandomizationFactor

func (builder *ExponentialBackoffBuilder) RandomizationFactor(f float64) *ExponentialBackoffBuilder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL