Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2014 Changes in this version + func Delete(client *gophercloud.ServiceClient, id string) os.DeleteResult + func List(client *gophercloud.ServiceClient) pagination.Pager + type CreateOpts struct + Description string + Force bool + 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 GetResult struct + func Get(client *gophercloud.ServiceClient, id string) GetResult + func (r GetResult) Extract() (*Snapshot, error) + type Snapshot struct + CreatedAt string + Description string + ID string + Metadata map[string]string + Name string + Progress string + ProjectID string + Size int + Status Status + VolumeID string + func ExtractSnapshots(page pagination.Page) ([]Snapshot, error) + func (snapshot Snapshot) WaitUntilComplete(c *gophercloud.ServiceClient, timeout int) error + func (snapshot Snapshot) WaitUntilDeleted(c *gophercloud.ServiceClient, timeout int) error + type Status string + const Available + const Creating + const DeleteError + const Deleting + const Error + type UpdateOpts struct + Description string + Name string + func (opts UpdateOpts) ToSnapshotUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToSnapshotUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, snapshotID string, opts UpdateOptsBuilder) UpdateResult + func (r UpdateResult) Extract() (*Snapshot, error)