Documentation ¶
Index ¶
Constants ¶
View Source
const ( RequiredAPIVersion int = 710 ClusterFile = "cluster_file" )
Variables ¶
This section is empty.
Functions ¶
func NewCoordinator ¶
func NewCoordinator() core.CoordinatorService
NewCoordinator returns a new etcd coordinator instance.
Types ¶
type Coordinator ¶
type Coordinator struct { *core.BaseCoordinator fdb.Database }
func (*Coordinator) GetClusterFile ¶ added in v1.1.1
func (coord *Coordinator) GetClusterFile() (string, error)
GetClusterFile returns the cluster file configuration.
func (*Coordinator) ServiceName ¶
func (coord *Coordinator) ServiceName() string
ServiceName returns the plug-in service name.
func (*Coordinator) Start ¶
func (coord *Coordinator) Start() error
Start starts this etcd coordinator.
func (*Coordinator) Transact ¶
func (coord *Coordinator) Transact() (coordinator.Transaction, error)
Click to show internal directories.
Click to hide internal directories.