Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2014 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func MockCreateResponse(t *testing.T) + func MockDeleteResponse(t *testing.T) + func MockGetResponse(t *testing.T) + func MockListResponse(t *testing.T) + func MockUpdateResponse(t *testing.T) + func WaitForStatus(c *gophercloud.ServiceClient, id, status string, secs int) error + type CreateOpts struct + Availability string + Description string + ImageID string + Metadata map[string]string + Name string + Size int + SnapshotID string + SourceVolID string + VolumeType string + func (opts CreateOpts) ToVolumeCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToVolumeCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) CreateResult + func (r CreateResult) Extract() (*Volume, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) DeleteResult + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) GetResult + func (r GetResult) Extract() (*Volume, error) + type ListOpts struct + AllTenants bool + Metadata map[string]string + Name string + Status string + func (opts ListOpts) ToVolumeListQuery() (string, error) + type ListOptsBuilder interface + ToVolumeListQuery func() (string, error) + type ListResult struct + func (r ListResult) IsEmpty() (bool, error) + type UpdateOpts struct + Description string + Metadata map[string]string + Name string + func (opts UpdateOpts) ToVolumeUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToVolumeUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) UpdateResult + func (r UpdateResult) Extract() (*Volume, error) + type Volume struct + Attachments []string + AvailabilityZone string + Bootable string + CreatedAt string + Description string + ID string + Metadata map[string]string + Name string + Size int + SnapshotID string + SourceVolID string + Status string + VolumeType string + func ExtractVolumes(page pagination.Page) ([]Volume, error)