Documentation ¶
Overview ¶
Package discovery provides an implementation of the cluster discovery that is used by etcd.
Index ¶
Constants ¶
View Source
const (
// Environment variable used to configure an HTTP proxy for discovery
DiscoveryProxyEnv = "ETCD_DISCOVERY_PROXY"
)
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") ErrFullCluster = errors.New("discovery: cluster is full") ErrTooManyRetries = errors.New("discovery: too many retries") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.