leaderelectionconfig

package
v0.0.0-...-2f49bc2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultLeaseDuration is the default lease duration for leader election
	DefaultLeaseDuration = 15 * time.Second
	// DefaultRenewDeadline is the default renew duration for leader election
	DefaultRenewDeadline = 10 * time.Second
	// DefaultRetryPeriod is the default retry period for leader election
	DefaultRetryPeriod = 2 * time.Second
)

Variables

This section is empty.

Functions

func BindFlags

BindFlags binds the common LeaderElectionCLIConfig flags to a flagset

func DefaultLeaderElectionConfiguration

func DefaultLeaderElectionConfiguration() options.LeaderElectionConfiguration

DefaultLeaderElectionConfiguration the default configurations used for leader election

Types

This section is empty.

Jump to

Keyboard shortcuts

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