Documentation ¶
Overview ¶
Package discovery provides an implementation of the cluster discovery that is used by etcd.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidURL = errors.New("discovery: invalid URL") ErrBadSizeKey = errors.New("discovery: size key is bad") ErrSizeNotFound = errors.New("discovery: size key not found") ErrTokenNotFound = errors.New("discovery: token not found") ErrDuplicateID = errors.New("discovery: found duplicate id") ErrDuplicateName = errors.New("discovery: found duplicate name") ErrFullCluster = errors.New("discovery: cluster is full") ErrTooManyRetries = errors.New("discovery: too many retries") ErrBadDiscoveryEndpoint = errors.New("discovery: bad discovery endpoint") )
Functions ¶
func GetCluster ¶ added in v0.5.0
GetCluster will connect to the discovery service at the given url and retrieve a string describing the cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.