Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gantry
command
Command gantry is a non-Kubernetes release orchestrator.
|
Command gantry is a non-Kubernetes release orchestrator. |
|
internal
|
|
|
cli
Package cli wires gantry's cobra command tree to the engine.
|
Package cli wires gantry's cobra command tree to the engine. |
|
config
Package config defines gantry's declarative configuration model and loader.
|
Package config defines gantry's declarative configuration model and loader. |
|
daemon
Package daemon runs gantry's reconcile loop (`gantry serve`): it calls the same engine verbs the CLI does, on an interval, under a single-writer lock.
|
Package daemon runs gantry's reconcile loop (`gantry serve`): it calls the same engine verbs the CLI does, on an interval, under a single-writer lock. |
|
engine
Package engine orchestrates the consume → pin → deploy flow.
|
Package engine orchestrates the consume → pin → deploy flow. |
|
executor
Package executor defines the deploy backend interface and its plan/result types.
|
Package executor defines the deploy backend interface and its plan/result types. |
|
executor/bluegreen
Package bluegreen deploys a two-slot environment behind a switchable pointer: Deploy stages the idle slot, SwitchTo flips an nginx-agnostic symlink pointer to promote it.
|
Package bluegreen deploys a two-slot environment behind a switchable pointer: Deploy stages the idle slot, SwitchTo flips an nginx-agnostic symlink pointer to promote it. |
|
executor/composessh
Package composessh deploys via `docker compose pull && up -d` over SSH.
|
Package composessh deploys via `docker compose pull && up -d` over SSH. |
|
executor/symlinkrelease
Package symlinkrelease deploys via a versioned release directory and an atomic `current` symlink, running compose from the active release.
|
Package symlinkrelease deploys via a versioned release directory and an atomic `current` symlink, running compose from the active release. |
|
forge
Package forge reads component Releases (and their metadata block) from a forge.
|
Package forge reads component Releases (and their metadata block) from a forge. |
|
forge/gitlab
Package gitlab implements forge.Forge against the GitLab Releases API.
|
Package gitlab implements forge.Forge against the GitLab Releases API. |
|
gitutil
Package gitutil holds small go-git helpers shared by gantry's git-backed stores.
|
Package gitutil holds small go-git helpers shared by gantry's git-backed stores. |
|
humanize
Package humanize renders durations for gantry's user-facing strings (drift alarms in the CLI and the daemon), so the same event reads identically wherever it is emitted.
|
Package humanize renders durations for gantry's user-facing strings (drift alarms in the CLI and the daemon), so the same event reads identically wherever it is emitted. |
|
ledger
Package ledger records and queries the outcome of every deploy gantry performs.
|
Package ledger records and queries the outcome of every deploy gantry performs. |
|
logging
Package logging provides gantry's slog logger and a context carrier so the engine can emit structured diagnostics without taking a logger parameter.
|
Package logging provides gantry's slog logger and a context carrier so the engine can emit structured diagnostics without taking a logger parameter. |
|
notify
Package notify delivers gantry's deploy/promote/rollback/verify/drift events to configured channels (webhook, email), best-effort.
|
Package notify delivers gantry's deploy/promote/rollback/verify/drift events to configured channels (webhook, email), best-effort. |
|
pin
Package pin models per-environment version-pin files (dotenv) and their diffs.
|
Package pin models per-environment version-pin files (dotenv) and their diffs. |
|
verify
Package verify runs post-deploy health probes against a freshly-deployed environment.
|
Package verify runs post-deploy health probes against a freshly-deployed environment. |
Click to show internal directories.
Click to hide internal directories.