volumetypes

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

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

List returns all volume types.

Types

type GetResult

type GetResult struct {
	os.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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL