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

Method validate_sandbox_create

crates/openshell-driver-kubernetes/src/grpc.rs:43–53  ·  view source on GitHub ↗
(
        &self,
        request: Request<ValidateSandboxCreateRequest>,
    )

Source from the content-addressed store, hash-verified

41 }
42
43 async fn validate_sandbox_create(
44 &self,
45 request: Request<ValidateSandboxCreateRequest>,
46 ) -> Result<Response<ValidateSandboxCreateResponse>, Status> {
47 let sandbox = request
48 .into_inner()
49 .sandbox
50 .ok_or_else(|| Status::invalid_argument("sandbox is required"))?;
51 self.driver.validate_sandbox_create(&sandbox).await?;
52 Ok(Response::new(ValidateSandboxCreateResponse {}))
53 }
54
55 async fn get_sandbox(
56 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected