MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 2 callersFunctionrefresh_gateway_list
Refresh the list of known gateways from disk.
crates/openshell-tui/src/lib.rs:443
↓ 2 callersFunctionrefresh_sandbox_draft_counts
Fetch the count of pending draft recommendations for every sandbox. This runs on the Dashboard tick so the sandbox list can show notification badges
crates/openshell-tui/src/lib.rs:2431
↓ 2 callersFunctionrefresh_status_from_state
( state: &StoredProviderCredentialRefreshState, )
crates/openshell-server/src/provider_refresh.rs:154
↓ 2 callersFunctionregistry_auth
(image_ref: &str)
crates/openshell-driver-vm/src/driver.rs:3450
↓ 2 callersFunctionregistry_client
()
crates/openshell-driver-vm/src/driver.rs:3415
↓ 2 callersFunctionregistry_layer_download_concurrency
()
crates/openshell-driver-vm/src/driver.rs:4376
↓ 2 callersFunctionreject_internal_resolved_addrs
( host: &str, addrs: &[SocketAddr], )
crates/openshell-supervisor-network/src/proxy.rs:2504
↓ 2 callersMethodrelay
( &self, req: &L7Request, client: &mut C, upstream: &mut U, )
crates/openshell-supervisor-network/src/l7/rest.rs:82
↓ 2 callersFunctionrelay_and_capture_with_options
( raw_header: Vec<u8>, body_length: BodyLength, resolver: Option<&SecretResolver>,
crates/openshell-supervisor-network/src/l7/rest.rs:5022
↓ 2 callersFunctionrelay_close_from_gateway_event
( ctx: &SandboxContext, channel_id: &str, reason: &str, )
crates/openshell-supervisor-process/src/supervisor_session.rs:195
↓ 2 callersFunctionrelay_closed_event
( ctx: &SandboxContext, open: &RelayOpen, ssh_socket_path: &std::path::Path, )
crates/openshell-supervisor-process/src/supervisor_session.rs:155
↓ 2 callersFunctionrelay_failed_event
( ctx: &SandboxContext, open: &RelayOpen, ssh_socket_path: &std::path::Path, error: &str, )
crates/openshell-supervisor-process/src/supervisor_session.rs:173
↓ 2 callersFunctionrelay_forward_request_and_capture
( method: &str, path: &str, raw: &[u8], resolver: Option<&SecretResolver>,
crates/openshell-supervisor-network/src/proxy.rs:4658
↓ 2 callersMethodrelay_stream
( &self, request: tonic::Request<tonic::Streaming<RelayFrame>>, )
crates/openshell-server/tests/supervisor_relay_integration.rs:55
↓ 2 callersFunctionrelay_target_message
( open: &RelayOpen, state: &str, ssh_socket_path: &std::path::Path, )
crates/openshell-supervisor-process/src/supervisor_session.rs:116
↓ 2 callersFunctionrelay_text_payload
( writer: &mut W, frame: &FrameHeader, payload: Vec<u8>, force_reframe: bool, compressed:
crates/openshell-supervisor-network/src/l7/websocket.rs:478
↓ 2 callersFunctionrelay_with_options
Relay an upgraded WebSocket connection with optional client text inspection, credential rewriting, and strict permessage-deflate handling.
crates/openshell-supervisor-network/src/l7/websocket.rs:74
↓ 2 callersMethodrelease
Release the lease so a standby replica can acquire immediately without waiting for TTL expiry.
crates/openshell-server/src/compute/lease.rs:201
↓ 2 callersMethodrelease_allocations
(&self, sandbox_id: &str, has_gpu: bool, has_qemu_network: bool)
crates/openshell-driver-vm/src/driver.rs:1341
↓ 2 callersMethodrelease_gpu
(&self, sandbox_id: &str)
crates/openshell-driver-vm/src/driver.rs:1327
↓ 2 callersFunctionrelease_pci_group_from_passthrough
Manually restore every `PCIe` device in a group that was bound via [`prepare_pci_group_for_passthrough`]. Counterpart to [`release_pci_from_passthrou
crates/openshell-vfio/src/pci.rs:503
↓ 2 callersMethodremove
(&mut self, id: &str)
crates/openshell-vfio/src/bind.rs:314
↓ 2 callersFunctionremove_chunk_from_policy
( state: &ServerState, sandbox_id: &str, chunk: &DraftChunkRecord, )
crates/openshell-server/src/grpc/policy.rs:3607
↓ 2 callersFunctionremove_gateway_metadata
Remove gateway metadata file.
crates/openshell-bootstrap/src/metadata.rs:402
↓ 2 callersFunctionremove_gateway_registration
(name: &str)
crates/openshell-cli/src/run.rs:1482
↓ 2 callersMethodremove_if_current
Remove the session only if its `session_id` matches the one we are cleaning up. Returns `true` if the entry was removed. This guards against the supe
crates/openshell-server/src/supervisor_session.rs:157
↓ 2 callersFunctionremove_oidc_token
Remove a stored OIDC token.
crates/openshell-bootstrap/src/oidc_token.rs:69
↓ 2 callersMethodremove_pending_sandbox
( &self, sandbox_id: &str, sandbox_name: &str, )
crates/openshell-driver-docker/src/lib.rs:1100
↓ 2 callersFunctionrender_chase
Render the NVIDIA pacman chasing a maroon claw across a dot track. The sprite scrolls right across `track_width`, wrapping around.
crates/openshell-tui/src/ui/create_sandbox.rs:304
↓ 2 callersFunctionrender_guest_init_dropin_manifest
Render the drop-in allow-list as newline-separated, ASCII-sorted, de-duplicated names. Names are already validated to be path-safe by [`validate_guest
crates/openshell-driver-vm/src/driver.rs:4716
↓ 2 callersFunctionrender_policy_lines
Convert a `SandboxPolicy` proto into styled ratatui lines for the policy viewer.
crates/openshell-tui/src/lib.rs:1137
↓ 2 callersFunctionrender_response
(state: &HealthState)
crates/openshell-server/src/http.rs:95
↓ 2 callersFunctionrender_versions
(entries: list[VersionEntry])
tasks/scripts/sync_docs_website.py:212
↓ 2 callersMethodreplay_pending_relays
(&self, sandbox_id: &str, tx: &mpsc::Sender<GatewayMessage>)
crates/openshell-server/src/supervisor_session.rs:398
↓ 2 callersFunctionreplica_id
Derive a stable replica identity for lease ownership. Kubernetes sets `HOSTNAME` to the pod name, Docker sets it to the container ID, and systemd uni
crates/openshell-server/src/compute/lease.rs:246
↓ 2 callersMethodreport_policy_status
( &self, request: Request<ReportPolicyStatusRequest>, )
crates/openshell-server/src/grpc/mod.rs:531
↓ 2 callersFunctionrequest_is_h2c_upgrade
(raw_header: &[u8])
crates/openshell-supervisor-network/src/l7/rest.rs:1171
↓ 2 callersFunctionrequest_origin
(req: &Request)
crates/openshell-server/src/http.rs:270
↓ 2 callersFunctionrequire_engine_available
( engine: &str, probe: &impl ContainerEngineProbe, )
e2e/rust/src/harness/container.rs:286
↓ 2 callersFunctionrequire_non_expiring_token
(token: &str, context: &str)
e2e/rust/tests/local_driver_token_restart.rs:261
↓ 2 callersMethodrequires_tls_materials
(&self)
crates/openshell-driver-vm/src/driver.rs:300
↓ 2 callersMethodreset_image_staging_dir
(&self, staging_dir: &Path)
crates/openshell-driver-vm/src/driver.rs:2352
↓ 2 callersFunctionresolve_active_gateway
()
crates/openshell-cli/src/completers.rs:79
↓ 2 callersFunctionresolve_and_check_declared_endpoint
Resolve a host:port that was explicitly declared by hostname in policy. Exact declared hostnames are the operator's trust signal, so RFC1918 and othe
crates/openshell-supervisor-network/src/proxy.rs:2638
↓ 2 callersMethodresolve_api_key
(&self)
crates/openshell-router/src/config.rs:111
↓ 2 callersFunctionresolve_component
Try to resolve a license for a component.
deploy/sbom/resolve_licenses.py:303
↓ 2 callersFunctionresolve_compute_driver_bin
Resolve the `openshell-driver-vm` binary path. Resolution order: 1. `{driver_dir}/openshell-driver-vm`, where `driver_dir` comes from `[openshell.dri
crates/openshell-server/src/compute/vm.rs:189
↓ 2 callersFunctionresolve_container_engine
( legacy_selector: Option<&str>, explicit_engine: Option<&str>, e2e_driver: Option<&str>, prob
e2e/rust/src/harness/container.rs:340
↓ 2 callersFunctionresolve_driver_search_dirs
(vm_config: &VmComputeConfig)
crates/openshell-server/src/compute/vm.rs:227
↓ 2 callersFunctionresolve_gateway_metadata_path
(name: &str)
crates/openshell-bootstrap/src/metadata.rs:108
↓ 2 callersMethodresolve_gpu_cdi_devices
( &self, gpu_requirements: Option<&GpuResourceRequirements>, driver_config: &PodmanSan
crates/openshell-driver-podman/src/driver.rs:407
↓ 2 callersFunctionresolve_image
(sandbox: &'a DriverSandbox, config: &'a PodmanComputeConfig)
crates/openshell-driver-podman/src/container.rs:317
↓ 2 callersMethodresolve_local_container_image
( &self, image_ref: &str, )
crates/openshell-driver-vm/src/driver.rs:1953
↓ 2 callersFunctionresolve_process_identity
Resolve process identity from a TCP source port. Returns `(binary_path, pid, ancestors)` as display strings. Falls back to `("-", "-", "-")` on any f
crates/openshell-supervisor-process/src/bypass_monitor/mod.rs:302
↓ 2 callersMethodresolve_sandbox_gid
Resolve the sandbox GID, falling back to the resolved UID.
crates/openshell-driver-vm/src/driver.rs:273
↓ 2 callersMethodresolve_sandbox_uid
Resolve the sandbox UID, falling back to `DEFAULT_SANDBOX_UID`.
crates/openshell-driver-vm/src/driver.rs:268
↓ 2 callersFunctionresolve_single_tcp_peer_owner
(entrypoint_pid: u32, peer_port: u16)
crates/openshell-supervisor-network/src/procfs.rs:144
↓ 2 callersFunctionresolve_slug
(channel: str, version_slug: str)
tasks/scripts/sync_docs_website.py:56
↓ 2 callersFunctionresolve_supervisor_bin_source
( docker_config: &DockerComputeConfig, current_exe: Option<&Path>, target_candidates: &[PathBuf],
crates/openshell-driver-docker/src/lib.rs:3033
↓ 2 callersFunctionresolve_vertex_ai_route
Resolve a Vertex AI route given provider config, model, and bearer token.
crates/openshell-server/src/inference.rs:549
↓ 2 callersFunctionresolved_dynamic_credential
( credential: &ProviderProfileCredential, override_config: Option<&ProviderCredentialTokenGrantAudienc
crates/openshell-server/src/grpc/provider.rs:649
↓ 2 callersMethodresource_version
(&self)
crates/openshell-server/src/compute/lease.rs:64
↓ 2 callersFunctionrest_token_grant_relay_context
( resolver_response: std::result::Result<&str, &str>, )
crates/openshell-supervisor-network/src/l7/relay.rs:1835
↓ 2 callersFunctionrestore_to_host_driver_ex
Inner restore implementation. When `skip_deregister` is `true` the caller has already removed the device's vendor:device ID from vfio-pci's match tab
crates/openshell-vfio/src/bind.rs:213
↓ 2 callersFunctionrestrict_owner_only_dir
(path: &Path)
crates/openshell-driver-vm/src/driver.rs:4175
↓ 2 callersMethodresume
Resume stdin polling (call after child process exits and TUI resumes).
crates/openshell-tui/src/event.rs:130
↓ 2 callersFunctionrewrite_event_message
(host: &str, port: u16, replacements: usize)
crates/openshell-supervisor-network/src/l7/websocket.rs:973
↓ 2 callersFunctionrewrite_header_line
(line: &str, resolver: &SecretResolver)
crates/openshell-core/src/secrets.rs:987
↓ 2 callersFunctionrewrite_uri_path
( path: &str, resolver: &SecretResolver, )
crates/openshell-core/src/secrets.rs:773
↓ 2 callersFunctionrewrite_uri_query_params
Rewrite placeholders in query parameter values. Returns `Some((resolved_query, redacted_query))` if any placeholders were found.
crates/openshell-core/src/secrets.rs:870
↓ 2 callersFunctionrollback_gateway_registration
(name: &str, previous_active: Option<&str>)
crates/openshell-cli/src/run.rs:1463
↓ 2 callersFunctionrollback_provider_create_after_gcloud_adc_failure
( client: &mut crate::tls::GrpcClient, provider_name: &str, stage: &str, source: &Status, )
crates/openshell-cli/src/run.rs:4425
↓ 2 callersMethodrotate_provider_credential
( &self, _: tonic::Request<openshell_core::proto::RotateProviderCredentialRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:272
↓ 2 callersFunctionround_up_to_mib
(bytes: u64)
crates/openshell-driver-vm/src/rootfs.rs:459
↓ 2 callersFunctionroute_is_bedrock
Check whether a route targets an AWS Bedrock `InvokeModel` endpoint. Returns true when any of the route's protocols is one of the Bedrock invocation
crates/openshell-router/src/backend.rs:844
↓ 2 callersFunctionrouter
Create the WebSocket tunnel router.
crates/openshell-server/src/ws_tunnel.rs:35
↓ 2 callersFunctionrouter_with_state
Build a router whose state is driven by a `HealthState` we control, so each handler-shape test can pin the exact mapping under test.
crates/openshell-server/src/http.rs:469
↓ 2 callersFunctionrules_have_graphql_policy
(val: &regorus::Value, key: &str, allow_wrapped: bool)
crates/openshell-supervisor-network/src/l7/mod.rs:354
↓ 2 callersFunctionrun
Bind a TCP listener inside the sandbox network namespace. Run the metadata server accept loop. Signals `ready_tx` with the bound address before ente
crates/openshell-sandbox/src/metadata_server.rs:48
↓ 2 callersFunctionrun_cli
(args: &[&str])
e2e/rust/src/harness/cli.rs:15
↓ 2 callersFunctionrun_client_to_server_compressed
(input: Vec<u8>)
crates/openshell-supervisor-network/src/l7/websocket.rs:1314
↓ 2 callersFunctionrun_nft_netns
Load an nftables ruleset inside a network namespace via `nsenter --net=`. Writes the ruleset to a temp file and loads it with `nft -f <path>`. A temp
crates/openshell-supervisor-process/src/netns/mod.rs:542
↓ 2 callersFunctionrun_non_streaming
(client: OpenAI, label: str, model: str)
examples/local-inference/inference.py:42
↓ 2 callersFunctionrun_prover_findings
Run the prover end-to-end against a single policy with the given credential set. Returns the raw finding list, or a short error string identifying whi
crates/openshell-server/src/grpc/policy.rs:498
↓ 2 callersFunctionrun_refresh_worker_tick
(store: &Store)
crates/openshell-server/src/provider_refresh.rs:700
↓ 2 callersFunctionrun_streaming
(client: OpenAI, label: str, model: str)
examples/local-inference/inference.py:64
↓ 2 callersFunctionrun_volume_container
( volume: &VolumeGuard, purpose: &str, read_only: bool, script: &str, )
e2e/rust/tests/driver_config_volume.rs:210
↓ 2 callersFunctionsandbox_connect
Connect to a sandbox via SSH.
crates/openshell-cli/src/ssh.rs:281
↓ 2 callersFunctionsandbox_connect_editor
( server: &str, gateway: &str, name: &str, editor: Editor, tls: &TlsOptions, )
crates/openshell-cli/src/ssh.rs:293
↓ 2 callersFunctionsandbox_connect_with_mode
( server: &str, name: &str, tls: &TlsOptions, replace_process: bool, )
crates/openshell-cli/src/ssh.rs:253
↓ 2 callersFunctionsandbox_delete
Delete a sandbox by name, or all sandboxes when `all` is true.
crates/openshell-cli/src/run.rs:3627
↓ 2 callersFunctionsandbox_event
Build a `WatchSandboxesEvent` carrying a sandbox snapshot.
crates/openshell-driver-podman/src/watcher.rs:32
↓ 2 callersFunctionsandbox_exec_with_mode
( server: &str, name: &str, command: &[String], tty: bool, tls: &TlsOptions, replace_p
crates/openshell-cli/src/ssh.rs:524
↓ 2 callersFunctionsandbox_from_object
(namespace: &str, obj: DynamicObject)
crates/openshell-driver-kubernetes/src/driver.rs:882
↓ 2 callersFunctionsandbox_gpu_requested
(resources: Option<&SandboxResourceRequirements>)
crates/openshell-core/src/gpu.rs:20
↓ 2 callersFunctionsandbox_guest_init_path
()
crates/openshell-driver-vm/src/rootfs.rs:25
↓ 2 callersFunctionsandbox_list_names
()
e2e/rust/tests/sandbox_lifecycle.rs:38
↓ 2 callersFunctionsandbox_log_level
Return the effective log level for a sandbox. Uses the level from the sandbox spec when non-empty, falling back to `default_level` otherwise.
crates/openshell-core/src/driver_utils.rs:119
↓ 2 callersFunctionsandbox_provider_list
(server: &str, name: &str, tls: &TlsOptions)
crates/openshell-cli/src/run.rs:3441
↓ 2 callersFunctionsandbox_runtime_disk_paths
(state_dir: &Path)
crates/openshell-driver-vm/src/driver.rs:4206
← previousnext →2,001–2,100 of 9,017, ranked by callers