Versions in this module Expand all Collapse all v0 v0.1.1 Apr 23, 2024 Changes in this version + const ConfigPath + const EventsPath + const InstanceInfoPath + const ListDevicesPath + const MetadataPath + const SocketPath + var UnexpectedStatusCode = errors.New("unexpected status code") + func IsInsideInstance() bool + type GuestClient struct + func NewClient() *GuestClient + func (g *GuestClient) Config(key string) (string, error) + func (g *GuestClient) Devices() (map[string]map[string]string, error) + func (g *GuestClient) HasConfig(key string) (bool, error) + func (g *GuestClient) Info() (*incus.InstanceInfo, error) + func (g *GuestClient) ListConfig() ([]string, error) + func (g *GuestClient) ListenForEvents(ctx context.Context, callback func(*incus.Event), events ...incus.EventType) error + func (g *GuestClient) Metadata() (string, error) + func (g *GuestClient) MustConfig(key string) string v0.1.0 Apr 23, 2024