Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListBackupsBuilder) pagination.Pager + func ListFiles(client *gophercloud.ServiceClient, opts BackupFilesBuilder) pagination.Pager + func ListRestoreTime(client *gophercloud.ServiceClient, opts ListRestoreTimeBuilder, ...) pagination.Pager + type AutoBackupsPolicyBuilder interface + AutoBackupsPolicyMap func() (map[string]interface{}, error) + type AutoBackupsPolicyOpts struct + BackupPolicy *BackupsPolicy + func (opts AutoBackupsPolicyOpts) AutoBackupsPolicyMap() (map[string]interface{}, error) + type Backup struct + Begintime string + Databases string + Description string + Id string + Instanceid string + Name string + Status string + Type string + type BackupFilesBuilder interface + ToBackupFilesListQuery func() (string, error) + type BackupStrategy struct + KeepDays int + StartTime string + type BackupsFile struct + DownloadLink string + LinkExpiredLink string + Name string + Size int64 + type BackupsFilesPage struct + func (r BackupsFilesPage) IsEmpty() (bool, error) + type BackupsFilesResp struct + Bucket string + FilesList []BackupsFile + func ExtractBackupsFiles(r pagination.Page) (BackupsFilesResp, error) + type BackupsPage struct + func (r BackupsPage) IsEmpty() (bool, error) + type BackupsPolicy struct + KeepDays *int + Period string + StartTime string + type BackupsPolicyResult struct + func GetPolicy(client *gophercloud.ServiceClient, instancesID string) (r BackupsPolicyResult) + func (r BackupsPolicyResult) Extract() (ListAutoBackupsPolicyResp, error) + type BackupsResp struct + BeginTime string + Databases Databases + Datastore Datastore + EndTime string + Id string + InstanceId string + Name string + Size int64 + Status string + Type string + type CreateBackupsBuilder interface + CreateBackupsMap func() (map[string]interface{}, error) + type CreateBackupsOpts struct + Databases []Databases + Description string + InstanceId string + Name string + func (opts CreateBackupsOpts) CreateBackupsMap() (map[string]interface{}, error) + type CreateBackupsResp struct + type CreateBackupsResult struct + func Create(client *gophercloud.ServiceClient, opts CreateBackupsBuilder) (r CreateBackupsResult) + func (r CreateBackupsResult) Extract() (*CreateBackupsResp, error) + type Databases struct + Name string + type Datastore struct + Type string + Version string + type DeletetBackupsResult struct + func Delete(client *gophercloud.ServiceClient, backupid string) (r DeletetBackupsResult) + type Ha struct + Mode string + ReplicationMode string + type ListAutoBackupsPolicyResp struct + type ListBackupFilesOpts struct + BackupId string + func (opts ListBackupFilesOpts) ToBackupFilesListQuery() (string, error) + type ListBackupsBuilder interface + ToBackupsListQuery func() (string, error) + type ListBackupsOpts struct + BackupId string + BackupType string + BeginTime int + EndTime int + InstanceId string + Limit int + Offset int + func (opts ListBackupsOpts) ToBackupsListQuery() (string, error) + type ListBackupsPolicy struct + KeepDays int + Period string + StartTime string + type ListBackupsPolicyResult struct + func UpdatePolicy(client *gophercloud.ServiceClient, opts AutoBackupsPolicyBuilder, ...) (r ListBackupsPolicyResult) + type ListBackupsResp struct + Backups []BackupsResp + TotalCount int + func ExtractBackups(r pagination.Page) (ListBackupsResp, error) + type ListRestoreTimeBuilder interface + ToRestoreTimeListQuery func() (string, error) + type ListRestoreTimeOpts struct + Date string + func (opts ListRestoreTimeOpts) ToRestoreTimeListQuery() (string, error) + type RecoveryBuilder interface + ToRecoveryMap func() (map[string]interface{}, error) + type RecoveryOpts struct + Source Source + Target Target + func (opts RecoveryOpts) ToRecoveryMap() (map[string]interface{}, error) + type RecoveryResp struct + JobId string + type RecoveryResult struct + func Recovery(client *gophercloud.ServiceClient, opts RecoveryBuilder) (r RecoveryResult) + func (r RecoveryResult) Extract() (*RecoveryResp, error) + type RestoreInstanceResp struct + AvailabilityZone string + BackupStrategy BackupStrategy + ConfigurationId string + Datastore Datastore + DiskEncryptionId string + EnterpriseProjectTag string + FlavorRef string + Ha Ha + ID string + Name string + Password string + Port string + Region string + SecurityGroupid string + Status string + SubnetId string + Volume Volume + VpcId string + type RestoreNewRdsBuilder interface + RestoreNewRdsMap func() (map[string]interface{}, error) + type RestoreNewRdsInstanceResp struct + Instance RestoreInstanceResp + JobId string + type RestoreNewRdsOpts struct + AvailabilityZone string + BackupStrategy *BackupStrategy + ConfigurationId string + DiskEncryptionId string + EnterpriseProjectId string + FlavorRef string + Ha *Ha + Name string + Password string + Port string + RestorePoint *RestorePoint + SecurityGroupId string + SubnetId string + TimeZone string + Volume *Volume + VpcId string + func (opts RestoreNewRdsOpts) RestoreNewRdsMap() (map[string]interface{}, error) + type RestoreNewRdsResult struct + func Restore(client *gophercloud.ServiceClient, opts RestoreNewRdsBuilder) (r RestoreNewRdsResult) + func (r RestoreNewRdsResult) Extract() (*RestoreNewRdsInstanceResp, error) + type RestorePoint struct + BackupId string + DatabaseName map[string]string + InstanceId string + RestoreTime int + Type string + type RestoreTime struct + EndTime int + StartTime int + type RestoreTimePage struct + func (r RestoreTimePage) IsEmpty() (bool, error) + type RestoreTimeResp struct + RestoreTimeList []RestoreTime + func ExtractRestoreTime(r pagination.Page) (RestoreTimeResp, error) + type Source struct + BackupId string + DatabaseName map[string]string + InstanceId string + RestoreTime int + Type string + type Target struct + InstanceId string + type Volume struct + Size int + Type string