vhd

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter interface {
	ConvertToVHD(f *os.File) error
	ConvertFromVHD(f *os.File) error
}

Converter converts a disk image to and from a VHD format.

type FixedVHDConverter

type FixedVHDConverter struct{}

FixedVHDConverter converts a disk image to a fixed VHD (not VHDX)

func (FixedVHDConverter) ConvertFromVHD

func (FixedVHDConverter) ConvertFromVHD(f *os.File) error

ConvertFromVHD converts a fixed VHD to a normal disk image.

func (FixedVHDConverter) ConvertToVHD

func (FixedVHDConverter) ConvertToVHD(f *os.File) error

ConvertToVHD Implementation for converting disk image to a fixed VHD

Jump to

Keyboard shortcuts

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