Documentation ¶
Overview ¶
Package leaderelection provides a few utilities to help us to enable leader election support in the Watcher controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLeaderAwareFuncs ¶
func NewLeaderAwareFuncs[O metav1.Object](lister Lister[O]) reconciler.LeaderAwareFuncs
NewLeaderAwareFuncs returns a new reconciler.LeaderAwareFuncs object to be used in our controllers.
Types ¶
Click to show internal directories.
Click to hide internal directories.