vz

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Enabled = false

Variables

View Source
var ErrUnsupported = errors.New("vm driver 'vz' needs macOS 13 or later (Hint: try recompiling Lima if you are seeing this error on macOS 13)")

Functions

func EnsureDisk

func EnsureDisk(_ context.Context, inst *store.Instance) error

Types

type LimaVzDriver

type LimaVzDriver struct {
	Instance *store.Instance

	SSHLocalPort int
	// contains filtered or unexported fields
}

func New

func New(_ *store.Instance, _ int) *LimaVzDriver

func (*LimaVzDriver) ApplySnapshot

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

func (*LimaVzDriver) CanRunGUI

func (l *LimaVzDriver) CanRunGUI() bool

func (*LimaVzDriver) ChangeDisplayPassword

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

func (*LimaVzDriver) CreateDisk

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

func (*LimaVzDriver) CreateSnapshot

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

func (*LimaVzDriver) DeleteSnapshot

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

func (*LimaVzDriver) ForwardGuestAgent

func (l *LimaVzDriver) ForwardGuestAgent() bool

func (*LimaVzDriver) GetDisplayConnection

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

func (*LimaVzDriver) GuestAgentConn

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

func (*LimaVzDriver) Initialize

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

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) Start

func (l *LimaVzDriver) Start(_ 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) VSockPort

func (l *LimaVzDriver) VSockPort() int

func (*LimaVzDriver) Validate

func (l *LimaVzDriver) Validate() error

func (*LimaVzDriver) VirtioPort

func (l *LimaVzDriver) VirtioPort() string

Jump to

Keyboard shortcuts

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