Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ functions
Functions
9,017 in github.com/NVIDIA/OpenShell
⨍
Functions
9,017
◇
Types & classes
806
↓ 1 callers
Function
push_dynamic_token_grant_bindings_for_endpoint
( bindings: &mut Vec<DynamicTokenGrantBinding>, provider_name: &str, credential: &ProviderProfileC
crates/openshell-server/src/grpc/provider.rs:958
↓ 1 callers
Method
push_sandbox_logs
( &self, request: Request<tonic::Streaming<PushSandboxLogsRequest>>, )
crates/openshell-server/src/grpc/mod.rs:549
↓ 1 callers
Method
put_scoped
Insert or update a generic named object with an application-owned scope.
crates/openshell-server/src/persistence/mod.rs:265
↓ 1 callers
Method
put_scoped_message
Insert or update a protobuf message under an application-owned scope.
crates/openshell-server/src/persistence/mod.rs:343
↓ 1 callers
Function
qemu_runtime_dir
()
crates/openshell-driver-vm/src/runtime.rs:910
↓ 1 callers
Method
query_exact_declared_endpoint_host
Return true when the matched endpoint is an exact declared hostname. This intentionally excludes wildcard and hostless endpoints. The proxy uses this
crates/openshell-supervisor-network/src/opa.rs:571
↓ 1 callers
Function
query_tls_mode
Query the TLS mode for an endpoint, independent of L7 config. This extracts `tls: skip` from the endpoint even when no `protocol` is set.
crates/openshell-supervisor-network/src/proxy.rs:2190
↓ 1 callers
Function
raise_nofile_limit
()
crates/openshell-driver-vm/src/runtime.rs:952
↓ 1 callers
Method
raw_client
Get a clone of the underlying tonic client for direct RPC calls.
crates/openshell-core/src/grpc_client.rs:731
↓ 1 callers
Function
read_body_for_inspection
( client: &mut C, request: &mut L7Request, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/graphql.rs:358
↓ 1 callers
Function
read_bootstrap_token
(engine: &ContainerEngine, container_id: &str)
e2e/rust/tests/local_driver_token_restart.rs:176
↓ 1 callers
Function
read_chunked_body_for_inspection
( client: &mut C, request: &mut L7Request, header_end: usize, overflow: Vec<u8>, max_body_
crates/openshell-supervisor-network/src/l7/graphql.rs:449
↓ 1 callers
Function
read_chunked_body_for_inspection
( client: &mut C, request: &mut L7Request, header_end: usize, overflow: Vec<u8>, max_body_
crates/openshell-supervisor-network/src/l7/http.rs:103
↓ 1 callers
Function
read_forwarded_request_line
Like [`read_forwarded_inference_request`] but returns the forwarded request line (method, path) so a test can assert the upstream URL path.
crates/openshell-supervisor-network/src/proxy.rs:6424
↓ 1 callers
Function
read_frame_header
(reader: &mut R)
crates/openshell-supervisor-network/src/l7/websocket.rs:287
↓ 1 callers
Function
read_gateway_name
(path: &Path)
crates/openshell-bootstrap/src/metadata.rs:242
↓ 1 callers
Function
read_nonempty_trimmed
(path: &Path)
crates/openshell-bootstrap/src/metadata.rs:252
↓ 1 callers
Function
read_one_frame
(reader: &mut R)
crates/openshell-supervisor-network/src/l7/websocket.rs:1374
↓ 1 callers
Function
read_opencode_config_file
Read opencode credentials from `path`, returning `None` if the file is absent or unreadable.
crates/openshell-providers/src/providers/opencode.rs:61
↓ 1 callers
Function
read_recent_denial_lines
Walk the shorthand log files (most-recent first) and return up to `limit` raw denial lines in newest-first order. The agent receives the same human-re
crates/openshell-supervisor-network/src/policy_local.rs:349
↓ 1 callers
Function
read_request_body
(initial_request: &[u8], client: &mut S)
crates/openshell-supervisor-network/src/policy_local.rs:1139
↓ 1 callers
Method
read_request_payload
(self, length: int)
e2e/mcp-conformance/host-bridge.py:142
↓ 1 callers
Function
read_sysfs_trimmed
(path: &Path)
crates/openshell-vfio/src/sysfs.rs:210
↓ 1 callers
Function
read_system_ca_bundle
Read the system CA bundle from well-known paths. Returns the PEM contents of the first non-empty bundle found, or an empty string if none of the well
crates/openshell-supervisor-network/src/l7/tls.rs:293
↓ 1 callers
Function
read_tap_host_ip
Read the first IPv4 address assigned to a network interface.
crates/openshell-driver-vm/src/runtime.rs:382
↓ 1 callers
Function
read_vm_bootstrap_token
(sandbox_name: &str)
e2e/rust/tests/local_driver_token_restart.rs:188
↓ 1 callers
Function
read_websocket_frame
(reader: &mut R)
crates/openshell-supervisor-network/src/l7/rest.rs:2448
↓ 1 callers
Function
read_websocket_text
(stream: &mut TcpStream)
e2e/rust/tests/websocket_conformance.rs:134
↓ 1 callers
Method
reconcile_snapshot_sandbox
( &self, snapshot: DriverSandbox, sweep_started_at_ms: i64, )
crates/openshell-server/src/compute/mod.rs:1417
↓ 1 callers
Function
record_metrics
(state: &HealthState)
crates/openshell-server/src/readiness.rs:203
↓ 1 callers
Method
record_network_activity
(&self, sandbox_id: &str, summary: &NetworkActivitySummary)
crates/openshell-server/src/telemetry.rs:26
↓ 1 callers
Function
recv_until
(stream: &mut TcpStream, marker: &[u8])
e2e/rust/tests/websocket_conformance.rs:119
↓ 1 callers
Method
refresh_gpu_inventory
(&self)
crates/openshell-driver-podman/src/driver.rs:402
↓ 1 callers
Method
refresh_gpu_inventory
(&self)
crates/openshell-driver-docker/src/lib.rs:585
↓ 1 callers
Function
refresh_health
(app: &mut App)
crates/openshell-tui/src/lib.rs:2247
↓ 1 callers
Method
refresh_if_stale
Refresh keys if the TTL has elapsed. Holds the refresh mutex so concurrent callers coalesce into a single HTTP fetch. The second caller will re-check
crates/openshell-server/src/auth/oidc.rs:264
↓ 1 callers
Method
refresh_keys_coalesced
Refresh keys unconditionally, coalescing concurrent callers.
crates/openshell-server/src/auth/oidc.rs:279
↓ 1 callers
Function
refresh_sandbox_policy
Re-fetch only the sandbox policy when a version change is detected. Unlike `fetch_sandbox_detail()`, this skips the `GetSandbox` metadata call and pr
crates/openshell-tui/src/lib.rs:2361
↓ 1 callers
Method
refresh_sandbox_token
( &self, request: Request<RefreshSandboxTokenRequest>, )
crates/openshell-server/src/grpc/mod.rs:641
↓ 1 callers
Method
refresh_sandbox_token
( &self, _request: tonic::Request<openshell_core::proto::RefreshSandboxTokenRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:445
↓ 1 callers
Function
refresh_status_header
()
crates/openshell-cli/src/run.rs:5266
↓ 1 callers
Function
refresh_status_row
(status: &ProviderCredentialRefreshStatus)
crates/openshell-cli/src/run.rs:5402
↓ 1 callers
Function
refresh_token_loop
Background task that renews the sandbox JWT at ~80% of its remaining lifetime. The new token replaces the value in [`TOKEN_SLOT`], so all in-flight an
crates/openshell-core/src/grpc_client.rs:324
↓ 1 callers
Method
register
Record one active user of `id`. Returns the resulting process-local registration state.
crates/openshell-vfio/src/bind.rs:282
↓ 1 callers
Function
register_test_supervisor_session
(runtime: &ComputeRuntime, sandbox_id: &str)
crates/openshell-server/src/compute/mod.rs:2370
↓ 1 callers
Function
registered_keys_csv
()
crates/openshell-core/src/settings.rs:150
↓ 1 callers
Function
registry_layer_download_concurrency_value
(value: Option<&str>)
crates/openshell-driver-vm/src/driver.rs:4381
↓ 1 callers
Method
reject_draft_chunk
( &self, request: Request<RejectDraftChunkRequest>, )
crates/openshell-server/src/grpc/mod.rs:583
↓ 1 callers
Method
reject_draft_chunk
( &self, _request: tonic::Request<openshell_core::proto::RejectDraftChunkRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:396
↓ 1 callers
Function
reject_unsupported_headers
(headers: &str)
crates/openshell-supervisor-network/src/l7/graphql.rs:557
↓ 1 callers
Function
relay_control_frame
( reader: &mut R, writer: &mut W, frame: &FrameHeader, )
crates/openshell-supervisor-network/src/l7/websocket.rs:727
↓ 1 callers
Function
relay_graphql
( config: &L7EndpointConfig, engine: &TunnelPolicyEngine, client: &mut C, upstream: &mut U,
crates/openshell-supervisor-network/src/l7/relay.rs:1192
↓ 1 callers
Function
relay_http_request
Forward an allowed HTTP request to upstream and relay the response back. Returns the relay outcome indicating whether the connection is reusable, con
crates/openshell-supervisor-network/src/l7/rest.rs:357
↓ 1 callers
Function
relay_jsonrpc
( config: &L7EndpointConfig, engine: &TunnelPolicyEngine, client: &mut C, upstream: &mut U,
crates/openshell-supervisor-network/src/l7/relay.rs:1016
↓ 1 callers
Function
relay_rest
REST relay loop: parse request -> evaluate -> allow/deny -> relay response -> repeat.
crates/openshell-supervisor-network/src/l7/relay.rs:738
↓ 1 callers
Method
relay_stream
( &self, request: Request<tonic::Streaming<RelayFrame>>, )
crates/openshell-server/src/grpc/mod.rs:665
↓ 1 callers
Function
relay_until_eof
Relay all bytes from reader to writer until EOF or idle timeout. Used for HTTP responses with no explicit framing (no Content-Length, no Transfer-Enc
crates/openshell-supervisor-network/src/l7/rest.rs:2318
↓ 1 callers
Function
relay_until_eof_without_idle_timeout
Relay all bytes from reader to writer until EOF without an idle timeout. Used for server-sent events, where long idle gaps are part of the protocol a
crates/openshell-supervisor-network/src/l7/rest.rs:2347
↓ 1 callers
Function
release_pci_from_passthrough
Manually restore a VFIO-bound `PCIe` device to its host driver. Use this when the binding lifetime is owned by a long-lived component rather than by
crates/openshell-vfio/src/pci.rs:346
↓ 1 callers
Method
remediation
(mut self, desc: &str)
crates/openshell-ocsf/src/builders/finding.rs:79
↓ 1 callers
Function
remove_docs
(args: argparse.Namespace)
tasks/scripts/sync_docs_website.py:324
↓ 1 callers
Function
remove_docs_yml_entry
(docs_yml: Path, slug: str, fern_dir: Path)
tasks/scripts/sync_docs_website.py:249
↓ 1 callers
Function
remove_endpoint
(policy: &mut SandboxPolicy, rule_name: Option<&str>, host: &str, port: u32)
crates/openshell-policy/src/merge.rs:869
↓ 1 callers
Function
remove_rootfs_path
(rootfs: &Path, relative: &str)
crates/openshell-driver-vm/src/rootfs.rs:900
↓ 1 callers
Function
remove_stale_socket
(socket_path: &Path, expected_uid: u32)
crates/openshell-server/src/compute/vm.rs:361
↓ 1 callers
Function
remove_stale_socket
(socket_path: &Path, expected_uid: u32)
crates/openshell-driver-vm/src/main.rs:344
↓ 1 callers
Function
render_compact
Render compact output (one-line-per-finding-line for demos and CI). Returns exit code: 0 = pass, 1 = any findings present.
crates/openshell-prover/src/report.rs:80
↓ 1 callers
Function
render_connect_page
( gateway_addr: &str, callback_port: u16, cf_token: &str, code: &str, )
crates/openshell-server/tests/auth_endpoint_integration.rs:89
↓ 1 callers
Function
render_database
(state: &HealthState)
crates/openshell-server/src/http.rs:115
↓ 1 callers
Function
render_homebrew_formula
( *, release_tag: str, cli_sha256: str, gateway_sha256: str, driver_vm_sha256: str, )
tasks/scripts/release.py:227
↓ 1 callers
Function
render_include_line
(path: &Path)
crates/openshell-cli/src/ssh.rs:1463
↓ 1 callers
Function
render_log_line
Render a single structured log line — no target, smart field order, truncated.
crates/openshell-tui/src/ui/sandbox_logs.rs:212
↓ 1 callers
Function
render_markdown
(stats: list[WorkflowStats], since: dt.datetime)
scripts/baseline_workflow_metrics.py:300
↓ 1 callers
Function
render_paths
(paths: &[FindingPath])
crates/openshell-prover/src/report.rs:233
↓ 1 callers
Function
render_report
Render a full terminal report with finding panels. Returns exit code: 0 = pass, 1 = any findings present.
crates/openshell-prover/src/report.rs:133
↓ 1 callers
Function
render_ssh_config
(gateway: &str, name: &str)
crates/openshell-cli/src/ssh.rs:1435
↓ 1 callers
Function
render_waiting_page
(callback_port: u16, code: &str)
crates/openshell-server/tests/auth_endpoint_integration.rs:146
↓ 1 callers
Function
request_accepts_sse
(request: &L7Request)
crates/openshell-supervisor-network/src/l7/jsonrpc.rs:137
↓ 1 callers
Method
request_body_length
(self)
e2e/mcp-conformance/host-bridge.py:124
↓ 1 callers
Function
requested_sandbox_image
(sandbox: &Sandbox)
crates/openshell-driver-vm/src/driver.rs:3991
↓ 1 callers
Method
require_backend_features
(&mut self, features: impl IntoIterator<Item = BackendFeature>)
crates/openshell-driver-vm/src/lifecycle.rs:250
↓ 1 callers
Function
required_engine_from_driver
(driver: Option<&str>)
e2e/rust/src/harness/container.rs:201
↓ 1 callers
Function
required_role
(method: &str)
crates/openshell-server/src/auth/method_authz.rs:85
↓ 1 callers
Function
required_runtime_lib_name
()
crates/openshell-driver-vm/src/ffi.rs:108
↓ 1 callers
Function
required_scope
(method: &str)
crates/openshell-server/src/auth/method_authz.rs:79
↓ 1 callers
Function
required_server_sans
(server_sans: &[String])
crates/openshell-server/src/certgen.rs:522
↓ 1 callers
Function
required_vertex_config
Return a required Vertex AI config value, or a `FailedPrecondition` status.
crates/openshell-server/src/inference.rs:302
↓ 1 callers
Method
reserve_pending_sandbox
(&self, sandbox: &DriverSandbox)
crates/openshell-driver-docker/src/lib.rs:1051
↓ 1 callers
Function
reset_directory
(src: Path, dst: Path, *, preserve_components: bool)
tasks/scripts/sync_docs_website.py:87
↓ 1 callers
Method
reset_sandbox_state
Reset sandbox and provider state after switching gateways.
crates/openshell-tui/src/app.rs:2757
↓ 1 callers
Function
reset_transient_tty_signals
(command: &mut Command)
crates/openshell-cli/src/ssh.rs:211
↓ 1 callers
Method
resolve
(&self, token: &str)
crates/openshell-server/src/auth/k8s_sa.rs:221
↓ 1 callers
Function
resolve_config_path
(args: &RunArgs)
crates/openshell-server/src/cli.rs:488
↓ 1 callers
Function
resolve_configured_compute_driver
( driver_name: &str, driver_startup: compute::driver_config::DriverStartupContext<'_>, )
crates/openshell-server/src/lib.rs:859
↓ 1 callers
Function
resolve_default_docker_supervisor_image_tag
( openshell_image_tag: Option<&'static str>, image_tag: Option<&'static str>, cargo_pkg_version: &
crates/openshell-driver-docker/src/lib.rs:111
↓ 1 callers
Function
resolve_display_name
( channel: str, slug: str, source_ref: str, override: str )
tasks/scripts/sync_docs_website.py:70
↓ 1 callers
Function
resolve_dot_segments
(segments: Vec<&[u8]>)
crates/openshell-supervisor-network/src/l7/path.rs:237
↓ 1 callers
Function
resolve_dynamic_credentials
Resolve dynamic credentials (token grants) from provider profiles. Returns a map of endpoint-bound keys to credential metadata for credentials that h
crates/openshell-server/src/grpc/provider.rs:507
↓ 1 callers
Function
resolve_from_sandbox_hosts
( host: &str, port: u16, entrypoint_pid: u32, )
crates/openshell-supervisor-network/src/proxy.rs:2437
↓ 1 callers
Function
resolve_gateway
(config: &openshell_core::Config)
crates/openshell-server/src/grpc/sandbox.rs:1453
← previous
next →
3,401–3,500 of 9,017, ranked by callers