package leaderelectionconfig
import "k8s.io/kubernetes/pkg/client/leaderelectionconfig"
Index ¶
- Constants
- func BindFlags(l *componentconfig.LeaderElectionConfiguration, fs *pflag.FlagSet)
- func DefaultLeaderElectionConfiguration() componentconfig.LeaderElectionConfiguration
Constants ¶
const ( DefaultLeaseDuration = 15 * time.Second DefaultRenewDeadline = 10 * time.Second DefaultRetryPeriod = 2 * time.Second )
Functions ¶
func BindFlags ¶
func BindFlags(l *componentconfig.LeaderElectionConfiguration, fs *pflag.FlagSet)
BindFlags binds the common LeaderElectionCLIConfig flags to a flagset
func DefaultLeaderElectionConfiguration ¶
func DefaultLeaderElectionConfiguration() componentconfig.LeaderElectionConfiguration
Source Files ¶
config.go
- Version
- v1.8.0
- Published
- Sep 28, 2017
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 9 seconds ago –
Tools for package owners.