Expand description
Admin verb rendering for the v1 broker.
Re-exports§
pub use crate::broker::protocol::registry::ADMIN_PAYLOAD_PROTOCOL;
Structs§
- Admin
Backend - Backend row used in admin output.
- Admin
Inode Pressure - Inode usage row for
status --json(#390). On Windows (and on Unix filesystems without a fixed inode table)supportedis false and the counters are absent rather than faked. - Admin
Snapshot - Snapshot consumed by admin verb renderers.
- Admin
Spawn Budget - Spawn budget row used in admin output.
Enums§
- Admin
Connection Error - Errors raised while serving a framed admin connection.
- Admin
Frame Error - Errors raised by admin frame validation/dispatch.
Constants§
- ADMIN_
SCHEMA_ VERSION - Frozen admin JSON schema version.
Functions§
- handle_
admin_ connection - Handle one already-accepted broker admin connection.
- handle_
admin_ frame - Handle one decoded admin frame and return a response frame.
- render_
admin_ reply - Render one typed admin request into a typed admin reply.
- render_
backend_ health_ json - Render
backend-health <service> --json. - render_
config_ json - Render
config --effective --json. - render_
diagnose_ json - Render
diagnose --output <path>summary JSON. - render_
dump_ json - Render
dump --json. - render_
healthz - Health endpoint body.
- render_
list_ instances_ json - Render
list-instances --json. - render_
metrics_ text - Render OpenMetrics text.
- render_
readyz - Readiness endpoint body.
- render_
status_ json - Render
status --json. - serve_
one_ admin_ socket - Run one blocking local-socket accept and serve exactly one admin request.