stream_logs

Function stream_logs 

Source
pub async fn stream_logs(
    infra: &InfraContext<'_>,
    token: &str,
    session_name: &str,
    timestamps: bool,
    k8s: &K8sDetails,
) -> Result<Pin<Box<dyn AsyncBufRead + Send>>, Error>
Expand description

Tail the Ansible-container log for session_name via a buffered reader.

Thin forwarder from the handler into the backend — handlers must not call infra.backend.get_session_logs_stream directly per the CLAUDE.md boundary rule. Session-access validation must happen BEFORE this call via validate_session_access.