Versions in this module Expand all Collapse all v0 v0.1.4 Jun 27, 2019 Changes in this version + const DefaultLeaseDuration + const DefaultRenewDeadline + const DefaultRetryPeriod + var ControllerConfig = Configuration + func AddLeaderElectionFlags(l *LeaderElectionConfiguration, fs *pflag.FlagSet) + type Configuration struct + Kubeconfig string + WorkerCount int + func (c *Configuration) AddFlags(fs *pflag.FlagSet) + type LeaderElectionConfiguration struct + LeaderElect bool + LeaseDuration metav1.Duration + RenewDeadline metav1.Duration + ResourceLock string + RetryPeriod metav1.Duration + func GetLeaderElectionConfig() *LeaderElectionConfiguration