backend

module
v0.0.0-...-44b29c8 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0

Directories

Path Synopsis
cmd
handlers/assistant
Package assistant spawns an Agent Client Protocol agent as the session user and relays its stdio to the browser.
Package assistant spawns an Agent Client Protocol agent as the session user and relays its stdio to the browser.
handlers/filebrowser/iteminfo
Package iteminfo provides file and resource information structures and utilities
Package iteminfo provides file and resource information structures and utilities
handlers/indexer
Package indexer provides shared utilities for communicating with the filesystem indexer service over its unix socket.
Package indexer provides shared utilities for communicating with the filesystem indexer service over its unix socket.
handlers/monitoring
Package monitoring provides shared utilities for communicating with the linuxio-monitoring daemon over its two unix sockets.
Package monitoring provides shared utilities for communicating with the linuxio-monitoring daemon over its two unix sockets.
handlers/network
bridge/handlers/network/log_unit.go
bridge/handlers/network/log_unit.go
handlers/network/internal/netdbus
Package netdbus holds the netplan and systemd-networkd D-Bus calls shared by the interface-configuration writers and the host-bridge engine.
Package netdbus holds the netplan and systemd-networkd D-Bus calls shared by the interface-configuration writers and the host-bridge engine.
internal/acpagents
Package acpagents is the catalogue of Agent Client Protocol agents LinuxIO can launch.
Package acpagents is the catalogue of Agent Client Protocol agents LinuxIO can launch.
internal/acpagents/acpagentstest
Package acpagentstest lays out fake agent installs for tests.
Package acpagentstest lays out fake agent installs for tests.
internal/apigen command
internal/dockerclient
Package dockerclient owns the bridge's shared Docker client.
Package dockerclient owns the bridge's shared Docker client.
internal/goroutinelabel
Package goroutinelabel attaches runtime/pprof labels to long-lived goroutines.
Package goroutinelabel attaches runtime/pprof labels to long-lived goroutines.
internal/jobsclient
Package jobsclient connects to the caller's own job host: the bridge's side of a host connection.
Package jobsclient connects to the caller's own job host: the bridge's side of a host connection.
internal/jobshost
Package jobshost is the per-user job host, linuxio-jobs@<uid>.service: the bridge binary in a second mode that runs Mutation jobs for the bridges of one uid and records them in the job store.
Package jobshost is the per-user job host, linuxio-jobs@<uid>.service: the bridge binary in a second mode that runs Mutation jobs for the bridges of one uid and records them in the job store.
internal/streamrelay
Package streamrelay relays a yamux duplex stream to a local connection (PTY, VNC socket, docker exec, agent stdio) and writes stream-level errors.
Package streamrelay relays a yamux duplex stream to a local connection (PTY, VNC socket, docker exec, agent stdio) and writes stream-level errors.
internal/usercmd
Package usercmd builds commands that run as the session user inside that user's login environment.
Package usercmd builds commands that run as the session user inside that user's login environment.
Command linuxio-btrfs-timer runs the btrfs snapshot, replication, health, boot-time degraded mount and resync jobs that the systemd units and the auto-update drop-in start.
Command linuxio-btrfs-timer runs the btrfs snapshot, replication, health, boot-time degraded mount and resync jobs that the systemd units and the auto-update drop-in start.
Command linuxio-claude-relay lets the Assistant page show Claude Code's plugin panes.
Command linuxio-claude-relay lets the Assistant page show Claude Code's plugin panes.
common
alerts
Package alerts is the root-owned alert store: one JSON file written under a file lock by root processes and read by privileged bridges.
Package alerts is the root-owned alert store: one JSON file written under a file lock by root processes and read by privileged bridges.
btrfs
Package btrfs wraps the btrfs-progs command line and btrfs mount discovery.
Package btrfs wraps the btrfs-progs command line and btrfs mount discovery.
debugserver
Package debugserver serves net/http/pprof on a loopback listener in debug builds.
Package debugserver serves net/http/pprof on a loopback listener in debug builds.
dockerupdate
Package dockerupdate is the Docker image-update engine: update checks, the standalone and Compose replacement flows, the scheduled runner and its systemd timer, and the files they persist.
Package dockerupdate is the Docker image-update engine: update checks, the standalone and Compose replacement flows, the scheduled runner and its systemd timer, and the files they persist.
hostcmd
Package hostcmd holds the helpers handler packages share when they run host administration commands.
Package hostcmd holds the helpers handler packages share when they run host administration commands.
hwprobe
Package hwprobe holds the GPU/PCI hardware probing helpers and the ghw snapshot cache shared by the bridge and the monitoring daemon.
Package hwprobe holds the GPU/PCI hardware probing helpers and the ghw snapshot cache shared by the bridge and the monitoring daemon.
iolimit
Package iolimit reads bounded payloads from untrusted readers.
Package iolimit reads bounded payloads from untrusted readers.
ipc/auth
Auth request/response protocol for LinuxIO auth communication.
Auth request/response protocol for LinuxIO auth communication.
jobs
Package jobs persists one JSON record per job run by a per-user job host.
Package jobs persists one JSON record per job run by a per-user job host.
logguard
Package logguard holds the AST checks behind the backend logging contract.
Package logguard holds the AST checks behind the backend logging contract.
osrelease
Package osrelease parses /etc/os-release style KEY=value files.
Package osrelease parses /etc/os-release style KEY=value files.
peercred
Package peercred reads SO_PEERCRED for unix-socket HTTP servers so handlers can gate on the connecting process's uid.
Package peercred reads SO_PEERCRED for unix-socket HTTP servers so handlers can gate on the connecting process's uid.
scheduledrun
Package scheduledrun records the runs of work that systemd timers start: user scripts, btrfs snapshots and replication, pool resyncs, Docker updates and the distribution's automatic system updates.
Package scheduledrun records the runs of work that systemd timers start: user scripts, btrfs snapshots and replication, pool resyncs, Docker updates and the distribution's automatic system updates.
systemd
Package systemd is the unit-control facade over the system D-Bus manager.
Package systemd is the unit-control facade over the system D-Bus manager.
updatestatus
Package updatestatus defines the app-update status record that the bridge writes and the webserver reads through /run/linuxio/update-status.json.
Package updatestatus defines the app-update status record that the bridge writes and the webserver reads through /run/linuxio/update-status.json.
verbosemode
Package verbosemode owns the systemd drop-ins that persist debug logging across daemon restarts.
Package verbosemode owns the systemd drop-ins that persist debug logging across daemon restarts.
Command linuxio-docker-update runs the short-lived Docker update jobs.
Command linuxio-docker-update runs the short-lived Docker update jobs.
api
Package api defines the indexer's HTTP and Server-Sent Events wire contract.
Package api defines the indexer's HTTP and Server-Sent Events wire contract.
internal/searchquery
Package searchquery parses the search-query dialect: case:exact, quoted phrases and |-separated alternatives.
Package searchquery parses the search-query dialect: case:exact, quoted phrases and |-separated alternatives.
api
Package api is the wire contract between the linuxio-monitoring daemon and its clients: socket paths, routes, command names and every JSON payload.
Package api is the wire contract between the linuxio-monitoring daemon and its clients: socket paths, routes, command names and every JSON payload.
internal/app
Package app composes the collectors into the monitoring daemon: it gathers a sample on every tick, persists it, answers live requests and serves the HTTP API.
Package app composes the collectors into the monitoring daemon: it gathers a sample on every tick, persists it, answers live requests and serves the HTTP API.
internal/cli
Package cli parses the linuxio-monitoring command line.
Package cli parses the linuxio-monitoring command line.
internal/collector
Package collector holds what every collector shares: the key of the periodic collector tick, the policy for reseeding a live key's delta baseline from that tick, and the single-flight Flight that live requests join.
Package collector holds what every collector shares: the key of the periodic collector tick, the policy for reseeding a live key's delta baseline from that tick, and the single-flight Flight that live requests join.
internal/collector/containertelemetry
Package containertelemetry folds the live process list and GPU process samples into the one bounded telemetry record kept per running container.
Package containertelemetry folds the live process list and GPU process samples into the one bounded telemetry record kept per running container.
internal/collector/disk
Package disk collects filesystem usage and disk I/O rates.
Package disk collects filesystem usage and disk I/O rates.
internal/collector/docker
Package docker integrates with Docker and Podman Engine APIs.
Package docker integrates with Docker and Podman Engine APIs.
internal/collector/gpu
Package gpu collects GPU metrics from nvidia-smi, rocm-smi, sysfs, tegrastats, intel_gpu_top, NVML and nvtop, and keeps per-process GPU samples.
Package gpu collects GPU metrics from nvidia-smi, rocm-smi, sysfs, tegrastats, intel_gpu_top, NVML and nvtop, and keeps per-process GPU samples.
internal/collector/host
Package host collects host-level readings: CPU usage and frequencies, memory and load, battery, the ZFS ARC, and the host details reported once per connection.
Package host collects host-level readings: CPU usage and frequencies, memory and load, battery, the ZFS ARC, and the host details reported once per connection.
internal/collector/network
Package network collects interface bandwidth, connection and IRQ statistics.
Package network collects interface bandwidth, connection and IRQ statistics.
internal/collector/process
Package process collects per-process and per-program CPU, memory and I/O.
Package process collects per-process and per-program CPU, memory and I/O.
internal/collector/sensors
Package sensors collects temperature readings through gopsutil, honouring the SENSORS allow/deny list and the dashboard (primary) sensor.
Package sensors collects temperature readings through gopsutil, honouring the SENSORS allow/deny list and the dashboard (primary) sensor.
internal/collector/smart
Package smart collects SMART health data through smartctl, plus eMMC and md RAID health read from sysfs.
Package smart collects SMART health data through smartctl, plus eMMC and md RAID health read from sysfs.
internal/config
Package config loads and validates the linuxio-monitoring YAML config.
Package config loads and validates the linuxio-monitoring YAML config.
internal/daemon
Package daemon runs linuxio-monitoring: config, listeners, and the app.
Package daemon runs linuxio-monitoring: config, listeners, and the app.
internal/deltatracker
Package deltatracker provides a tracker for calculating differences in numeric values over time.
Package deltatracker provides a tracker for calculating differences in numeric values over time.
internal/domain/system
Package system is the host-metrics schema: the stats, info and details that are persisted and served as JSON.
Package system is the host-metrics schema: the stats, info and details that are persisted and served as JSON.
internal/httpapi
Package httpapi serves the go-monitoring REST API.
Package httpapi serves the go-monitoring REST API.
internal/live
Package live assembles the LinuxIO live payload (monitoringapi.Live).
Package live assembles the LinuxIO live payload (monitoringapi.Live).
internal/plugins
Package plugins is the catalogue of metric plugins: their names, which of them keep history, how a collected sample projects onto each plugin's JSON payload, and how stored payloads average into coarser history buckets.
Package plugins is the catalogue of metric plugins: their names, which of them keep history, how a collected sample projects onto each plugin's JSON payload, and how stored payloads average into coarser history buckets.
internal/store
Package store persists collected metric history to a local SQLite database.
Package store persists collected metric history to a local SQLite database.
internal/store/storetest
Package storetest provides shared test fixtures for the store package and its consumers.
Package storetest provides shared test fixtures for the store package and its consumers.
internal/units
Package units converts and rounds the measurements the collectors report.
Package units converts and rounds the measurements the collectors report.
authclient
Package authclient provides a client for the root linuxio-auth daemon socket.
Package authclient provides a client for the root linuxio-auth daemon socket.
cmd
sessions
Package sessions holds the webserver-only session table: the in-memory Manager, cookie handling, request middleware and expiry GC.
Package sessions holds the webserver-only session table: the in-memory Manager, cookie handling, request middleware and expiry GC.
web
ws

Jump to

Keyboard shortcuts

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