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

Function interceptor_from_tls

crates/openshell-cli/src/tls.rs:443–445  ·  view source on GitHub ↗
(tls: &TlsOptions)

Source from the content-addressed store, hash-verified

441}
442
443fn interceptor_from_tls(tls: &TlsOptions) -> Result<EdgeAuthInterceptor> {
444 EdgeAuthInterceptor::new(tls.oidc_token.as_deref(), tls.edge_token.as_deref())
445}
446
447pub async fn grpc_inference_client(server: &str, tls: &TlsOptions) -> Result<GrpcInferenceClient> {
448 let channel = build_channel(server, tls).await?;

Callers 2

grpc_clientFunction · 0.85
grpc_inference_clientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected