incusos

package
v6.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents an IncusOS API client.

func NewClient

func NewClient() (*Client, error)

NewClient instantiates a new IncusOS API client.

func (*Client) GetSystemNetwork

func (c *Client) GetSystemNetwork() (*osapi.SystemNetwork, error)

GetSystemNetwork returns the IncusOS network configuration and state.

func (*Client) IsServiceEnabled

func (c *Client) IsServiceEnabled(name string) (bool, error)

IsServiceEnabled checks if the provided service is currently enabled.

Jump to

Keyboard shortcuts

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