Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceLock ¶
func GetResourceLock() resourcelock.Interface
func New ¶
func New( onStartLeading func(context.Context), onStopLeading func(), onNewLeader func(string)) *leaderelection.LeaderElector
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.