Expand description
Zenoh admin-space access (issue #14): browse @/** — the middleware’s
own introspection — from the same un-namespaced session the convention
tooling already holds (a namespaced session’s admin selector would be
rewritten and match nothing, RFC 09 §5).
Admin key layouts vary between zenoh versions (report §3.1’s caveat), so
this module stays a thin, honest transport: keys + JSON values, no
hardcoded schema. routers extracts the few fields every 1.x layout
carries, and leaves the rest visible in raw.
Structs§
- Admin
Entry - One admin-space entry.
- Coverage
Row - Router
Info - A router (or peer) as the admin space reports it.
- Storage
Info - One configured storage, as the admin space reports it.
Enums§
- Coverage
- How a declared state family relates to the configured storages.
Functions§
- admin_
get - GET an admin selector (default
@/**). Fans to every node (target All, consolidation None — several routers may answer). - routers
- Enumerate routers/peers from
@/*/router(and the fields every layout carries). - state_
coverage - Judge every declared state family against the configured storages
(issue #14): the family’s wire selector vs each storage’s key expression,
by key algebra (
includes⇒ covered,intersects⇒ partial). Pure. - storage_
from_ admin_ entry - Extract a storage from one admin entry, tolerantly: the key shape is
@/<zid>/router/…/storage_manager/storages/<name>[…], the value a config document whosekey_exprfield names what it captures. Pure — the version-variance lives here, unit-tested. - storages
- Enumerate configured storages across the mesh (issue #14). Zero routers (peer mesh, admin disabled) is an empty vec, never an error.