subcmd

package
v0.0.0-...-ec8d7ed Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RAW_FORMAT   = "raw"
	QCOW2_FORMAT = "qcow2"
)

only raw and qcow2 format is supported

View Source
const (
	BLOCK_SIZE = qcow2.DEFAULT_SECTOR_SIZE //block size use default sector size (512)
)

Variables

This section is empty.

Functions

func InfoQcow2

func InfoQcow2(filename string, detail bool, pretty bool) error

func NewCommand

func NewCommand() *cobra.Command

Types

type CreateOptions

type CreateOptions struct {
	FilePath    string
	BackingPath string
	Size        string
	SubCluster  bool
	DataFile    string
}

type DdOptions

type DdOptions struct {
	InputFile    string
	OutputFile   string
	InputFormat  string
	OutputFormat string
	L2CacheSize  string
}

type InfoOptions

type InfoOptions struct {
	FilePath string
	Pretty   bool
	Detail   bool
}

Jump to

Keyboard shortcuts

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