Skip to main content

admit_container_agent

Function admit_container_agent 

Source
pub(super) async fn admit_container_agent(
    grant: ContainerGrant,
    req: Request<Body>,
    next: Next,
) -> Response
Expand description

A container agent’s token: allowed on a route the table serves (super::route_table) unless its audience refuses it (crate::backend::route_audience); a refusal carries its reason. Elsewhere it stands in for the instance key it replaced (so jekt tiers and identity behave as for any agent), with the caller pinned to the grant’s agent by caller_middleware.