qemuimg

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Compression types.
	CompressionNone = CompressionType("")
	CompressionZlib = CompressionType("zlib")
	CompressionZstd = CompressionType("zstd")

	// Image formats.
	FormatQcow2 = Format("qcow2")
	FormatRaw   = Format("raw")
)

Variables

This section is empty.

Functions

func Convert

func Convert(src, dst string, dstFormat Format, compressionType CompressionType) error

func Create

func Create(path string, format Format, size int64, backingFile string, backingFormat Format) error

Types

type CompressionType

type CompressionType string

type Format

type Format string

Jump to

Keyboard shortcuts

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