Versions in this module Expand all Collapse all v0 v0.7.1 Jul 22, 2022 v0.7.0 Aug 24, 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)