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

Function connect_channel_pub

crates/openshell-core/src/grpc_client.rs:315–317  ·  view source on GitHub ↗

Build an authenticated channel for direct external use (e.g. the long-lived `supervisor_session` control stream).

(endpoint: &str)

Source from the content-addressed store, hash-verified

313/// Build an authenticated channel for direct external use (e.g. the
314/// long-lived `supervisor_session` control stream).
315pub async fn connect_channel_pub(endpoint: &str) -> Result<AuthedChannel> {
316 connect_channel(endpoint).await
317}
318
319/// Background task that renews the sandbox JWT at ~80% of its remaining
320/// lifetime. The new token replaces the value in [`TOKEN_SLOT`], so all

Callers 2

run_single_sessionFunction · 0.85
open_clientFunction · 0.85

Calls 1

connect_channelFunction · 0.85

Tested by

no test coverage detected