package discovery
import "github.com/coreos/etcd/discovery"
Package discovery provides an implementation of the cluster discovery that is used by etcd.
Index ¶
Constants ¶
const ( // Environment variable used to configure an HTTP proxy for discovery DiscoveryProxyEnv = "ETCD_DISCOVERY_PROXY" )
Variables ¶
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") )
Types ¶
type Discoverer ¶
func New ¶
Source Files ¶
- Version
- v0.5.0-alpha.1
- Published
- Oct 31, 2014
- Platform
- linux/amd64
- Imports
- 14 packages
- Last checked
- 25 minutes ago –
Tools for package owners.