Versions in this module Expand all Collapse all v0 v0.99.1 Oct 31, 2019 v0.99.0 Oct 31, 2019 Changes in this version + func ExtractBackupsInto(r pagination.Page, v interface{}) error + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type Backup struct + AvailabilityZone string + Container string + CreatedAt time.Time + DataTimestamp time.Time + Description string + FailReason string + HasDependentBackups bool + ID string + IsIncremental bool + Name string + ObjectCount int + ProjectID string + Size int + SnapshotID string + Status string + UpdatedAt time.Time + VolumeID string + func ExtractBackups(r pagination.Page) ([]Backup, error) + func (r *Backup) UnmarshalJSON(b []byte) error + type BackupPage struct + func (page BackupPage) NextPageURL() (string, error) + func (r BackupPage) IsEmpty() (bool, error) + type CreateOpts struct + AvailabilityZone string + Container string + Description string + Force bool + Incremental bool + Metadata map[string]string + Name string + SnapshotID string + VolumeID string + func (opts CreateOpts) ToBackupCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToBackupCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Backup, error) + func (r CreateResult) ExtractAvailabilityZone() (string, error) + func (r CreateResult) ExtractInto(v interface{}) error + func (r CreateResult) ExtractMetadata() (map[string]string, 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() (*Backup, error) + func (r GetResult) ExtractAvailabilityZone() (string, error) + func (r GetResult) ExtractInto(v interface{}) error + func (r GetResult) ExtractMetadata() (map[string]string, error) + type ListOpts struct + AllTenants bool + Limit int + Marker string + Name string + Offset int + Sort string + Status string + TenantID string + VolumeID string + func (opts ListOpts) ToBackupListQuery() (string, error) + type ListOptsBuilder interface + ToBackupListQuery func() (string, error) + type UpdateOpts struct + Description *string + Metadata map[string]string + Name *string + func (opts UpdateOpts) ToBackupUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToBackupUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Backup, error) + func (r UpdateResult) ExtractAvailabilityZone() (string, error) + func (r UpdateResult) ExtractInto(v interface{}) error + func (r UpdateResult) ExtractMetadata() (map[string]string, error)