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

Method stop_sandbox

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

Source from the content-addressed store, hash-verified

1462 }
1463
1464 async fn stop_sandbox(
1465 &self,
1466 request: Request<StopSandboxRequest>,
1467 ) -> Result<Response<StopSandboxResponse>, Status> {
1468 let request = request.into_inner();
1469 require_sandbox_identifier(&request.sandbox_id, &request.sandbox_name)?;
1470
1471 self.stop_sandbox_inner(&request.sandbox_id, &request.sandbox_name)
1472 .await?;
1473 Ok(Response::new(StopSandboxResponse {}))
1474 }
1475
1476 async fn delete_sandbox(
1477 &self,

Callers

nothing calls this directly

Calls 2

stop_sandbox_innerMethod · 0.80

Tested by

no test coverage detected