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

Method expose_service

crates/openshell-server/src/grpc/mod.rs:319–324  ·  view source on GitHub ↗
(
        &self,
        request: Request<ExposeServiceRequest>,
    )

Source from the content-addressed store, hash-verified

317
318 #[rpc_auth(auth = "bearer", scope = "sandbox:write", role = "user")]
319 async fn expose_service(
320 &self,
321 request: Request<ExposeServiceRequest>,
322 ) -> Result<Response<ServiceEndpointResponse>, Status> {
323 service::handle_expose_service(&self.state, request).await
324 }
325
326 #[rpc_auth(auth = "bearer", scope = "sandbox:read", role = "user")]
327 async fn get_service(

Callers

nothing calls this directly

Calls 1

handle_expose_serviceFunction · 0.85

Tested by

no test coverage detected