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 only on crate::backend::container_credential::container_route_allowed. There 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.