go.bigb.es/auxilia

v0.3.0
Doc Versions

Directories

PathSynopsis
async
collect Package collect provides generic collection types, lazy iterators, and slice helpers.
collect/cache Package cache provides a generic, TTL-based, in-memory key-value cache with background expiry sweeping and configurable expiration strategies.
collect/set
culpa Package culpa provides structured error handling with typed details, stacktrace capture, and chain traversal.
culpa/httpproblem Package httpproblem implements RFC 7807 "Problem Details for HTTP APIs" with a bridge to culpa errors.
fn Package fn provides generic utility functions for zero values, tuple selectors, must-helpers, and partial application.
goroutine Package goroutine provides utilities for inspecting goroutines at runtime, including obtaining IDs and stack traces.
internal/graphutil
internal/logutil
internal/syncutil
legatus
legatus/inventory Package inventory provides loaders that build a legatus.Inventory from declarative sources.
legatus/legatustest Package legatustest provides test doubles for the legatus core: a scripted Conn and a Dialer that hands them out per host.
legatus/local Package local implements legatus.Conn/legatus.Dialer on the local machine, so workstation-local steps run through the same Flow/Runner model as remote ones.
legatus/report Package report provides human-facing implementations of the legatus Reporter and Prompter interfaces: a text progress reporter and CLI/auto prompters.
legatus/steps Package steps provides a battery of common legatus steps: file, validated-file, template, service, exec, package, and command, plus the When/OnChanged gating wrappers (run a step only when an earlier step changed).
legatus/sync Package sync provides legatus steps for keeping a local file tree and a remote host in agreement: Push (upload changed files), Pull (download with per-file conflict resolution), Diff (read-only unified diff), and a git-drift battery (EnsureRepo, IsDirty, Commit, Status, plus a GitGuard gate step).
legatus/transport Package transport is the SSH side-effect layer (PC1) for legatus.
scribe
stacktrace Package stacktrace captures and formats Go call stacks.
steward
steward/healthhttp Package healthhttp exposes /healthz and /readyz handlers backed by a steward Manager.
steward/httpsvc Package httpsvc exposes an HTTP server as a steward-managed service.