Skip to main content

Module admin

Module admin 

Source
Expand description

Read-only admin introspection for host ops UIs.

Product hosts call Photon::admin_snapshot to obtain a serde-friendly AdminSnapshot without mirroring bus state into a secondary store. HTTP routes and authorization are host-owned; this module exposes the Rust API only.

Structs§

AdminBackendSummary
Storage adapter capabilities surfaced for admin UIs.
AdminCheckpointSummary
Last committed sequence for a subscription/topic partition.
AdminHandlerSummary
Inventory entry for a #[photon::subscribe] handler.
AdminSnapshot
Point-in-time ops introspection snapshot (read-only).
AdminTopicSummary
Topic catalog entry from the compile-time TopicRegistry.

Functions§

collect_admin_snapshot
Build a full admin snapshot for the given runtime (async checkpoint reads).