hcs

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 30 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 windows/amd64

Index

Constants

View Source
const Enabled = true

Variables

This section is empty.

Functions

This section is empty.

Types

type LimaHcsDriver

type LimaHcsDriver struct {
	Instance *limatype.Instance

	SSHLocalPort int
	// contains filtered or unexported fields
}

func New

func New() *LimaHcsDriver

func (*LimaHcsDriver) AdditionalSetupForSSH

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

func (*LimaHcsDriver) ApplySnapshot

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

func (*LimaHcsDriver) BootScripts

func (l *LimaHcsDriver) BootScripts(_ context.Context) (map[string][]byte, error)

func (*LimaHcsDriver) ChangeDisplayPassword

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

func (*LimaHcsDriver) Configure

func (*LimaHcsDriver) Create

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

func (*LimaHcsDriver) CreateDisk

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

func (*LimaHcsDriver) CreateSnapshot

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

func (*LimaHcsDriver) Delete

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

func (*LimaHcsDriver) DeleteSnapshot

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

func (*LimaHcsDriver) DisplayConnection

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

func (*LimaHcsDriver) ForwardGuestAgent

func (l *LimaHcsDriver) ForwardGuestAgent(_ context.Context) bool

func (*LimaHcsDriver) GuestAgentConn

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

GuestAgentConn returns the guest agent connection, or nil (if forwarded by ssh). As of 08-01-2024, github.com/mdlayher/vsock does not natively support vsock on Windows, so use the winio library to create the connection.

func (*LimaHcsDriver) Info

func (*LimaHcsDriver) InspectStatus

func (l *LimaHcsDriver) InspectStatus(ctx context.Context, inst *limatype.Instance) string

func (*LimaHcsDriver) ListSnapshots

func (l *LimaHcsDriver) ListSnapshots(_ context.Context) ([]driver.Snapshot, error)

func (*LimaHcsDriver) RunGUI

func (l *LimaHcsDriver) RunGUI(_ context.Context) error

func (*LimaHcsDriver) SSHAddress

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

func (*LimaHcsDriver) Start

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

func (*LimaHcsDriver) Stop

func (l *LimaHcsDriver) Stop(ctx context.Context) error

func (*LimaHcsDriver) Validate

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

Jump to

Keyboard shortcuts

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