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

Method list_sandboxes

crates/openshell-server/src/test_support.rs:236–245  ·  view source on GitHub ↗
(
        &self,
        _request: Request<ListSandboxesRequest>,
    )

Source from the content-addressed store, hash-verified

234 }
235
236 async fn list_sandboxes(
237 &self,
238 _request: Request<ListSandboxesRequest>,
239 ) -> Result<Response<ListSandboxesResponse>, Status> {
240 let sandboxes = self.with_state(|state| {
241 state.calls.push(FakeComputeDriverCall::ListSandboxes);
242 state.sandboxes.values().cloned().collect()
243 });
244 Ok(Response::new(ListSandboxesResponse { sandboxes }))
245 }
246
247 async fn create_sandbox(
248 &self,

Callers

nothing calls this directly

Calls 2

with_stateMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected