{"modulePath":"github.com/pessom/nerdui","version":"v0.2.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/pessom/nerdui/api","name":"api","synopsis":"Package api embeds the OpenAPI specification of nerdui's REST API (#87): it is served by the server, so the documentation always matches the running version.","isRedistributable":true},{"path":"github.com/pessom/nerdui/cmd/nerdui","name":"main","synopsis":"Command nerdui is a web UI for nerdctl/containerd.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/api","name":"api","synopsis":"Package api implements the REST handlers for environment-scoped resources (ADR-0006): /api/v1/environments and /api/v1/environments/{env}/...","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/api/ws","name":"ws","synopsis":"Package ws is the shared WebSocket layer for streams (ADR-0007): logs, stats, events, job progress and exec.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/audit","name":"audit","synopsis":"Package audit records who changed what (#79, ADR-0036): state-changing API requests, terminal sessions, authorization denials and authentication.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/auth","name":"auth","synopsis":"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.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/authz","name":"authz","synopsis":"Package authz implements per-action authorization (ADR-0009).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/autoheal","name":"autoheal","synopsis":"Package autoheal reports containers that turn unhealthy and restarts those that opt in with the nerdui.auto-heal label (#22, ADR-0043).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/backup","name":"backup","synopsis":"Package backup writes and restores password-encrypted archives of nerdui's own data: the database, the managed stacks and the Git stacks (#89, ADR-0047).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/config","name":"config","synopsis":"Package config defines nerdui's runtime configuration: defaults, validation and filesystem preparation.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/environment","name":"environment","synopsis":"Package environment keeps the registry of managed containerd hosts (ADR-0006).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/events","name":"events","synopsis":"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).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/gitrepo","name":"gitrepo","synopsis":"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.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/gitstacks","name":"gitstacks","synopsis":"Package gitstacks deploys stacks from Git repositories (#37) with saved credentials (#93, ADR-0039).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/hostmetrics","name":"hostmetrics","synopsis":"Package hostmetrics samples the CPU, memory, disk and network usage of the host nerdui runs on, keeps the last day in memory and alerts when thresholds are exceeded (#64, ADR-0054).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/httpjson","name":"httpjson","synopsis":"Package httpjson contains JSON request/response helpers shared by HTTP handlers, including the error envelope from ADR-0006:","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/jobs","name":"jobs","synopsis":"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.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/notify","name":"notify","synopsis":"Package notify sends events to notification channels: webhooks, chat services, push services and email (#86, ADR-0034).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/prometheus","name":"prometheus","synopsis":"Package prometheus reads container metrics history from a Prometheus server that scrapes containerd's built-in metrics (#176, ADR-0023).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/proxy","name":"proxy","synopsis":"Package proxy applies X-Forwarded-For, X-Forwarded-Proto and X-Forwarded-Host from trusted reverse proxies (#112, ADR-0035).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/runtime","name":"runtime","synopsis":"Package runtime wraps the containerd client and nerdctl libraries.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/scheduler","name":"scheduler","synopsis":"Package scheduler runs tasks on cron schedules with a history of runs (#82, ADR-0048).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/secretbox","name":"secretbox","synopsis":"Package secretbox encrypts secrets stored in nerdui's database with AES-256-GCM under a key kept in a file next to it (#35, ADR-0049).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/server","name":"server","synopsis":"Package server implements the nerdui HTTP API and serves the web UI.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/stacks","name":"stacks","synopsis":"Package stacks finds compose stacks and computes their status (#24, ADR-0008).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/store","name":"store","synopsis":"Package store persists nerdui's own data in SQLite (ADR-0004).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/store/db","name":"db","synopsis":"","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/templates","name":"templates","synopsis":"Package templates provides stack templates (#33, #34, ADR-0051): a built-in catalog, catalogs from registry.json URLs, and templates users saved.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/tlsutil","name":"tlsutil","synopsis":"Package tlsutil provides the TLS certificate for nerdui's HTTPS server (ADR-0005): either a generated self-signed certificate kept in \u003cdata-dir\u003e/tls, or a user-provided certificate/key pair that is reloaded when the files change.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/updates","name":"updates","synopsis":"Package updates finds images whose tag points to a newer digest in the registry (#53, ADR-0030).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/variables","name":"variables","synopsis":"Package variables keeps global and per-stack variables (#35, ADR-0049).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/version","name":"version","synopsis":"Package version exposes build metadata injected at link time via -ldflags.","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/volbackup","name":"volbackup","synopsis":"Package volbackup backs up volumes as tar.gz archives to a host directory or an S3 bucket, keeps the newest ones and restores them (#59, ADR-0050).","isRedistributable":true},{"path":"github.com/pessom/nerdui/internal/webhooks","name":"webhooks","synopsis":"Package webhooks runs actions on stacks and containers when a secret URL is called (#85, #91, ADR-0041), e.g.","isRedistributable":true},{"path":"github.com/pessom/nerdui/web","name":"web","synopsis":"Package web embeds the compiled frontend (web/dist) into the nerdui binary.","isRedistributable":true}],"total":35}}
