Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages a data server store and provides an in memory cache of data server's url for quick look ups
func (*Manager) AddServer ¶
AddServer adds a new data server to the store if it is not already in the store. The given data server will be set as 'current' (used for new bushes)
func (*Manager) GetAllServers ¶
func (mgr *Manager) GetAllServers() ([]*datasrvstore.Server, error)
GetAllServers returns a list of all data servers
func (*Manager) GetNextAvailable ¶
GetNextAvailable returns the data server that new bushes are allocated on
Click to show internal directories.
Click to hide internal directories.