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

Method create_sandbox

crates/openshell-driver-docker/src/lib.rs:1452–1462  ·  view source on GitHub ↗
(
        &self,
        request: Request<CreateSandboxRequest>,
    )

Source from the content-addressed store, hash-verified

1450 }
1451
1452 async fn create_sandbox(
1453 &self,
1454 request: Request<CreateSandboxRequest>,
1455 ) -> Result<Response<CreateSandboxResponse>, Status> {
1456 let sandbox = request
1457 .into_inner()
1458 .sandbox
1459 .ok_or_else(|| Status::invalid_argument("sandbox is required"))?;
1460 self.create_sandbox_inner(&sandbox).await?;
1461 Ok(Response::new(CreateSandboxResponse {}))
1462 }
1463
1464 async fn stop_sandbox(
1465 &self,

Callers

nothing calls this directly

Calls 1

create_sandbox_innerMethod · 0.80

Tested by

no test coverage detected