Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Elector ¶
type Elector struct {
// contains filtered or unexported fields
}
func NewElector ¶
func NewElector(instanceName string, adapter storeadapter.StoreAdapter, updateInterval time.Duration) *Elector
func (*Elector) RunForElection ¶
func (*Elector) StayAsLeader ¶
Click to show internal directories.
Click to hide internal directories.