Skip to main content

Module client

Module client 

Source
Expand description

A small, synchronous incusd REST client over the local unix socket.

Deliberately not the incus binary: a CLI client that hangs (one incus init sat ~11 minutes with no matching server-side operation) cannot be diagnosed or bounded from outside. Here every request has a socket timeout, and every mutation is a server operation waited on with a deadline, so a stall surfaces as the step that stalled.

Modules§

console
Each instance’s console output, kept in one SQLite database per host so that every reader sees all of it.

Structs§

Client
Connection to incusd.
Timeouts
Deadlines used by the client. Every request has one; there is no unbounded wait anywhere except the output of exec, which by design has no default timeout.

Functions§

oci_unsupported
The sentence for an incus (GET /1.0 metadata) without the instance_oci API extension, which every OCI image needs.