disk

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

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 (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