cmd

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultOutputFormat   = "qcow2"
	DefaultOutputFileName = "volume"
	QEMUImageBinary       = "qemu-img"
	BackupFilePath        = "backup.img"
	BackupFileConverted   = "backup.img.converted"
	BackingFileCopy       = "backing.img.cp"

	PeriodicRefreshIntervalInSeconds = 2
)

Variables

View Source
var SupportedImageFormats = []string{
	"qcow2",
	"raw",
}

Functions

func AddReplicaCmd

func AddReplicaCmd() cli.Command

func BackupCmd

func BackupCmd() cli.Command

func BackupCreateCmd

func BackupCreateCmd() cli.Command

func BackupRestoreCmd

func BackupRestoreCmd() cli.Command

func BackupStatusCmd

func BackupStatusCmd() cli.Command

func CheckBackingFileFormat

func CheckBackingFileFormat(backingFilePath string) error

func CleanupTempFiles

func CleanupTempFiles(outputFile string, files ...string)

func ControllerCmd

func ControllerCmd() cli.Command

func ConvertImage

func ConvertImage(srcFilepath, dstFilepath, format string) error

func CopyFile

func CopyFile(backingFilepath, outputFile string) error

func ExpandCmd

func ExpandCmd() cli.Command

func ExportVolumeCmd added in v1.2.0

func ExportVolumeCmd() cli.Command

func FrontendCmd

func FrontendCmd() cli.Command

func FrontendShutdownCmd

func FrontendShutdownCmd() cli.Command

func FrontendStartCmd

func FrontendStartCmd() cli.Command

func InfoCmd

func InfoCmd() cli.Command

func Journal

func Journal() cli.Command

Journal flush operations since last flush

func LsReplicaCmd

func LsReplicaCmd() cli.Command

func MergeSnapshotsToBackingFile

func MergeSnapshotsToBackingFile(snapFilepath, backingFilepath string) error

func RebuildStatusCmd

func RebuildStatusCmd() cli.Command

func ReplicaCmd

func ReplicaCmd() cli.Command

func RestoreStatusCmd

func RestoreStatusCmd() cli.Command

func RestoreToFileCmd

func RestoreToFileCmd() cli.Command

func RmReplicaCmd

func RmReplicaCmd() cli.Command

func SnapshotCloneCmd added in v1.2.0

func SnapshotCloneCmd() cli.Command

func SnapshotCloneStatusCmd added in v1.2.0

func SnapshotCloneStatusCmd() cli.Command

func SnapshotCmd

func SnapshotCmd() cli.Command

func SnapshotCreateCmd

func SnapshotCreateCmd() cli.Command

func SnapshotInfoCmd

func SnapshotInfoCmd() cli.Command

func SnapshotLsCmd

func SnapshotLsCmd() cli.Command

func SnapshotPurgeCmd

func SnapshotPurgeCmd() cli.Command

func SnapshotPurgeStatusCommand

func SnapshotPurgeStatusCommand() cli.Command

func SnapshotRevertCmd

func SnapshotRevertCmd() cli.Command

func SnapshotRmCmd

func SnapshotRmCmd() cli.Command

func StartWithReplicasCmd

func StartWithReplicasCmd() cli.Command

func SyncAgentCmd

func SyncAgentCmd() cli.Command

func SyncAgentServerResetCmd

func SyncAgentServerResetCmd() cli.Command

func VerifyRebuildReplicaCmd added in v1.1.0

func VerifyRebuildReplicaCmd() cli.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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