internal/

directory
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: AGPL-3.0

Directories

Path Synopsis
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}/...
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 audit records who changed what (#79, ADR-0036): state-changing API requests, terminal sessions, authorization denials and authentication.
Package audit records who changed what (#79, ADR-0036): state-changing API requests, terminal sessions, authorization denials and authentication.
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 gitrepo clones and updates the Git repositories of Git stacks (#37, ADR-0039) with go-git: no git binary is needed on the host, and credentials stay in memory.
Package gitrepo clones and updates the Git repositories of Git stacks (#37, ADR-0039) with go-git: no git binary is needed on the host, and credentials stay in memory.
Package gitstacks deploys stacks from Git repositories (#37) with saved credentials (#93, ADR-0039).
Package gitstacks deploys stacks from Git repositories (#37) with saved credentials (#93, ADR-0039).
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 jobs runs long operations (pull, later prune and stack deploy) in the background (#126, ADR-0006, ADR-0018): the API answers 202 with a job, progress is terminal output streamed over WebSocket, jobs can be canceled, one job per resource runs at a time, and recent jobs are kept in memory.
Package jobs runs long operations (pull, later prune and stack deploy) in the background (#126, ADR-0006, ADR-0018): the API answers 202 with a job, progress is terminal output streamed over WebSocket, jobs can be canceled, one job per resource runs at a time, and recent jobs are kept in memory.
Package notify sends events to notification channels: webhooks, chat services, push services and email (#86, ADR-0034).
Package notify sends events to notification channels: webhooks, chat services, push services and email (#86, ADR-0034).
Package prometheus reads container metrics history from a Prometheus server that scrapes containerd's built-in metrics (#176, ADR-0023).
Package prometheus reads container metrics history from a Prometheus server that scrapes containerd's built-in metrics (#176, ADR-0023).
Package proxy applies X-Forwarded-For, X-Forwarded-Proto and X-Forwarded-Host from trusted reverse proxies (#112, ADR-0035).
Package proxy applies X-Forwarded-For, X-Forwarded-Proto and X-Forwarded-Host from trusted reverse proxies (#112, ADR-0035).
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 stacks finds compose stacks and computes their status (#24, ADR-0008).
Package stacks finds compose stacks and computes their status (#24, ADR-0008).
Package store persists nerdui's own data in SQLite (ADR-0004).
Package store persists nerdui's own data in SQLite (ADR-0004).
db
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 updates finds images whose tag points to a newer digest in the registry (#53, ADR-0030).
Package updates finds images whose tag points to a newer digest in the registry (#53, ADR-0030).
Package version exposes build metadata injected at link time via -ldflags.
Package version exposes build metadata injected at link time via -ldflags.
Package webhooks runs actions on stacks and containers when a secret URL is called (#85, #91, ADR-0041), e.g.
Package webhooks runs actions on stacks and containers when a secret URL is called (#85, #91, ADR-0041), e.g.

Jump to

Keyboard shortcuts

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