leaderelectionconfig

package
v0.0.0-...-c6b2859 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 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