Directories
¶
| Path | Synopsis |
|---|---|
|
Package capacity measures how much memory, disk and CPU a node has (brief §7.4).
|
Package capacity measures how much memory, disk and CPU a node has (brief §7.4). |
|
Package clientsetup implements the file and docker-context changes made by `dol init` on the client.
|
Package clientsetup implements the file and docker-context changes made by `dol init` on the client. |
|
Package compose renders a compose project, rewrites bind mounts for a remote node and injects lease labels (brief §7.10).
|
Package compose renders a compose project, rewrites bind mounts for a remote node and injects lease labels (brief §7.10). |
|
Package config loads and validates client and node configuration.
|
Package config loads and validates client and node configuration. |
|
gen-schemas
command
Command gen-schemas writes the config JSON Schemas into a directory.
|
Command gen-schemas writes the config JSON Schemas into a directory. |
|
Package dockerproxy is a Docker Engine API proxy (ADR-0040, milestone M6 spike).
|
Package dockerproxy is a Docker Engine API proxy (ADR-0040, milestone M6 spike). |
|
proxytest
Package proxytest measures and verifies the Docker API proxy against a real engine with the real docker CLI (ADR-0040).
|
Package proxytest measures and verifies the Docker API proxy against a real engine with the real docker CLI (ADR-0040). |
|
Package dockerx wraps the docker CLI (ADR-0009) with label-scoped operations.
|
Package dockerx wraps the docker CLI (ADR-0009) with label-scoped operations. |
|
Package doctor implements `dol doctor`: end-to-end diagnostics of every link between the client and its nodes (client mode) or of the node itself (`--node`).
|
Package doctor implements `dol doctor`: end-to-end diagnostics of every link between the client and its nodes (client mode) or of the node itself (`--node`). |
|
Package kindx generates kind cluster configs and runs the kind binary on the node (brief §7.9, ADR-0007).
|
Package kindx generates kind cluster configs and runs the kind binary on the node (brief §7.9, ADR-0007). |
|
Package mcpserver implements `dol mcp`, the stdio MCP server agents use to acquire capacity (brief §8), and the Core it shares with the human CLI (`dol status`, `dol leases`, `dol release`).
|
Package mcpserver implements `dol mcp`, the stdio MCP server agents use to acquire capacity (brief §8), and the Core it shares with the human CLI (`dol status`, `dol leases`, `dol release`). |
|
Package node is the node agent (`dol node serve`): an HTTP/1.1 JSON API on a unix socket (brief §7.2), node-side admission control (§7.3, ADR-0003), a SQLite lease store, heartbeats, the reaper (§7.6, ADR-0004) and kind operations (§7.9, ADR-0007).
|
Package node is the node agent (`dol node serve`): an HTTP/1.1 JSON API on a unix socket (brief §7.2), node-side admission control (§7.3, ADR-0003), a SQLite lease store, heartbeats, the reaper (§7.6, ADR-0004) and kind operations (§7.9, ADR-0007). |
|
Package nodeclient is the Go client of the node API (pkg/api/v1).
|
Package nodeclient is the Go client of the node API (pkg/api/v1). |
|
Package nodefake is a small in-memory implementation of the node API (pkg/api/v1) for client tests.
|
Package nodefake is a small in-memory implementation of the node API (pkg/api/v1) for client tests. |
|
Package placement decides where a workload runs (brief §7.5): try nodes by priority with short health checks and a bounded lease request, then apply the fallback policy.
|
Package placement decides where a workload runs (brief §7.5): try nodes by priority with short health checks and a bounded lease request, then apply the fallback policy. |
|
Package sshx spawns the system ssh binary (ADR-0002): one-shot remote commands and stdio "connections" used to reach the node API through `dol node dial-stdio`.
|
Package sshx spawns the system ssh binary (ADR-0002): one-shot remote commands and stdio "connections" used to reach the node API through `dol node dial-stdio`. |
|
Package state manages the client state directory (ADR-0010):
|
Package state manages the client state directory (ADR-0010): |
|
Package sync mirrors a local project directory to the node with rsync over ssh (brief §7.10).
|
Package sync mirrors a local project directory to the node with rsync over ssh (brief §7.10). |
|
testutil
|
|
|
fakessh
Package fakessh provides a stand-in for the ssh binary in tests: the test binary re-executes itself as "ssh".
|
Package fakessh provides a stand-in for the ssh binary in tests: the test binary re-executes itself as "ssh". |
|
Package tunnel manages `ssh -L` port forwards as child processes (brief §7.8).
|
Package tunnel manages `ssh -L` port forwards as child processes (brief §7.8). |
|
Package version exposes build metadata, set via -ldflags by GoReleaser.
|
Package version exposes build metadata, set via -ldflags by GoReleaser. |
Click to show internal directories.
Click to hide internal directories.