etcd

package
v3.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: MPL-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	types.DeviceManager
}

Controller is the etcd controller for discovering etcd nodes.

func (*Controller) DiscoverByToken

func (c *Controller) DiscoverByToken() ([]*Member, error)

DiscoverByToken discovers the etcd node IP addresses using the etcd discovery service.

type Member

type Member struct {
	Name string
	URL  *url.URL
}

Member is a discovered etcd member.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL