recover

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL