Expand description
The bamboo health|status|sessions|stop admin CLI: a thin HTTP client over a
running bamboo serve for operators (health probe, session list/stop).
The bamboo health | status | sessions | stop admin CLI.
A thin HTTP client over a running bamboo serve instance. Each command wraps
an endpoint the server already exposes — /api/v1/health,
/api/v1/sessions, /api/v1/stop/{id} — so an operator can probe and steer
the backend without hand-writing curl. The server is the single source of
truth; this module only resolves the base URL and pretty-prints responses.
Structs§
- Conn
Args - Connection options shared by every admin subcommand.
Functions§
- health
bamboo health— liveness probe. Exits non-zero (via the returnedErr) when the server is unreachable or reports an unhealthy status.- sessions_
list bamboo sessions— tabulate sessions on a running server.- status
bamboo status— one-screen overview: address, health, session counts.- stop
bamboo stop <id>— cancel a running session’s loop.