Skip to main content

Module daemon_api

Module daemon_api 

Source
Expand description

Wire types of the daemon-control routes on the local API, shared by the daemon (which answers them) and the tray UI (which reads them).

See docs/local-api.md#daemon-control for the routes.

Structs§

ConfigRejection
Why PUT /daemon/config refused a config.
DaemonStatus
GET /daemon/status: everything the tray UI shows except the logs.
EditableConfig
The operator-editable part of the config: what the Config tab shows and PUT /daemon/config accepts. Credentials and registration state are never part of it.
ErrorBody
An error answer: a stable code plus a human message.
JobWire
One job on the wire: running or finished, whatever its source.
LogsPage
GET /daemon/logs?after=<seq>.
ModelEntry
One GET /models entry, as the tray UI reads it.
ModelSourceBrief
The engine part of a catalogue model’s source, as GET /models lists it.

Enums§

JobStatus
Where a job is in its life.

Constants§

MIN_AUTO_UPDATE_INTERVAL_SECS
Shortest auto-update interval accepted, in seconds. The release feed is GitHub’s API; polling it faster than once a minute buys nothing.