Documentation ¶
Index ¶
- func List(client *golangsdk.ServiceClient, opts ListOptsBuilder) pagination.Pager
- type GetResult
- type ListOpts
- type ListOptsBuilder
- type OpErrorInfo
- type OpExtendInfoBackup
- type OpExtendInfoCommon
- type OpExtendInfoDelete
- type OpExtendInfoRemoveResources
- type OpExtendInfoReplication
- type OpExtendInfoRestore
- type OpExtendInfoSync
- type OpExtendInfoVaultDelete
- type OpExtraInfo
- type OperationLog
- type Resource
- type ResourceExtraInfo
- type ResourceExtraInfoIncludeVolumes
- type TaskPage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *golangsdk.ServiceClient, opts ListOptsBuilder) pagination.Pager
Types ¶
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func (GetResult) Extract ¶
func (r GetResult) Extract() (*OperationLog, error)
type ListOpts ¶
type ListOpts struct { EndTime string `q:"end_time"` EnterpriseProjectId string `q:"enterprise_project_id"` Limit int `q:"limit"` Offset int `q:"offset"` OperationType string `q:"operation_type"` ProviderId string `q:"provider_id"` ResourceId string `q:"resource_id"` ResourceName string `q:"resource_name"` StartTime string `q:"start_time"` Status string `q:"status"` VaultId string `q:"vault_id"` VaultName string `q:"vault_name"` }
func (ListOpts) ToTaskListQuery ¶
type ListOptsBuilder ¶
type OpErrorInfo ¶
type OpExtendInfoBackup ¶
type OpExtendInfoBackup struct { AppConsistencyErrorCode string `json:"app_consistency_error_code"` AppConsistencyErrorMessage string `json:"app_consistency_error_message"` AppConsistencyStatus string `json:"app_consistency_status"` BackupID string `json:"backup_id"` BackupName string `json:"backup_name"` Incremental string `json:"incremental"` }
type OpExtendInfoCommon ¶
type OpExtendInfoDelete ¶
type OpExtendInfoReplication ¶
type OpExtendInfoReplication struct { DestinationBackupID string `json:"destination_backup_id"` DestinationCheckpointID string `json:"destination_checkpoint_id"` DestinationProjectID string `json:"destination_project_id"` DestinationRegion string `json:"destination_region"` SourceBackupID string `json:"source_backup_id"` SourceCheckpointID string `json:"source_checkpoint_id"` SourceProjectID string `json:"source_project_id"` SourceRegion string `json:"source_region"` SourceBackupName string `json:"source_backup_name"` DestinationBackupName string `json:"destination_backup_name"` }
type OpExtendInfoRestore ¶
type OpExtendInfoSync ¶
type OpExtendInfoVaultDelete ¶
type OpExtraInfo ¶
type OpExtraInfo struct { Backup OpExtendInfoBackup `json:"backup"` Common OpExtendInfoCommon `json:"common"` Delete OpExtendInfoDelete `json:"delete"` Sync OpExtendInfoSync `json:"sync"` RemoveResources OpExtendInfoRemoveResources `json:"remove_resources"` Replication OpExtendInfoReplication `json:"replication"` Resource Resource `json:"resource"` Restore OpExtendInfoRestore `json:"restore"` VaultDelete OpExtendInfoVaultDelete `json:"vault_delete"` }
type OperationLog ¶
type OperationLog struct { CheckpointID string `json:"checkpoint_id"` CreatedAt string `json:"created_at"` EndedAt string `json:"ended_at"` ErrorInfo OpErrorInfo `json:"error_info"` ExtraInfo OpExtraInfo `json:"extra_info"` ID string `json:"id"` OperationType string `json:"operation_type"` PolicyID string `json:"policy_id"` ProjectID string `json:"project_id"` ProviderID string `json:"provider_id"` StartedAt string `json:"started_at"` Status string `json:"status"` UpdatedAt string `json:"updated_at"` VaultID string `json:"vault_id"` VaultName string `json:"vault_name"` }
func ExtractTasks ¶
func ExtractTasks(r pagination.Page) ([]OperationLog, error)
type Resource ¶
type Resource struct { ExtraInfo ResourceExtraInfo `json:"extra_info"` ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` }
type ResourceExtraInfo ¶
type ResourceExtraInfo struct { ExcludeVolumes []string `json:"exclude_volumes"` IncludeVolumes []ResourceExtraInfoIncludeVolumes `json:"include_volumes"` }
type TaskPage ¶
type TaskPage struct {
pagination.SinglePageBase
}
Click to show internal directories.
Click to hide internal directories.