Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Master ¶
type Master struct { KeysAPI client.KeysAPI // contains filtered or unexported fields }
func (*Master) AddWorker ¶
func (m *Master) AddWorker(info *WorkerInfo)
func (*Master) UpdateWorker ¶
func (m *Master) UpdateWorker(info *WorkerInfo)
func (*Master) WatchWorkers ¶
func (m *Master) WatchWorkers()
type WorkerInfo ¶
workerInfo is the service register information to etcdx
func NodeToWorkerInfo ¶
func NodeToWorkerInfo(node *client.Node) *WorkerInfo
Click to show internal directories.
Click to hide internal directories.