Documentation ¶
Overview ¶
Package volumetypes provides information and interaction with the volume type API resource for the Rackspace Block Storage service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *gophercloud.ServiceClient) pagination.Pager
List returns all volume types.
Types ¶
type GetResult ¶
func Get ¶
func Get(client *gophercloud.ServiceClient, id string) GetResult
Get will retrieve the volume type with the provided ID. To extract the volume type from the result, call the Extract method on the GetResult.
func (GetResult) Extract ¶
func (r GetResult) Extract() (*VolumeType, error)
Extract will get the Volume Type struct out of the response.
type VolumeType ¶
type VolumeType os.VolumeType
func ExtractVolumeTypes ¶
func ExtractVolumeTypes(page pagination.Page) ([]VolumeType, error)
Click to show internal directories.
Click to hide internal directories.