Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Glancer ¶
type Glancer interface {
GetImages(provider *gophercloud.ProviderClient) (map[string]types.Images, error)
}
Glancer allows usage of different Glance API versions for metric collection
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Services serves as a API calls dispatcher
func Dispatch ¶
func Dispatch(provider *gophercloud.ProviderClient) Service
Dispatch redirects to selected Glance API version based on priority
func (Service) GetImages ¶
func (s Service) GetImages(provider *gophercloud.ProviderClient) (map[string]types.Images, error)
GetImages dispatches call to proper API version calls to collect images metrics
Click to show internal directories.
Click to hide internal directories.