Admin Control Plane
The admin module hosts operational management endpoints mounted on dedicated administrative paths. It provides endpoints for inspecting breaker states, querying active routes, reporting memory usage, and executing cache purges. The administrative plane is isolated from public traffic and protected by dedicated authentication rules.
Exports
Section titled “Exports”| Symbol | Kind | Signature | Purpose |
|---|---|---|---|
AdminDeps | interface | interface AdminDeps | Interface export for AdminDeps. |
AdminConfig | interface | interface AdminConfig | Interface export for AdminConfig. |
AdminControlPlane | class | class AdminControlPlane | Class export for AdminControlPlane. |
AdminControlPlane
Section titled “AdminControlPlane”Mounts internal endpoints (/__admin/state, POST /__admin/cache/purge) with authentication protection.
Source
Section titled “Source”src/admin/control-plane.ts