vmware_nbdkit

package
v0.0.0-...-fb78d4b Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const MaxChunkSize = 64 * 1024 * 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type NbdkitServer

type NbdkitServer struct {
	Servers *NbdkitServers
	Disk    *types.VirtualDisk
	Nbdkit  *nbdkit.NbdkitServer
}

func (*NbdkitServer) FullCopyToTarget

func (s *NbdkitServer) FullCopyToTarget(t target.Target, path string, targetIsClean bool) error

func (*NbdkitServer) IncrementalCopyToTarget

func (s *NbdkitServer) IncrementalCopyToTarget(ctx context.Context, t target.Target, path string) error

func (*NbdkitServer) SyncToTarget

func (s *NbdkitServer) SyncToTarget(ctx context.Context, t target.Target, runV2V bool) error

type NbdkitServers

type NbdkitServers struct {
	VddkConfig     *VddkConfig
	VirtualMachine *object.VirtualMachine
	SnapshotRef    types.ManagedObjectReference
	Servers        []*NbdkitServer
}

func NewNbdkitServers

func NewNbdkitServers(vddk *VddkConfig, vm *object.VirtualMachine) *NbdkitServers

func (*NbdkitServers) MigrationCycle

func (s *NbdkitServers) MigrationCycle(ctx context.Context, runV2V bool) error

func (*NbdkitServers) Start

func (s *NbdkitServers) Start(ctx context.Context) error

func (*NbdkitServers) Stop

func (s *NbdkitServers) Stop(ctx context.Context) error

type VddkConfig

type VddkConfig struct {
	Debug       bool
	Endpoint    *url.URL
	Thumbprint  string
	Compression nbdkit.CompressionMethod
}

Jump to

Keyboard shortcuts

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