attach_to_session_console

Function attach_to_session_console 

Source
pub async fn attach_to_session_console(
    backend: &StaticBackendDispatcher,
    token: &str,
    site_name: &str,
    session_name: &str,
    term_size: TermSize,
    k8s: &K8sDetails,
) -> Result<ConsoleAttachment, Error>
Expand description

Attach an interactive PTY console to a running CFS session pod.

Callers must validate session access and session liveness BEFORE calling this; see crate::service::session::validate_session_access and crate::service::session::validate_console_session.