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

Method get_capabilities

crates/openshell-driver-kubernetes/src/grpc.rs:33–41  ·  view source on GitHub ↗
(
        &self,
        _request: Request<GetCapabilitiesRequest>,
    )

Source from the content-addressed store, hash-verified

31#[tonic::async_trait]
32impl ComputeDriver for ComputeDriverService {
33 async fn get_capabilities(
34 &self,
35 _request: Request<GetCapabilitiesRequest>,
36 ) -> Result<Response<GetCapabilitiesResponse>, Status> {
37 self.driver
38 .capabilities()
39 .map(Response::new)
40 .map_err(Status::internal)
41 }
42
43 async fn validate_sandbox_create(
44 &self,

Callers

nothing calls this directly

Calls 1

capabilitiesMethod · 0.45

Tested by

no test coverage detected