Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func ExtractVolumesInto(r pagination.Page, v interface{}) error + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func WaitForStatus(c *gophercloud.ServiceClient, id, status string, secs int) error + type Attachment struct + AttachedAt time.Time + AttachmentID string + Device string + HostName string + ID string + ServerID string + VolumeID string + func (r *Attachment) UnmarshalJSON(b []byte) error + type CreateOpts struct + AvailabilityZone string + BackupID string + ConsistencyGroupID string + Description string + ImageID string + Metadata map[string]string + Multiattach bool + Name string + Size int + SnapshotID string + SourceReplica 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) + func (r CreateResult) ExtractInto(v interface{}) error + type DeleteOpts struct + Cascade bool + func (opts DeleteOpts) ToVolumeDeleteQuery() (string, error) + type DeleteOptsBuilder interface + ToVolumeDeleteQuery func() (string, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string, opts DeleteOptsBuilder) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Volume, error) + func (r GetResult) ExtractInto(v interface{}) error + type ListOpts struct + AllTenants bool + Limit int + Marker string + Metadata map[string]string + Name string + Offset int + Sort string + Status string + TenantID 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) + func (r UpdateResult) ExtractInto(v interface{}) error + type Volume struct + Attachments []Attachment + AvailabilityZone string + BackupID *string + Bootable string + ConsistencyGroupID string + CreatedAt time.Time + Description string + Encrypted bool + ID string + Metadata map[string]string + Multiattach bool + Name string + ReplicationStatus string + Size int + SnapshotID string + SourceVolID string + Status string + UpdatedAt time.Time + UserID string + VolumeImageMetadata map[string]string + VolumeType string + func ExtractVolumes(r pagination.Page) ([]Volume, error) + func (r *Volume) UnmarshalJSON(b []byte) error + type VolumePage struct + func (page VolumePage) NextPageURL() (string, error) + func (r VolumePage) IsEmpty() (bool, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3