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

Method stop_sandbox

crates/openshell-server/src/test_support.rs:263–275  ·  view source on GitHub ↗
(
        &self,
        request: Request<StopSandboxRequest>,
    )

Source from the content-addressed store, hash-verified

261 }
262
263 async fn stop_sandbox(
264 &self,
265 request: Request<StopSandboxRequest>,
266 ) -> Result<Response<StopSandboxResponse>, Status> {
267 let request = request.into_inner();
268 self.with_state(|state| {
269 state.calls.push(FakeComputeDriverCall::StopSandbox {
270 sandbox_id: request.sandbox_id,
271 sandbox_name: request.sandbox_name,
272 });
273 });
274 Ok(Response::new(StopSandboxResponse {}))
275 }
276
277 async fn delete_sandbox(
278 &self,

Callers

nothing calls this directly

Calls 2

with_stateMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected