Directories
¶
| Path | Synopsis |
|---|---|
|
Package api implements the REST handlers for environment-scoped resources (ADR-0006): /api/v1/environments and /api/v1/environments/{env}/...
|
Package api implements the REST handlers for environment-scoped resources (ADR-0006): /api/v1/environments and /api/v1/environments/{env}/... |
|
ws
Package ws is the shared WebSocket layer for streams (ADR-0007): logs, stats, events, job progress and exec.
|
Package ws is the shared WebSocket layer for streams (ADR-0007): logs, stats, events, job progress and exec. |
|
Package auth implements local authentication (ADR-0005): argon2id passwords, server-side sessions stored in SQLite, CSRF protection, the first-run setup token and login rate limiting.
|
Package auth implements local authentication (ADR-0005): argon2id passwords, server-side sessions stored in SQLite, CSRF protection, the first-run setup token and login rate limiting. |
|
Package authz implements per-action authorization (ADR-0009).
|
Package authz implements per-action authorization (ADR-0009). |
|
Package config defines nerdui's runtime configuration: defaults, validation and filesystem preparation.
|
Package config defines nerdui's runtime configuration: defaults, validation and filesystem preparation. |
|
Package environment keeps the registry of managed containerd hosts (ADR-0006).
|
Package environment keeps the registry of managed containerd hosts (ADR-0006). |
|
Package events fans containerd events out to subscribers (ADR-0007): one containerd subscription per environment, any number of in-process subscribers (WebSocket streams, later the scheduler and notifications).
|
Package events fans containerd events out to subscribers (ADR-0007): one containerd subscription per environment, any number of in-process subscribers (WebSocket streams, later the scheduler and notifications). |
|
Package httpjson contains JSON request/response helpers shared by HTTP handlers, including the error envelope from ADR-0006:
|
Package httpjson contains JSON request/response helpers shared by HTTP handlers, including the error envelope from ADR-0006: |
|
Package runtime wraps the containerd client and nerdctl libraries.
|
Package runtime wraps the containerd client and nerdctl libraries. |
|
Package server implements the nerdui HTTP API and serves the web UI.
|
Package server implements the nerdui HTTP API and serves the web UI. |
|
Package store persists nerdui's own data in SQLite (ADR-0004).
|
Package store persists nerdui's own data in SQLite (ADR-0004). |
|
Package tlsutil provides the TLS certificate for nerdui's HTTPS server (ADR-0005): either a generated self-signed certificate kept in <data-dir>/tls, or a user-provided certificate/key pair that is reloaded when the files change.
|
Package tlsutil provides the TLS certificate for nerdui's HTTPS server (ADR-0005): either a generated self-signed certificate kept in <data-dir>/tls, or a user-provided certificate/key pair that is reloaded when the files change. |
|
Package version exposes build metadata injected at link time via -ldflags.
|
Package version exposes build metadata injected at link time via -ldflags. |
Click to show internal directories.
Click to hide internal directories.