Documentation ¶
Overview ¶
Cinder package contains wrapper functions designed to collect required metrics All functions are dependant on OpenStack BlockStorage API Version 1
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceV1 ¶
type ServiceV1 struct{}
ServiceV1 serves as dispatcher for Cinder API version 1.0
func (ServiceV1) GetLimits ¶
func (s ServiceV1) GetLimits(provider *gophercloud.ProviderClient) (types.Limits, error)
GetLimits collects tenant limits by sending REST call to cinderhost:8776/v1/tenant_id/limits
func (ServiceV1) GetSnapshots ¶
func (s ServiceV1) GetSnapshots(provider *gophercloud.ProviderClient) (map[string]types.Snapshots, error)
GetSnapshots collects snapshot data by sending REST call to cinderhost:8776/v1/tenant_id/snapshots
func (ServiceV1) GetVolumes ¶
func (s ServiceV1) GetVolumes(provider *gophercloud.ProviderClient) (map[string]types.Volumes, error)
GetVolumes collects volumes data by sending REST call to cinderhost:8776/v1/tenant_id/volumes
Click to show internal directories.
Click to hide internal directories.