Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElectionResult ¶
type LeaderDocument ¶
type LeaderElection ¶
type LeaderElection struct {
// contains filtered or unexported fields
}
func New ¶
func New() *LeaderElection
func (*LeaderElection) AddNotify ¶
func (l *LeaderElection) AddNotify(fn NotifyFunc)
func (*LeaderElection) Stop ¶
func (l *LeaderElection) Stop()
type NotifyFunc ¶
type NotifyFunc func(result ElectionResult)
Click to show internal directories.
Click to hide internal directories.