Documentation
¶
Index ¶
- func NewLeaderElection(clientset kubernetes.Interface, lockName string, ...) *leaderElection
- func NewLeaderElectionWithConfigMaps(clientset kubernetes.Interface, lockName string, ...) *leaderElection
- func NewLeaderElectionWithEndpoints(clientset kubernetes.Interface, lockName string, ...) *leaderElection
- func NewLeaderElectionWithLeases(clientset kubernetes.Interface, lockName string, ...) *leaderElection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLeaderElection ¶
func NewLeaderElection(clientset kubernetes.Interface, lockName string, runFunc func(ctx context.Context)) *leaderElection
NewLeaderElection returns the default & preferred leader election type
func NewLeaderElectionWithConfigMaps ¶
func NewLeaderElectionWithConfigMaps(clientset kubernetes.Interface, lockName string, runFunc func(ctx context.Context)) *leaderElection
NewLeaderElectionWithConfigMaps returns an implementation of leader election using ConfigMaps
func NewLeaderElectionWithEndpoints ¶
func NewLeaderElectionWithEndpoints(clientset kubernetes.Interface, lockName string, runFunc func(ctx context.Context)) *leaderElection
NewLeaderElectionWithEndpoints returns an implementation of leader election using Endpoints
func NewLeaderElectionWithLeases ¶
func NewLeaderElectionWithLeases(clientset kubernetes.Interface, lockName string, runFunc func(ctx context.Context)) *leaderElection
NewLeaderElectionWithLeases returns an implementation of leader election using Leases
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.