Skip to main content

Module admin

Module admin 

Source
Expand description

Admin verb rendering for the v1 broker.

Structs§

AdminBackend
Backend row used in admin output.
AdminSnapshot
Snapshot consumed by admin verb renderers.
AdminSpawnBudget
Spawn budget row used in admin output.

Enums§

AdminConnectionError
Errors raised while serving a framed admin connection.
AdminFrameError
Errors raised by admin frame validation/dispatch.

Constants§

ADMIN_PAYLOAD_PROTOCOL
Payload protocol value for v1 admin request/reply frames.
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.