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
↓ 3 callers
Method
open_relay_with_target
( &self, sandbox_id: &str, target: relay_open::Target, service_id: String,
crates/openshell-server/src/supervisor_session.rs:256
↓ 3 callers
Function
openshell_bin
Return the path to the `openshell` CLI binary. Expects the binary at `<workspace>/target/debug/openshell`. # Panics Panics if the binary is not fou
e2e/rust/src/harness/binary.rs:31
↓ 3 callers
Function
ordered_fields
Return fields in a smart order based on the log message type.
crates/openshell-tui/src/ui/sandbox_logs.rs:333
↓ 3 callers
Function
parse_bedrock_invocation_path
Parse a Bedrock invocation path into its `(model_id, action_suffix, query_tail)` components. Recognized shape (caller's path on the way into the rout
crates/openshell-router/src/backend.rs:869
↓ 3 callers
Function
parse_driver_config_json
(value: &str)
crates/openshell-cli/src/run.rs:1640
↓ 3 callers
Function
parse_gateway_metadata
(path: &Path)
crates/openshell-bootstrap/src/metadata.rs:122
↓ 3 callers
Function
parse_host
(host: &str, config: &ServiceRoutingConfig)
crates/openshell-server/src/service_routing.rs:85
↓ 3 callers
Function
parse_host
(flag: &str, spec: &str, host: &str)
crates/openshell-cli/src/policy_update.rs:410
↓ 3 callers
Function
parse_port
(flag: &str, spec: &str, port: &str)
crates/openshell-cli/src/policy_update.rs:426
↓ 3 callers
Function
parse_profile_catalog_yamls
( inputs: &[&str], )
crates/openshell-providers/src/profiles.rs:1000
↓ 3 callers
Function
parse_query_params
(query: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:281
↓ 3 callers
Function
parse_websocket_upgrade_request
(raw_header: &[u8])
crates/openshell-supervisor-network/src/l7/rest.rs:1360
↓ 3 callers
Function
partition_routes
Split resolved routes into user-facing and system caches by route name. Routes named `"sandbox-system"` go to the system cache; everything else (incl
crates/openshell-supervisor-network/src/inference_routes.rs:285
↓ 3 callers
Function
path_matches_all
(path: &str)
crates/openshell-server/src/grpc/provider.rs:796
↓ 3 callers
Function
path_matches_all
(path: &str)
crates/openshell-providers/src/profiles.rs:1583
↓ 3 callers
Function
path_prefix_pattern
(path: &str)
crates/openshell-server/src/grpc/provider.rs:800
↓ 3 callers
Function
path_prefix_pattern
(path: &str)
crates/openshell-providers/src/profiles.rs:1587
↓ 3 callers
Method
pci_devices_dir
(&self)
crates/openshell-vfio/src/sysfs.rs:38
↓ 3 callers
Function
peer_cert_der
Extract the DER-encoded server certificate from a TLS session.
crates/openshell-server/src/tls.rs:388
↓ 3 callers
Method
pid
(&self)
crates/openshell-supervisor-process/src/process.rs:725
↓ 3 callers
Function
pid_matches_openshell_ssh_forward
Validate that a PID belongs to the expected `OpenShell` SSH forward.
crates/openshell-core/src/forward.rs:105
↓ 3 callers
Function
podman_driver_config
( template: &DriverSandboxTemplate, enable_bind_mounts: bool, )
crates/openshell-driver-podman/src/container.rs:628
↓ 3 callers
Function
policy_with_rule
(rule: NetworkPolicyRule)
crates/openshell-supervisor-network/src/policy_local.rs:1859
↓ 3 callers
Method
poll_settings
Poll for current effective sandbox settings and policy metadata.
crates/openshell-core/src/grpc_client.rs:736
↓ 3 callers
Function
prepare_sandbox_overlay_image
( template_path: &Path, overlay_disk: &Path, tls_materials: Option<&GuestTlsMaterials>, sandbo
crates/openshell-driver-vm/src/driver.rs:4601
↓ 3 callers
Function
prepare_sandbox_rootfs
(rootfs: &Path, sandbox_uid: u32, sandbox_gid: u32)
crates/openshell-driver-vm/src/rootfs.rs:355
↓ 3 callers
Function
prepared_image_cache_identity
(image_identity: &str)
crates/openshell-driver-vm/src/driver.rs:4369
↓ 3 callers
Method
println
Print a line above the progress bars (for static header content).
crates/openshell-cli/src/run.rs:370
↓ 3 callers
Function
probe_availability
Probe the kernel for Landlock support by issuing the `landlock_create_ruleset` syscall with the version-check flag. This is safe to call from the par
crates/openshell-supervisor-process/src/sandbox/linux/landlock.rs:55
↓ 3 callers
Method
process
(mut self, proc: Process)
crates/openshell-ocsf/src/builders/process.rs:46
↓ 3 callers
Function
process_running
(pid: u32)
e2e/rust/src/harness/gateway.rs:169
↓ 3 callers
Function
profile
()
crates/openshell-providers/src/discovery.rs:83
↓ 3 callers
Function
profile_diagnostics_have_errors
(diagnostics: &[ProviderProfileDiagnostic])
crates/openshell-cli/src/run.rs:5563
↓ 3 callers
Function
profile_file_diagnostic
(source: &str, message: String)
crates/openshell-cli/src/run.rs:5526
↓ 3 callers
Function
profiles_from_import_items
( items: &[ProviderProfileImportItem], )
crates/openshell-server/src/grpc/provider.rs:1586
↓ 3 callers
Function
proposal_chunks_from_body
(body: &[u8])
crates/openshell-supervisor-network/src/policy_local.rs:941
↓ 3 callers
Function
provider_create_with_options
( server: &str, name: &str, provider_type: &str, from_existing: bool, credentials: &[Strin
crates/openshell-cli/src/run.rs:4615
↓ 3 callers
Function
provider_list_profiles
(server: &str, output: &str, tls: &TlsOptions)
crates/openshell-cli/src/run.rs:5014
↓ 3 callers
Function
provider_profile_lint
( server: &str, file: Option<&Path>, from: Option<&Path>, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5187
↓ 3 callers
Function
provider_update
( server: &str, name: &str, from_existing: bool, credentials: &[String], config: &[String]
crates/openshell-cli/src/run.rs:5640
↓ 3 callers
Function
provisioning_condition
()
crates/openshell-driver-docker/src/lib.rs:1595
↓ 3 callers
Method
proxy_endpoint
(&self)
crates/openshell-ocsf/src/builders/mod.rs:231
↓ 3 callers
Method
proxy_with_candidates_streaming
Streaming variant of [`proxy_with_candidates`](Self::proxy_with_candidates). Returns response headers immediately without buffering the body. The cal
crates/openshell-router/src/lib.rs:105
↓ 3 callers
Method
publish_platform_event
(&self, sandbox_id: String, event: DriverPlatformEvent)
crates/openshell-driver-docker/src/lib.rs:1180
↓ 3 callers
Method
publish_sandbox_snapshot
(&self, sandbox: DriverSandbox)
crates/openshell-driver-docker/src/lib.rs:1162
↓ 3 callers
Method
pull_image
Pull an image if it is not already present locally. Uses the `policy` parameter to decide whether to pull: - `"always"` — always pull, even if a loca
crates/openshell-driver-podman/src/client.rs:575
↓ 3 callers
Function
qemu_disk_args
(config: &VmLaunchConfig)
crates/openshell-driver-vm/src/runtime.rs:223
↓ 3 callers
Function
query_l7_route_snapshot
Query L7 endpoint config from the OPA engine for a matched CONNECT decision. Returns `Some(L7EndpointConfig)` if the matched endpoint has L7 config (
crates/openshell-supervisor-network/src/proxy.rs:2130
↓ 3 callers
Function
read_body_for_inspection
( client: &mut C, request: &mut L7Request, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/http.rs:12
↓ 3 callers
Function
read_capped_response_body
Read a response body fully into memory, rejecting anything over `max` bytes. Used by the buffered proxy path so a misbehaving upstream cannot force u
crates/openshell-router/src/backend.rs:690
↓ 3 callers
Function
read_forwarded_inference_request
(stream: &mut S)
crates/openshell-supervisor-network/src/proxy.rs:6402
↓ 3 callers
Function
read_more
( client: &mut C, raw: &mut Vec<u8>, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/graphql.rs:521
↓ 3 callers
Function
read_more
( client: &mut C, raw: &mut Vec<u8>, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/http.rs:175
↓ 3 callers
Function
read_ppid
Read the `PPid` (parent PID) from `/proc/<pid>/status`.
crates/openshell-supervisor-process/src/bypass_monitor/procfs.rs:89
↓ 3 callers
Function
read_yaml
(path: Path)
tasks/scripts/sync_docs_website.py:126
↓ 3 callers
Function
read_yaml
(path: Path)
tasks/scripts/sync_docs_website_test.py:24
↓ 3 callers
Method
reap_expired_relays
Remove all pending relays that have exceeded the timeout.
crates/openshell-server/src/supervisor_session.rs:388
↓ 3 callers
Function
refresh_global_settings
(app: &mut App)
crates/openshell-tui/src/lib.rs:1991
↓ 3 callers
Method
refresh_keys
Fetch the JWKS and update the cached keys.
crates/openshell-server/src/auth/oidc.rs:222
↓ 3 callers
Function
refresh_sandboxes
(app: &mut App)
crates/openshell-tui/src/lib.rs:2269
↓ 3 callers
Function
refresh_scopes
(state: &StoredProviderCredentialRefreshState)
crates/openshell-server/src/provider_refresh.rs:609
↓ 3 callers
Function
refresh_state_name
(provider_id: &str, credential_key: &str)
crates/openshell-server/src/provider_refresh.rs:31
↓ 3 callers
Function
register_session_with_capacity
( registry: &SupervisorSessionRegistry, sandbox_id: &str, capacity: usize, )
crates/openshell-server/tests/supervisor_relay_integration.rs:457
↓ 3 callers
Function
relay_chunked
Relay chunked transfer encoding from reader to writer. Copies bytes verbatim (preserving chunk framing) while parsing the stream boundaries so we can
crates/openshell-supervisor-network/src/l7/rest.rs:1775
↓ 3 callers
Function
relay_fixed
Relay exactly `len` bytes from reader to writer.
crates/openshell-supervisor-network/src/l7/rest.rs:1735
↓ 3 callers
Function
relay_open_event
( ctx: &SandboxContext, open: &RelayOpen, ssh_socket_path: &std::path::Path, )
crates/openshell-supervisor-process/src/supervisor_session.rs:137
↓ 3 callers
Function
relay_target_endpoint
(open: &RelayOpen)
crates/openshell-supervisor-process/src/supervisor_session.rs:97
↓ 3 callers
Method
remove
Remove the bus entry for the given sandbox id. This drops the broadcast sender, closing any active receivers with `RecvError::Closed`.
crates/openshell-server/src/sandbox_watch.rs:56
↓ 3 callers
Method
remove_env_key
Remove a key from the credential snapshot's child env. Used when a sandbox-side service (e.g., metadata server) fails to start and the corresponding
crates/openshell-core/src/provider_credentials.rs:87
↓ 3 callers
Function
remove_sandbox_state_dir
(root: &Path, state_dir: &Path)
crates/openshell-driver-vm/src/driver.rs:4242
↓ 3 callers
Function
render_waiting_page
Render a waiting page shown when the edge proxy auth cookie is not yet present. This can happen if the edge proxy hasn't completed authentication yet
crates/openshell-server/src/auth/http.rs:407
↓ 3 callers
Method
request_ok
Perform a request that returns no meaningful body.
crates/openshell-driver-podman/src/client.rs:379
↓ 3 callers
Function
request_token
( token_url: &str, form: &[(String, String)], max_lifetime_seconds: i64, )
crates/openshell-server/src/provider_refresh.rs:547
↓ 3 callers
Method
require_backend
(&mut self, backend: VmBackend)
crates/openshell-driver-vm/src/lifecycle.rs:238
↓ 3 callers
Function
require_persisted_sandbox
( store: &Arc<crate::persistence::Store>, sandbox_id: &str, )
crates/openshell-server/src/supervisor_session.rs:437
↓ 3 callers
Function
require_rootfs_path
(rootfs: &Path, relative: &str)
crates/openshell-driver-vm/src/rootfs.rs:874
↓ 3 callers
Function
require_tls_materials
(server: &str, tls: &TlsOptions)
crates/openshell-cli/src/tls.rs:166
↓ 3 callers
Method
requires_qemu
(self)
crates/openshell-driver-vm/src/lifecycle.rs:130
↓ 3 callers
Function
reqwest_verify
Helper: run `verify_backend_endpoint` and return the expected failure.
crates/openshell-router/src/backend.rs:1602
↓ 3 callers
Function
resolve_file_download_target
Resolve the host-side target path for a downloaded *file*, following `cp`-style semantics. - If `dest_str` ends with `/` or already exists as a direc
crates/openshell-cli/src/ssh.rs:924
↓ 3 callers
Method
resolve_gpu_cdi_devices
( &self, gpu_requirements: Option<&GpuResourceRequirements>, driver_config: &DockerSan
crates/openshell-driver-docker/src/lib.rs:598
↓ 3 callers
Function
resolve_sandbox_by_name_for_principal
( store: &Store, principal: &Principal, name: &str, )
crates/openshell-server/src/grpc/policy.rs:1052
↓ 3 callers
Method
resolve_sandbox_uid
Resolve the sandbox UID/GID pair. Resolution order: 1. Configured `sandbox_uid` / `sandbox_gid` (explicit override) 2. `OpenShift` SCC namespace anno
crates/openshell-driver-kubernetes/src/config.rs:347
↓ 3 callers
Function
resolve_ssh_hostname
Resolve an SSH host alias to the actual hostname or IP address. Uses `ssh -G <host>` to query the effective SSH configuration, which resolves `~/.ssh
crates/openshell-bootstrap/src/metadata.rs:153
↓ 3 callers
Function
resolve_tcp_peer_socket_owners
( entrypoint_pid: u32, peer_port: u16, )
crates/openshell-supervisor-network/src/procfs.rs:133
↓ 3 callers
Method
resolved_sandbox_image
(&self, sandbox: &Sandbox)
crates/openshell-driver-vm/src/driver.rs:1780
↓ 3 callers
Function
rewrite_bedrock_path
Rewrite a Bedrock invocation path so the model segment is the operator-configured `route.model` rather than whatever the caller supplied. Returns the
crates/openshell-router/src/backend.rs:912
↓ 3 callers
Function
rewrite_group_at
(path: &Path, gid: &str)
crates/openshell-supervisor-process/src/process.rs:1065
↓ 3 callers
Function
rewrite_header_line_checked
( line: &str, resolver: &SecretResolver, )
crates/openshell-core/src/secrets.rs:991
↓ 3 callers
Function
rewrite_websocket_extensions_for_mode
( raw_header: &[u8], mode: WebSocketExtensionMode, websocket_request: bool, )
crates/openshell-supervisor-network/src/l7/rest.rs:1201
↓ 3 callers
Method
route_cache
Get a handle to the user route cache for background refresh.
crates/openshell-supervisor-network/src/proxy.rs:142
↓ 3 callers
Function
route_headers_for_route
Derive routing header policy for a specific resolved route. Most providers only need their provider type. Vertex AI is special because Claude routes
crates/openshell-core/src/inference.rs:289
↓ 3 callers
Function
rule_with_endpoint
(name: &str, host: &str, port: u32)
crates/openshell-policy/src/merge.rs:937
↓ 3 callers
Function
run_cli
Run `openshell <args>` using the system's configured gateway.
e2e/rust/tests/edge_tunnel_e2e.rs:27
↓ 3 callers
Function
run_client_to_server_with_graphql_policy
( input: Vec<u8>, resolver: Option<&SecretResolver>, )
crates/openshell-supervisor-network/src/l7/websocket.rs:1247
↓ 3 callers
Function
run_live_streaming_inference
(serve_upstream: F)
crates/openshell-supervisor-network/src/proxy.rs:6444
↓ 3 callers
Function
run_upgraded_websocket_case
( request_extension: Option<&'static str>, response_extension: Option<&'static str>, e
crates/openshell-supervisor-network/src/l7/rest.rs:2608
↓ 3 callers
Function
run_without_docker
Run `openshell <args>` in an isolated environment where Docker is guaranteed to be unreachable. Sets `DOCKER_HOST` to a non-existent socket so the pr
e2e/rust/tests/docker_preflight.rs:28
↓ 3 callers
Function
runtime_gpu_lines
(gpu_device: &str)
e2e/rust/tests/gpu/device_selection.rs:260
↓ 3 callers
Function
sandbox
(id: &str)
crates/openshell-server/src/auth/guard.rs:114
← previous
next →
1,301–1,400 of 9,017, ranked by callers