Documentation
¶
Overview ¶
Package etcd provides an implementation of master election based on etcd.
Index ¶
Constants ¶
View Source
const ElectionName = "etcd"
ElectionName identifies the etcd election implementation.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Election ¶
type Election struct {
// contains filtered or unexported fields
}
Election is an implementation of election2.Election based on etcd.
func (*Election) Close ¶
Close resigns and permanently stops participating in election. No other method should be called after Close.
Click to show internal directories.
Click to hide internal directories.