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

func NewCredentials

func NewCredentials() credentials.TransportCredentials

NewCredentials returns a lima credential implementing credentials.TransportCredentials.

Types

type GuestAgentClient

type GuestAgentClient struct {
	// contains filtered or unexported fields
}

func NewGuestAgentClient

func NewGuestAgentClient(dialFn func(ctx context.Context) (net.Conn, error)) (*GuestAgentClient, error)

func (*GuestAgentClient) Close added in v2.1.2

func (c *GuestAgentClient) Close() error

Close releases the underlying gRPC connection. It is safe to call on a nil receiver or a client whose connection has already been closed.

func (*GuestAgentClient) Events

func (c *GuestAgentClient) Events(ctx context.Context, eventCb func(response *api.Event) error) error

func (*GuestAgentClient) Info

func (c *GuestAgentClient) Info(ctx context.Context) (*api.Info, error)

func (*GuestAgentClient) Inotify

func (*GuestAgentClient) SyncTime added in v2.1.0

func (c *GuestAgentClient) SyncTime(ctx context.Context, hostTime time.Time) (*api.TimeSyncResponse, error)

func (*GuestAgentClient) Tunnel

Jump to

Keyboard shortcuts

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