vz

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 40 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Rendered for darwin/amd64

Index

Constants

View Source
const Enabled = true

Variables

This section is empty.

Functions

func DialQemu

func DialQemu(ctx context.Context, unixSock string) (*os.File, error)

DialQemu support connecting to QEMU supported network stack via unix socket. Returns os.File, connected dgram connection to be used for vz.

func PassFDToUnix

func PassFDToUnix(unixSock string) (*os.File, error)

Types

type LimaVzDriver

type LimaVzDriver struct {
	Instance *limatype.Instance

	SSHLocalPort int
	// contains filtered or unexported fields
}

func New

func New() *LimaVzDriver

func (*LimaVzDriver) AdditionalSetupForSSH

func (l *LimaVzDriver) AdditionalSetupForSSH(_ context.Context) error

func (*LimaVzDriver) ApplySnapshot

func (l *LimaVzDriver) ApplySnapshot(_ context.Context, _ string) error

func (*LimaVzDriver) BootScripts

func (l *LimaVzDriver) BootScripts() (map[string][]byte, error)

func (*LimaVzDriver) ChangeDisplayPassword

func (l *LimaVzDriver) ChangeDisplayPassword(_ context.Context, _ string) error

func (*LimaVzDriver) Configure

func (l *LimaVzDriver) Configure(inst *limatype.Instance) *driver.ConfiguredDriver

func (*LimaVzDriver) Create

func (l *LimaVzDriver) Create(_ context.Context) error

func (*LimaVzDriver) CreateDisk

func (l *LimaVzDriver) CreateDisk(ctx context.Context) error

func (*LimaVzDriver) CreateSnapshot

func (l *LimaVzDriver) CreateSnapshot(_ context.Context, _ string) error

func (*LimaVzDriver) Delete

func (l *LimaVzDriver) Delete(_ context.Context) error

func (*LimaVzDriver) DeleteSnapshot

func (l *LimaVzDriver) DeleteSnapshot(_ context.Context, _ string) error

func (*LimaVzDriver) DisplayConnection

func (l *LimaVzDriver) DisplayConnection(_ context.Context) (string, error)

func (*LimaVzDriver) FillConfig

func (l *LimaVzDriver) FillConfig(ctx context.Context, cfg *limatype.LimaYAML, _ string) error

func (*LimaVzDriver) ForwardGuestAgent

func (l *LimaVzDriver) ForwardGuestAgent() bool

func (*LimaVzDriver) GuestAgentConn

func (l *LimaVzDriver) GuestAgentConn(_ context.Context) (net.Conn, string, error)

func (*LimaVzDriver) Info

func (l *LimaVzDriver) Info() driver.Info

func (*LimaVzDriver) InspectStatus

func (l *LimaVzDriver) InspectStatus(_ context.Context, _ *limatype.Instance) string

func (*LimaVzDriver) ListSnapshots

func (l *LimaVzDriver) ListSnapshots(_ context.Context) (string, error)

func (*LimaVzDriver) Register

func (l *LimaVzDriver) Register(_ context.Context) error

func (*LimaVzDriver) RunGUI

func (l *LimaVzDriver) RunGUI() error

func (*LimaVzDriver) SSHAddress

func (l *LimaVzDriver) SSHAddress(_ context.Context) (string, error)

func (*LimaVzDriver) Start

func (l *LimaVzDriver) Start(ctx context.Context) (chan error, error)

func (*LimaVzDriver) Stop

func (l *LimaVzDriver) Stop(_ context.Context) error

func (*LimaVzDriver) Unregister

func (l *LimaVzDriver) Unregister(_ context.Context) error

func (*LimaVzDriver) Validate

func (l *LimaVzDriver) Validate(ctx context.Context) error

Jump to

Keyboard shortcuts

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