Versions in this module Expand all Collapse all v0 v0.28.0 Jan 6, 2022 v0.27.0 Jan 6, 2022 v0.26.0 Jan 6, 2022 v0.24.3 Jan 6, 2022 v0.24.2 Jan 6, 2022 v0.24.1 Jan 6, 2022 Changes in this version + 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)