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

Method create_provider

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

Source from the content-addressed store, hash-verified

359
360 #[rpc_auth(auth = "bearer", scope = "provider:write", role = "admin")]
361 async fn create_provider(
362 &self,
363 request: Request<CreateProviderRequest>,
364 ) -> Result<Response<ProviderResponse>, Status> {
365 provider::handle_create_provider(&self.state, request).await
366 }
367
368 #[rpc_auth(auth = "bearer", scope = "provider:read", role = "user")]
369 async fn get_provider(

Callers 1

spawn_create_providerFunction · 0.45

Calls 1

handle_create_providerFunction · 0.85

Tested by

no test coverage detected