gophercloud: Index | Files

package volumetypes

import ""

Package volumetypes provides information and interaction with the volume type API resource for the Rackspace Block Storage service.


Package Files

delegate.go doc.go results.go

func ExtractVolumeTypes Uses

func ExtractVolumeTypes(page pagination.Page) ([]VolumeType, error)

func List Uses

func List(client *gophercloud.ServiceClient) pagination.Pager

List returns all volume types.

type GetResult Uses

type GetResult struct {

func Get Uses

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 Uses

func (r GetResult) Extract() (*VolumeType, error)

Extract will get the Volume Type struct out of the response.

type VolumeType Uses

type VolumeType os.VolumeType

Package volumetypes imports 4 packages (graph) and is imported by 1 packages. Updated 2016-07-23. Refresh now. Tools for package owners.