Versions in this module Expand all Collapse all v2 v2.2.1 Sep 25, 2024 Changes in this version + func List(client *gophercloud.ServiceClient, serverID string) pagination.Pager + type CreateOpts struct + DeleteOnTermination bool + Device string + Tag string + VolumeID string + func (opts CreateOpts) ToVolumeAttachmentCreateMap() (map[string]any, error) + type CreateOptsBuilder interface + ToVolumeAttachmentCreateMap func() (map[string]any, error) + type CreateResult struct + func Create(ctx context.Context, client *gophercloud.ServiceClient, serverID string, ...) (r CreateResult) + type DeleteResult struct + func Delete(ctx context.Context, client *gophercloud.ServiceClient, ...) (r DeleteResult) + type GetResult struct + func Get(ctx context.Context, client *gophercloud.ServiceClient, ...) (r GetResult) + type VolumeAttachment struct + DeleteOnTermination *bool + Device string + ID string + ServerID string + Tag *string + VolumeID string + func ExtractVolumeAttachments(r pagination.Page) ([]VolumeAttachment, error) + type VolumeAttachmentPage struct + func (page VolumeAttachmentPage) IsEmpty() (bool, error) + type VolumeAttachmentResult struct + func (r VolumeAttachmentResult) Extract() (*VolumeAttachment, error)