app

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 37 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 added in v0.2.0

func BackupCmd() cli.Command

func BackupCreateCmd added in v0.2.0

func BackupCreateCmd() cli.Command

func BackupRestoreCmd added in v0.2.0

func BackupRestoreCmd() cli.Command

func BackupStatusCmd added in v0.6.0

func BackupStatusCmd() cli.Command

func CheckBackingFileFormat added in v0.4.1

func CheckBackingFileFormat(backingFilePath string) error

func CleanupTempFiles added in v0.4.1

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

func ControllerCmd

func ControllerCmd() cli.Command

func ConvertImage added in v0.4.1

func ConvertImage(srcFilepath, dstFilepath, format string) error

func CopyFile added in v0.4.1

func CopyFile(backingFilepath, outputFile string) error

func InfoCmd added in v0.3.0

func InfoCmd() cli.Command

func Journal added in v0.2.0

func Journal() cli.Command

Journal flush operations since last flush

func LsReplicaCmd

func LsReplicaCmd() cli.Command

func MergeSnapshotsToBackingFile added in v0.4.1

func MergeSnapshotsToBackingFile(snapFilepath, backingFilepath string) error

func ReplicaCmd

func ReplicaCmd() cli.Command

func RestoreStatusCmd added in v0.6.0

func RestoreStatusCmd() cli.Command

func RestoreToFileCmd added in v0.4.1

func RestoreToFileCmd() cli.Command

func RmReplicaCmd

func RmReplicaCmd() cli.Command

func SnapshotCmd

func SnapshotCmd() cli.Command

func SnapshotCreateCmd

func SnapshotCreateCmd() cli.Command

func SnapshotInfoCmd added in v0.3.0

func SnapshotInfoCmd() cli.Command

func SnapshotLsCmd

func SnapshotLsCmd() cli.Command

func SnapshotPurgeCmd added in v0.3.0

func SnapshotPurgeCmd() cli.Command

func SnapshotPurgeStatusCommand added in v0.6.0

func SnapshotPurgeStatusCommand() cli.Command

func SnapshotRevertCmd added in v0.2.0

func SnapshotRevertCmd() cli.Command

func SnapshotRmCmd

func SnapshotRmCmd() cli.Command

func StartWithReplicasCmd added in v0.6.0

func StartWithReplicasCmd() cli.Command

func SyncAgentCmd

func SyncAgentCmd() cli.Command

func SyncAgentServerResetCmd added in v0.6.0

func SyncAgentServerResetCmd() 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