package
6.6.0
Repository: https://github.com/lxc/incus.git
Documentation: pkg.go.dev

# Functions

ConnectIncus lets you connect to a remote Incus daemon over HTTPs.
ConnectIncusHTTP lets you connect to a VM agent over a VM socket.
ConnectIncusHTTPWithContext lets you connect to a VM agent over a VM socket with context.Context.
ConnectIncusUnix lets you connect to a remote Incus daemon over a local unix socket.
ConnectIncusUnixWithContext lets you connect to a remote Incus daemon over a local unix socket with context.Context.
ConnectIncusWithContext lets you connect to a remote Incus daemon over HTTPs with context.Context.
ConnectOCI lets you connect to a remote OCI image registry over HTTPs.
ConnectPublicIncus lets you connect to a remote public Incus daemon over HTTPs.
ConnectPublicIncusWithContext lets you connect to a remote public Incus daemon over HTTPs with context.Context.
ConnectSimpleStreams lets you connect to a remote SimpleStreams image server over HTTPs.

# Variables

ErrOIDCExpired is returned when the token is expired and we can't retry the request ourselves.

# Structs

The BackupFileRequest struct is used for a backup download request.
The BackupFileResponse struct is used as the response for backup downloads.
ConnectionArgs represents a set of common connection properties.
The ConnectionInfo struct represents general information for a connection.
The EventListener struct is used to interact with an Incus event stream.
The EventTarget struct is returned to the caller of AddHandler and used in RemoveHandler.
The ImageCopyArgs struct is used to pass additional options during image copy.
The ImageCreateArgs struct is used for direct image upload.
The ImageFileRequest struct is used for an image download request.
The ImageFileResponse struct is used as the response for image downloads.
The InstanceBackupArgs struct is used when creating a instance from a backup.
The InstanceConsoleArgs struct is used to pass additional options during a instance console session.
The InstanceConsoleLogArgs struct is used to pass additional options during a instance console log request.
The InstanceCopyArgs struct is used to pass additional options during instance copy.
The InstanceExecArgs struct is used to pass additional options during instance exec.
The InstanceFileArgs struct is used to pass the various options for a instance file upload.
The InstanceFileResponse struct is used as part of the response for a instance file download.
The InstanceSnapshotCopyArgs struct is used to pass additional options during instance copy.
ProtocolIncus represents an Incus API server.
ProtocolOCI implements an OCI registry API client.
ProtocolSimpleStreams implements a SimpleStreams API client.
The StoragePoolBucketBackupArgs struct is used when creating a storage volume from a backup.
The StoragePoolVolumeCopyArgs struct is used to pass additional options during storage volume copy.
The StoragePoolVolumeMoveArgs struct is used to pass additional options during storage volume move.
The StorageVolumeBackupArgs struct is used when creating a storage volume from a backup.

# Interfaces

HTTPTransporter represents a wrapper around *http.Transport.
The ImageServer type represents a read-only image server.
The InstanceServer type represents a full featured Incus server.
The Operation type represents a currently running operation.
The RemoteOperation type represents an Operation that may be using multiple servers.
The Server type represents a generic read-only server.