Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AvailableServers ¶
type AvailableServers struct {
// contains filtered or unexported fields
}
AvailableServers provides access to the currently available servers, by Delivery Service and Cache Group. This is safe for access by multiple goroutines.
func New ¶
func New() AvailableServers
func (*AvailableServers) Get ¶
func (a *AvailableServers) Get(ds tc.DeliveryServiceName, cg tc.CacheGroupName) ([]tc.CacheName, error)
func (*AvailableServers) Set ¶
func (a *AvailableServers) Set(m AvailableServersMap)
type AvailableServersMap ¶
type AvailableServersMap map[tc.DeliveryServiceName]map[tc.CacheGroupName][]tc.CacheName
Click to show internal directories.
Click to hide internal directories.