Skip to main content

services_page

Function services_page 

Source
pub fn services_page(
    session: Option<AdminSession>,
    return_to: ReturnTo,
    pool: &State<DbPool>,
) -> Result<Template, AdminReject>
Expand description

The service-registry screen (HTML twin of api_services): the table of registered services, each linking to its worker-fleet view. Signed-in admins only (an unauthenticated browser is redirected to the sign-in page; the agent twin keeps the token guard). 503 if the pool is exhausted.