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)