client

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCredentials added in v0.21.0

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

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

func (*GuestAgentClient) Info

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

func (*GuestAgentClient) Inotify added in v0.21.0

Jump to

Keyboard shortcuts

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