You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
575 B
32 lines
575 B
package backup
|
|
|
|
// Main info about backup
|
|
type InfoBackup struct {
|
|
// Compute ID
|
|
ComputeID uint64 `json:"computeId"`
|
|
|
|
// Disk ID
|
|
DiskID uint64 `json:"diskId"`
|
|
|
|
// Backup path
|
|
BackupPath string `json:"backupPath"`
|
|
|
|
// Possible error
|
|
Error string `json:"error"`
|
|
}
|
|
|
|
// CreateDisksBackup response
|
|
type ListInfoBackup []InfoBackup
|
|
|
|
// RestoreDiskFromFile response
|
|
type InfoRestoredDisk struct {
|
|
// Compute ID
|
|
ComputeID uint64 `json:"computeId"`
|
|
|
|
// Disk ID
|
|
DiskID uint64 `json:"diskId"`
|
|
}
|
|
|
|
// RestoreDisksFromFile response
|
|
type ListInfoRestoredDisk []InfoRestoredDisk
|