disk

package
v0.0.0-...-82b092a Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(rs io.ReadSeeker, cache vm.Cache[string, []byte]) (*io.SectionReader, error)

Types

type Disk

type Disk interface {
	NewReader(io.ReadSeeker, vm.Cache[string, []byte]) (*io.SectionReader, error)
}

Disk defines virtual machine disk images like VMDK, VDI and VHD.

type VMDK

type VMDK struct{}

func (VMDK) NewReader

func (V VMDK) NewReader(rs io.ReadSeeker, cache vm.Cache[string, []byte]) (*io.SectionReader, error)

Jump to

Keyboard shortcuts

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