internal/

directory
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT

Directories

Path Synopsis
Package acme wraps golang.org/x/crypto/acme/autocert into the shape this app needs: automatic HTTPS via ACME (Let's Encrypt by default), for the case where the server sits directly on the public internet with no reverse proxy in front — --make-certs (a self-signed cert) is the local/dev equivalent, and a reverse proxy terminating TLS itself needs neither.
Package acme wraps golang.org/x/crypto/acme/autocert into the shape this app needs: automatic HTTPS via ACME (Let's Encrypt by default), for the case where the server sits directly on the public internet with no reverse proxy in front — --make-certs (a self-signed cert) is the local/dev equivalent, and a reverse proxy terminating TLS itself needs neither.
Package api wires the HTTP surface together: REST endpoints for auth and Docker operations, the WebSocket upgrade, and serving the embedded SPA.
Package api wires the HTTP surface together: REST endpoints for auth and Docker operations, the WebSocket upgrade, and serving the embedded SPA.
Package backup creates and restores a complete snapshot of a Docker Commander installation: the SQLite database plus the on-disk project and template files.
Package backup creates and restores a complete snapshot of a Docker Commander installation: the SQLite database plus the on-disk project and template files.
Package backupjobs schedules and runs Volume backup jobs — a trigger-and- status wrapper around a user-supplied backup command (restic/borg/etc, already pointed at its own repository) run against a volume's or project's data via a short-lived Docker helper container (see internal/docker/volumebackup.go).
Package backupjobs schedules and runs Volume backup jobs — a trigger-and- status wrapper around a user-supplied backup command (restic/borg/etc, already pointed at its own repository) run against a volume's or project's data via a short-lived Docker helper container (see internal/docker/volumebackup.go).
Package config loads runtime configuration from flags and environment variables and resolves sensible cross-platform defaults.
Package config loads runtime configuration from flags and environment variables and resolves sensible cross-platform defaults.
Package crypto provides authenticated symmetric encryption (AES-256-GCM) for secrets stored at rest, such as registry credentials.
Package crypto provides authenticated symmetric encryption (AES-256-GCM) for secrets stored at rest, such as registry credentials.
Package docker manages connections to one or more Docker engines and exposes a domain-shaped API (containers, networks, stats, logs) for the rest of the app.
Package docker manages connections to one or more Docker engines and exposes a domain-shaped API (containers, networks, stats, logs) for the rest of the app.
Package history stores a rolling window of container resource metrics for charting.
Package history stores a rolling window of container resource metrics for charting.
Package mcp exposes a remote, RBAC-gated Model Context Protocol server over the application's existing HTTP listener.
Package mcp exposes a remote, RBAC-gated Model Context Protocol server over the application's existing HTTP listener.
Package monitor is the alerting engine.
Package monitor is the alerting engine.
Package passphrase provides the passphrase-based archive encryption shared by internal/backup and the recovery bundle: a caller-chosen "magic" prefix identifies the archive format and doubles as the AEAD's associated data (so a sealed payload can't be replayed under a different format's magic), and the passphrase itself is stretched with Argon2id before sealing the payload with AES-256-GCM.
Package passphrase provides the passphrase-based archive encryption shared by internal/backup and the recovery bundle: a caller-chosen "magic" prefix identifies the archive format and doubles as the AEAD's associated data (so a sealed payload can't be replayed under a different format's magic), and the passphrase itself is stretched with Argon2id before sealing the payload with AES-256-GCM.
Package proxy is the embedded per-container reverse proxy: phase 2 of NEXT.md's "Per-container domain + TLS".
Package proxy is the embedded per-container reverse proxy: phase 2 of NEXT.md's "Per-container domain + TLS".
Package selfupdate implements `dockercmd --self-upgrade`: download the latest GitHub release asset for this OS/arch, verify its SHA-256 and atomically replace the running executable.
Package selfupdate implements `dockercmd --self-upgrade`: download the latest GitHub release asset for this OS/arch, verify its SHA-256 and atomically replace the running executable.
Package service implements `dockercmd --install-service` and friends: it installs Docker Commander as a background service for the current OS so the monitor, alert engine and metric history keep running without a browser.
Package service implements `dockercmd --install-service` and friends: it installs Docker Commander as a background service for the current OS so the monitor, alert engine and metric history keep running without a browser.
Package store provides a pure-Go SQLite-backed persistence layer.
Package store provides a pure-Go SQLite-backed persistence layer.
Package templates provides the built-in project scaffolds ("presets") and the composable service blocks ("blocks", the builder/skládačka) for the Projects feature, plus the rendering that turns either into concrete project files.
Package templates provides the built-in project scaffolds ("presets") and the composable service blocks ("blocks", the builder/skládačka) for the Projects feature, plus the rendering that turns either into concrete project files.
Package tlscert generates a self-signed TLS certificate + key so the server can serve HTTPS without external tooling (the `dockercmd --make-certs` action).
Package tlscert generates a self-signed TLS certificate + key so the server can serve HTTPS without external tooling (the `dockercmd --make-certs` action).
Package version compares dotted semantic-version strings (major.minor.patch).
Package version compares dotted semantic-version strings (major.minor.patch).
Package ws implements the WebSocket endpoint that streams real-time data (container stats and logs) to authenticated frontend clients.
Package ws implements the WebSocket endpoint that streams real-time data (container stats and logs) to authenticated frontend clients.

Jump to

Keyboard shortcuts

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