Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NeedLeaderElectionNotification ¶
type NeedLeaderElectionNotification interface {
OnElectedLeader()
}
type Notifier ¶
type Notifier struct {
ToNotify []NeedLeaderElectionNotification
}
Notifier is controller-runtime manager runnable that can be used to notify other components when leader election has occurred for the current manager.
func (*Notifier) NeedLeaderElection ¶
Click to show internal directories.
Click to hide internal directories.