Skip to main content

Crate dekopon_webui

Crate dekopon_webui 

Source
Expand description

Unauthenticated, read-only operational web UI for dekopon-brokerd.

The HTTP surface exposes only GET/HEAD views. It has no login because it has no mutation or authorization path, but its contents are still deployment information: agent names, provider schemas, artifact paths and digests, Wasmtime counters, and credential-free OTLP settings. An operator chooses the listener address explicitly and owns the network boundary around it.

The listener is bounded like the broker’s Unix socket rather than left open-ended: see WebUiLimits.

Structs§

Dashboard
Shared immutable deployment metadata and live process-local counters.
OtelSummary
Credential-free OTLP settings safe to render in the informational UI.
ServiceStatus
Live informational state reported by unprivileged gateway processes.
TokenTotals
Point-in-time provider-reported token totals received by the broker.
WebUiLimits
Ceilings the informational listener enforces on an unauthenticated network surface.

Enums§

WebUiError
HTTP listener or serving failure.

Constants§

DEFAULT_CONNECTION_TIMEOUT
Wall-clock budget one accepted connection has from accept to close.
DEFAULT_MAX_CONNECTIONS
Concurrent connections the informational listener accepts before refusing.

Functions§

router
Builds the GET-only router used by dekopon-brokerd.
serve
Serves the dashboard on an already-bound listener until graceful shutdown.
serve_with_limits
Serves the dashboard with explicit connection ceilings.