Versions in this module Expand all Collapse all v2 v2.2.1 Sep 25, 2024 Changes in this version + func ExtractTransfersInto(r pagination.Page, v any) error + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type AcceptOpts struct + AuthKey string + func (opts AcceptOpts) ToAcceptMap() (map[string]any, error) + type CreateOpts struct + Name string + VolumeID string + func (opts CreateOpts) ToCreateMap() (map[string]any, error) + type CreateResult struct + func Accept(ctx context.Context, client *gophercloud.ServiceClient, id string, ...) (r CreateResult) + func Create(ctx context.Context, client *gophercloud.ServiceClient, opts CreateOpts) (r CreateResult) + func (r CreateResult) Extract() (*Transfer, error) + func (r CreateResult) ExtractInto(v any) error + type DeleteResult struct + func Delete(ctx context.Context, client *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(ctx context.Context, client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Transfer, error) + func (r GetResult) ExtractInto(v any) error + type ListOpts struct + AllTenants bool + Limit int + Marker string + Offset int + Sort string + func (opts ListOpts) ToTransferListQuery() (string, error) + type ListOptsBuilder interface + ToTransferListQuery func() (string, error) + type Transfer struct + AuthKey string + CreatedAt time.Time + ID string + Links []map[string]string + Name string + VolumeID string + func ExtractTransfers(r pagination.Page) ([]Transfer, error) + func (r *Transfer) UnmarshalJSON(b []byte) error + type TransferPage struct + func (page TransferPage) NextPageURL() (string, error) + func (r TransferPage) IsEmpty() (bool, error)