Versions in this module Expand all Collapse all v1 v1.5.0-1 Jun 24, 2023 v1.2.1 Mar 20, 2023 Changes in this version + func ExtractAttachmentsInto(r pagination.Page, a 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 + AttachMode string + AttachedAt time.Time + ConnectionInfo map[string]interface{} + DetachedAt time.Time + ID string + Instance string + Status string + VolumeID string + func ExtractAttachments(r pagination.Page) ([]Attachment, error) + func (r *Attachment) UnmarshalJSON(b []byte) error + type AttachmentPage struct + func (r AttachmentPage) IsEmpty() (bool, error) + type CompleteResult struct + func Complete(client *gophercloud.ServiceClient, id string) (r CompleteResult) + type CreateOpts struct + Connector map[string]interface{} + InstanceUUID string + Mode string + VolumeUUID string + func (opts CreateOpts) ToAttachmentCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToAttachmentCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Attachment, error) + func (r CreateResult) ExtractInto(a interface{}) 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() (*Attachment, error) + func (r GetResult) ExtractInto(a interface{}) error + type ListOpts struct + AllTenants bool + InstanceID string + Limit int + Marker string + Offset int + ProjectID string + Sort string + Status string + VolumeID string + func (opts ListOpts) ToAttachmentListQuery() (string, error) + type ListOptsBuilder interface + ToAttachmentListQuery func() (string, error) + type UpdateOpts struct + Connector map[string]interface{} + func (opts UpdateOpts) ToAttachmentUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToAttachmentUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Attachment, error) + func (r UpdateResult) ExtractInto(a interface{}) error