pub async fn attach_to_session_console(
backend: &StaticBackendDispatcher,
token: &str,
site_name: &str,
session_name: &str,
cols: u16,
rows: u16,
k8s: &K8sDetails,
) -> Result<(Box<dyn AsyncWrite + Unpin + Send>, Box<dyn AsyncRead + Unpin + Send>), 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.