Versions in this module Expand all Collapse all v1 v1.3.0 Feb 14, 2023 Changes in this version + func ExtractBackupsInto(r pagination.Page, v interface{}) error + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListDetail(client *gophercloud.ServiceClient, opts ListDetailOptsBuilder) 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 + Metadata *map[string]string + 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 BackupRecord struct + BackupService string + BackupURL []byte + 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) ExtractInto(v interface{}) error + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type ExportResult struct + func Export(client *gophercloud.ServiceClient, id string) (r ExportResult) + func (r ExportResult) Extract() (*BackupRecord, error) + func (r ExportResult) ExtractInto(v interface{}) error + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Backup, error) + func (r GetResult) ExtractInto(v interface{}) error + type ImportBackup struct + AvailabilityZone *string + Container *string + CreatedAt time.Time + DataTimestamp time.Time + Deleted bool + DeletedAt time.Time + DisplayDescription *string + DisplayName *string + DriverInfo interface{} + EncryptionKeyID *string + FailReason *string + Host *string + ID string + Metadata map[string]string + NumDependentBackups *int + ObjectCount *int + ParentID *string + ProjectID string + RestoreVolumeID *string + Service *string + ServiceMetadata *string + Size *int + SnapshotID *string + Status *string + TempSnapshotID *string + TempVolumeID *string + UpdatedAt time.Time + UserID string + VolumeID string + func (r *ImportBackup) UnmarshalJSON(b []byte) error + func (r ImportBackup) MarshalJSON() ([]byte, error) + type ImportOpts BackupRecord + func (opts ImportOpts) ToBackupImportMap() (map[string]interface{}, error) + type ImportResponse struct + ID string + Name string + type ImportResult struct + func Import(client *gophercloud.ServiceClient, opts ImportOpts) (r ImportResult) + func (r ImportResult) Extract() (*ImportResponse, error) + func (r ImportResult) ExtractInto(v interface{}) error + type ListDetailOpts struct + AllTenants bool + Limit int + Marker string + Offset int + Sort string + WithCount bool + func (opts ListDetailOpts) ToBackupListDetailQuery() (string, error) + type ListDetailOptsBuilder interface + ToBackupListDetailQuery func() (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 Restore struct + BackupID string + VolumeID string + VolumeName string + type RestoreOpts struct + Name string + VolumeID string + func (opts RestoreOpts) ToRestoreMap() (map[string]interface{}, error) + type RestoreResult struct + func RestoreFromBackup(client *gophercloud.ServiceClient, id string, opts RestoreOpts) (r RestoreResult) + func (r RestoreResult) Extract() (*Restore, error) + func (r RestoreResult) ExtractInto(v interface{}) 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) ExtractInto(v interface{}) error