client

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: 13 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriverClient

type DriverClient struct {
	Conn      *grpc.ClientConn
	DriverSvc pb.DriverClient
	// contains filtered or unexported fields
}

func NewDriverClient

func NewDriverClient(socketPath string, logger *logrus.Logger) (*DriverClient, error)

func (*DriverClient) AdditionalSetupForSSH

func (d *DriverClient) AdditionalSetupForSSH(ctx context.Context) error

func (*DriverClient) ApplySnapshot

func (d *DriverClient) ApplySnapshot(ctx context.Context, id string) error

func (*DriverClient) BootScripts

func (d *DriverClient) BootScripts(ctx context.Context) (map[string][]byte, error)

func (*DriverClient) ChangeDisplayPassword

func (d *DriverClient) ChangeDisplayPassword(ctx context.Context, password string) error

func (*DriverClient) Configure

func (*DriverClient) Create

func (d *DriverClient) Create(ctx context.Context) error

func (*DriverClient) CreateDisk

func (d *DriverClient) CreateDisk(ctx context.Context) error

func (*DriverClient) CreateSnapshot

func (d *DriverClient) CreateSnapshot(ctx context.Context, tag string) error

func (*DriverClient) Delete

func (d *DriverClient) Delete(ctx context.Context) error

func (*DriverClient) DeleteSnapshot

func (d *DriverClient) DeleteSnapshot(ctx context.Context, id string) error

func (*DriverClient) DisplayConnection

func (d *DriverClient) DisplayConnection(ctx context.Context) (string, error)

func (*DriverClient) ForwardGuestAgent

func (d *DriverClient) ForwardGuestAgent(ctx context.Context) bool

func (*DriverClient) GuestAgentConn

func (d *DriverClient) GuestAgentConn(ctx context.Context) (net.Conn, string, error)

func (*DriverClient) Info

func (d *DriverClient) Info(ctx context.Context) driver.Info

func (*DriverClient) InspectStatus

func (d *DriverClient) InspectStatus(_ context.Context, _ *limatype.Instance) string

func (*DriverClient) ListSnapshots

func (d *DriverClient) ListSnapshots(ctx context.Context) ([]driver.Snapshot, error)

func (*DriverClient) RunGUI

func (d *DriverClient) RunGUI(ctx context.Context) error

func (*DriverClient) SSHAddress

func (d *DriverClient) SSHAddress(ctx context.Context) (string, error)

func (*DriverClient) Start

func (d *DriverClient) Start(ctx context.Context) (chan error, error)

Start initiates the driver instance and receives streaming responses. It blocks until receiving the initial success response, then spawns a goroutine to consume subsequent error messages from the stream. Any errors from the driver are sent to the channel.

func (*DriverClient) Stop

func (d *DriverClient) Stop(ctx context.Context) error

func (*DriverClient) Validate

func (d *DriverClient) Validate(ctx context.Context) error

Jump to

Keyboard shortcuts

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