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

Method validate_sandbox_create

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

Source from the content-addressed store, hash-verified

195 }
196
197 async fn validate_sandbox_create(
198 &self,
199 request: Request<ValidateSandboxCreateRequest>,
200 ) -> Result<Response<ValidateSandboxCreateResponse>, Status> {
201 let sandbox = request.into_inner().sandbox;
202 self.with_state(|state| {
203 state
204 .calls
205 .push(FakeComputeDriverCall::ValidateSandboxCreate { sandbox });
206 });
207 Ok(Response::new(ValidateSandboxCreateResponse {}))
208 }
209
210 async fn get_sandbox(
211 &self,

Callers

nothing calls this directly

Calls 2

with_stateMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected