Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportPost ¶
type ImportPost struct {
Pools []api.StoragePoolsPost `json:"pools" yaml:"pools"`
}
ImportPost is used to initiate a recovert import.
type ValidatePost ¶
type ValidatePost struct {
Pools []api.StoragePoolsPost `json:"pools" yaml:"pools"`
}
ValidatePost is used to initiate a recovery validation scan.
type ValidateResult ¶
type ValidateResult struct { UnknownVolumes []ValidateVolume // Volumes that could be imported. DependencyErrors []string // Errors that are preventing import from proceeding. }
ValidateResult returns the result of the validation scan.
type ValidateVolume ¶
type ValidateVolume struct { Name string `json:"name" yaml:"name"` // Name of volume. Type string `json:"type" yaml:"type"` // Same as Type from StorageVolumesPost (container, custom or virtual-machine). SnapshotCount int `json:"snapshotCount" yaml:"snapshotCount"` // Count of snapshots found for volume. Project string `json:"project" yaml:"project"` // Project the volume belongs to. Pool string `json:"pool" yaml:"pool"` // Pool the volume belongs to. }
ValidateVolume provides info about a missing volume that the recovery validation scan found.
Click to show internal directories.
Click to hide internal directories.