Versions in this module Expand all Collapse all v1 v1.0.1 Jan 10, 2021 v1.0.0 Jan 10, 2021 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(durl, dproxyurl string) (string, error) + func JoinCluster(durl, dproxyurl string, id types.ID, config string) (string, error)