(
client: &mut crate::tls::GrpcClient,
sandbox_id: &str,
)
| 2933 | } |
| 2934 | |
| 2935 | async fn create_forward_session_token( |
| 2936 | client: &mut crate::tls::GrpcClient, |
| 2937 | sandbox_id: &str, |
| 2938 | ) -> std::result::Result<String, ForwardTcpConnectionError> { |
| 2939 | let response = client |
| 2940 | .create_ssh_session(CreateSshSessionRequest { |
| 2941 | sandbox_id: sandbox_id.to_string(), |
| 2942 | }) |
| 2943 | .await |
| 2944 | .map_err(ForwardTcpConnectionError::from_status)?; |
| 2945 | Ok(response.into_inner().token) |
| 2946 | } |
| 2947 | |
| 2948 | async fn fetch_ready_sandbox_for_forward( |
| 2949 | client: &mut crate::tls::GrpcClient, |
nothing calls this directly
no test coverage detected