Versions in this module Expand all Collapse all v2 v2.1.0 Jan 5, 2022 v2.0.1 Dec 28, 2021 v2.0.0 Dec 28, 2021 Changes in this version + func ListDetail(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Description string + DisplayDescription string + DisplayName string + Name string + ShareID string + func (opts CreateOpts) ToSnapshotCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToSnapshotCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Snapshot, 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() (*Snapshot, error) + type ListOpts struct + AllTenants bool + Description string + DescriptionPattern string + Limit int + Name string + NamePattern string + Offset int + ProjectID string + ShareID string + Size int + SortDir string + SortKey string + Status string + func (opts ListOpts) ToSnapshotListQuery() (string, error) + type ListOptsBuilder interface + ToSnapshotListQuery func() (string, error) + type Snapshot struct + CreatedAt time.Time + Description string + ID string + Links []map[string]string + Name string + ProjectID string + ShareID string + ShareProto string + ShareSize int + Size int + Status string + func ExtractSnapshots(r pagination.Page) ([]Snapshot, error) + func (r *Snapshot) UnmarshalJSON(b []byte) error + type SnapshotPage struct + func (r SnapshotPage) IsEmpty() (bool, error) + func (r SnapshotPage) LastMarker() (string, error) + func (r SnapshotPage) NextPageURL() (string, error) + type UpdateOpts struct + DisplayDescription *string + DisplayName *string + func (opts UpdateOpts) ToSnapshotUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToSnapshotUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Snapshot, error) Other modules containing this package github.com/pierreprinetti/gophercloud github.com/pierreprinetti/gophercloud/v3