Versions in this module Expand all Collapse all v1 v1.0.26 Apr 28, 2021 v1.0.25 Nov 13, 2020 v1.0.22 Apr 20, 2020 v1.0.21 Mar 10, 2020 v1.0.20 Dec 19, 2019 v1.0.19 Nov 11, 2019 v1.0.18 Sep 14, 2019 v1.0.17 Aug 13, 2019 Changes in this version + func IDFromName(client *gophercloud.ServiceClient, name string) (string, error) + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func WaitForStatus(c *gophercloud.ServiceClient, id, status string, secs int) error + type CreateOpts struct + AvailabilityZone 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) (r CreateResult) + func (r CreateResult) Extract() (*Volume, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r 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 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) (r UpdateResult) + func (r UpdateResult) Extract() (*Volume, error) + type Volume struct + Attachments []map[string]interface{} + AvailabilityZone string + Bootable string + CreatedAt time.Time + Description string + ID string + Metadata map[string]string + Name string + Size int + SnapshotID string + SourceVolID string + Status string + VolumeType string + func ExtractVolumes(r pagination.Page) ([]Volume, error) + func (r *Volume) UnmarshalJSON(b []byte) error + type VolumePage struct + func (r VolumePage) IsEmpty() (bool, error)