Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2014 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func MockCreateResponse(t *testing.T) + func MockDeleteResponse(t *testing.T) + func MockGetResponse(t *testing.T) + func MockListResponse(t *testing.T) + func MockUpdateMetadataResponse(t *testing.T) + func WaitForStatus(c *gophercloud.ServiceClient, id, status string, secs int) error + type CreateOpts struct + Description string + Force bool + Metadata map[string]interface{} + Name string + VolumeID 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) CreateResult + func (r CreateResult) Extract() (*Snapshot, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) DeleteResult + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) GetResult + func (r GetResult) Extract() (*Snapshot, error) + type ListOpts struct + Name string + Status string + VolumeID string + func (opts ListOpts) ToSnapshotListQuery() (string, error) + type ListOptsBuilder interface + ToSnapshotListQuery func() (string, error) + type ListResult struct + func (r ListResult) IsEmpty() (bool, error) + type Snapshot struct + Attachments []string + AvailabilityZone string + Bootable string + CreatedAt string + Description string + ID string + Metadata map[string]string + Name string + Size int + SnapshotID string + Status string + VolumeID string + VolumeType string + func ExtractSnapshots(page pagination.Page) ([]Snapshot, error) + type UpdateMetadataOpts struct + Metadata map[string]interface{} + func (opts UpdateMetadataOpts) ToSnapshotUpdateMetadataMap() (map[string]interface{}, error) + type UpdateMetadataOptsBuilder interface + ToSnapshotUpdateMetadataMap func() (map[string]interface{}, error) + type UpdateMetadataResult struct + func UpdateMetadata(client *gophercloud.ServiceClient, id string, opts UpdateMetadataOptsBuilder) UpdateMetadataResult + func (r UpdateMetadataResult) Extract() (*Snapshot, error) + func (r UpdateMetadataResult) ExtractMetadata() (map[string]interface{}, error)