Versions in this module Expand all Collapse all v3 v3.4.6 Mar 19, 2020 Changes in this version + var ErrBadDiscoveryEndpoint = errors.New("discovery: bad discovery endpoint") + var ErrBadSizeKey = errors.New("discovery: size key is bad") + var ErrDuplicateID = errors.New("discovery: found duplicate id") + var ErrDuplicateName = errors.New("discovery: found duplicate name") + var ErrFullCluster = errors.New("discovery: cluster is full") + var ErrInvalidURL = errors.New("discovery: invalid URL") + var ErrSizeNotFound = errors.New("discovery: size key not found") + var ErrTokenNotFound = errors.New("discovery: token not found") + var ErrTooManyRetries = errors.New("discovery: too many retries") + func GetCluster(lg *zap.Logger, durl, dproxyurl string) (string, error) + func JoinCluster(lg *zap.Logger, durl, dproxyurl string, id types.ID, config string) (string, error)