MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / exec_sandbox

Method exec_sandbox

crates/openshell-server/src/grpc/mod.rs:280–285  ·  view source on GitHub ↗
(
        &self,
        request: Request<ExecSandboxRequest>,
    )

Source from the content-addressed store, hash-verified

278
279 #[rpc_auth(auth = "bearer", scope = "sandbox:write", role = "user")]
280 async fn exec_sandbox(
281 &self,
282 request: Request<ExecSandboxRequest>,
283 ) -> Result<Response<Self::ExecSandboxStream>, Status> {
284 sandbox::handle_exec_sandbox(&self.state, request).await
285 }
286
287 type ForwardTcpStream =
288 Pin<Box<dyn tokio_stream::Stream<Item = Result<TcpForwardFrame, Status>> + Send + 'static>>;

Callers

nothing calls this directly

Calls 1

handle_exec_sandboxFunction · 0.85

Tested by

no test coverage detected