leaderelectionconfig

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 5

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