Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
nerdui
command
Command nerdui is a web UI for nerdctl/containerd.
|
Command nerdui is a web UI for nerdctl/containerd. |
|
internal
|
|
|
api
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}/... |
|
api/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. |
|
auth
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. |
|
authz
Package authz implements per-action authorization (ADR-0009).
|
Package authz implements per-action authorization (ADR-0009). |
|
config
Package config defines nerdui's runtime configuration: defaults, validation and filesystem preparation.
|
Package config defines nerdui's runtime configuration: defaults, validation and filesystem preparation. |
|
environment
Package environment keeps the registry of managed containerd hosts (ADR-0006).
|
Package environment keeps the registry of managed containerd hosts (ADR-0006). |
|
events
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). |
|
httpjson
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: |
|
runtime
Package runtime wraps the containerd client and nerdctl libraries.
|
Package runtime wraps the containerd client and nerdctl libraries. |
|
server
Package server implements the nerdui HTTP API and serves the web UI.
|
Package server implements the nerdui HTTP API and serves the web UI. |
|
store
Package store persists nerdui's own data in SQLite (ADR-0004).
|
Package store persists nerdui's own data in SQLite (ADR-0004). |
|
tlsutil
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. |
|
version
Package version exposes build metadata injected at link time via -ldflags.
|
Package version exposes build metadata injected at link time via -ldflags. |
|
Package web embeds the compiled frontend (web/dist) into the nerdui binary.
|
Package web embeds the compiled frontend (web/dist) into the nerdui binary. |
Click to show internal directories.
Click to hide internal directories.