client

package
v2.0.0-alpha.0 Latest Latest
Warning

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

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

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

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

func (*DriverClient) BootScripts

func (d *DriverClient) BootScripts() (map[string][]byte, error)

func (*DriverClient) ChangeDisplayPassword

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

func (*DriverClient) Configure

func (d *DriverClient) Configure(inst *limatype.Instance) *driver.ConfiguredDriver

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, tag string) error

func (*DriverClient) DisplayConnection

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

func (*DriverClient) FillConfig

func (d *DriverClient) FillConfig(_ context.Context, _ *limatype.LimaYAML, _ string) error

func (*DriverClient) ForwardGuestAgent

func (d *DriverClient) ForwardGuestAgent() bool

func (*DriverClient) GuestAgentConn

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

func (*DriverClient) Info

func (d *DriverClient) Info() driver.Info

func (*DriverClient) InspectStatus

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

func (*DriverClient) ListSnapshots

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

func (*DriverClient) RunGUI

func (d *DriverClient) RunGUI() 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)

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