MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 3 callersMethodopen_relay_with_target
( &self, sandbox_id: &str, target: relay_open::Target, service_id: String,
crates/openshell-server/src/supervisor_session.rs:256
↓ 3 callersFunctionopenshell_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 callersFunctionordered_fields
Return fields in a smart order based on the log message type.
crates/openshell-tui/src/ui/sandbox_logs.rs:333
↓ 3 callersFunctionparse_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 callersFunctionparse_driver_config_json
(value: &str)
crates/openshell-cli/src/run.rs:1640
↓ 3 callersFunctionparse_gateway_metadata
(path: &Path)
crates/openshell-bootstrap/src/metadata.rs:122
↓ 3 callersFunctionparse_host
(host: &str, config: &ServiceRoutingConfig)
crates/openshell-server/src/service_routing.rs:85
↓ 3 callersFunctionparse_host
(flag: &str, spec: &str, host: &str)
crates/openshell-cli/src/policy_update.rs:410
↓ 3 callersFunctionparse_port
(flag: &str, spec: &str, port: &str)
crates/openshell-cli/src/policy_update.rs:426
↓ 3 callersFunctionparse_profile_catalog_yamls
( inputs: &[&str], )
crates/openshell-providers/src/profiles.rs:1000
↓ 3 callersFunctionparse_query_params
(query: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:281
↓ 3 callersFunctionparse_websocket_upgrade_request
(raw_header: &[u8])
crates/openshell-supervisor-network/src/l7/rest.rs:1360
↓ 3 callersFunctionpartition_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 callersFunctionpath_matches_all
(path: &str)
crates/openshell-server/src/grpc/provider.rs:796
↓ 3 callersFunctionpath_matches_all
(path: &str)
crates/openshell-providers/src/profiles.rs:1583
↓ 3 callersFunctionpath_prefix_pattern
(path: &str)
crates/openshell-server/src/grpc/provider.rs:800
↓ 3 callersFunctionpath_prefix_pattern
(path: &str)
crates/openshell-providers/src/profiles.rs:1587
↓ 3 callersMethodpci_devices_dir
(&self)
crates/openshell-vfio/src/sysfs.rs:38
↓ 3 callersFunctionpeer_cert_der
Extract the DER-encoded server certificate from a TLS session.
crates/openshell-server/src/tls.rs:388
↓ 3 callersMethodpid
(&self)
crates/openshell-supervisor-process/src/process.rs:725
↓ 3 callersFunctionpid_matches_openshell_ssh_forward
Validate that a PID belongs to the expected `OpenShell` SSH forward.
crates/openshell-core/src/forward.rs:105
↓ 3 callersFunctionpodman_driver_config
( template: &DriverSandboxTemplate, enable_bind_mounts: bool, )
crates/openshell-driver-podman/src/container.rs:628
↓ 3 callersFunctionpolicy_with_rule
(rule: NetworkPolicyRule)
crates/openshell-supervisor-network/src/policy_local.rs:1859
↓ 3 callersMethodpoll_settings
Poll for current effective sandbox settings and policy metadata.
crates/openshell-core/src/grpc_client.rs:736
↓ 3 callersFunctionprepare_sandbox_overlay_image
( template_path: &Path, overlay_disk: &Path, tls_materials: Option<&GuestTlsMaterials>, sandbo
crates/openshell-driver-vm/src/driver.rs:4601
↓ 3 callersFunctionprepare_sandbox_rootfs
(rootfs: &Path, sandbox_uid: u32, sandbox_gid: u32)
crates/openshell-driver-vm/src/rootfs.rs:355
↓ 3 callersFunctionprepared_image_cache_identity
(image_identity: &str)
crates/openshell-driver-vm/src/driver.rs:4369
↓ 3 callersMethodprintln
Print a line above the progress bars (for static header content).
crates/openshell-cli/src/run.rs:370
↓ 3 callersFunctionprobe_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 callersMethodprocess
(mut self, proc: Process)
crates/openshell-ocsf/src/builders/process.rs:46
↓ 3 callersFunctionprocess_running
(pid: u32)
e2e/rust/src/harness/gateway.rs:169
↓ 3 callersFunctionprofile
()
crates/openshell-providers/src/discovery.rs:83
↓ 3 callersFunctionprofile_diagnostics_have_errors
(diagnostics: &[ProviderProfileDiagnostic])
crates/openshell-cli/src/run.rs:5563
↓ 3 callersFunctionprofile_file_diagnostic
(source: &str, message: String)
crates/openshell-cli/src/run.rs:5526
↓ 3 callersFunctionprofiles_from_import_items
( items: &[ProviderProfileImportItem], )
crates/openshell-server/src/grpc/provider.rs:1586
↓ 3 callersFunctionproposal_chunks_from_body
(body: &[u8])
crates/openshell-supervisor-network/src/policy_local.rs:941
↓ 3 callersFunctionprovider_create_with_options
( server: &str, name: &str, provider_type: &str, from_existing: bool, credentials: &[Strin
crates/openshell-cli/src/run.rs:4615
↓ 3 callersFunctionprovider_list_profiles
(server: &str, output: &str, tls: &TlsOptions)
crates/openshell-cli/src/run.rs:5014
↓ 3 callersFunctionprovider_profile_lint
( server: &str, file: Option<&Path>, from: Option<&Path>, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5187
↓ 3 callersFunctionprovider_update
( server: &str, name: &str, from_existing: bool, credentials: &[String], config: &[String]
crates/openshell-cli/src/run.rs:5640
↓ 3 callersFunctionprovisioning_condition
()
crates/openshell-driver-docker/src/lib.rs:1595
↓ 3 callersMethodproxy_endpoint
(&self)
crates/openshell-ocsf/src/builders/mod.rs:231
↓ 3 callersMethodproxy_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 callersMethodpublish_platform_event
(&self, sandbox_id: String, event: DriverPlatformEvent)
crates/openshell-driver-docker/src/lib.rs:1180
↓ 3 callersMethodpublish_sandbox_snapshot
(&self, sandbox: DriverSandbox)
crates/openshell-driver-docker/src/lib.rs:1162
↓ 3 callersMethodpull_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 callersFunctionqemu_disk_args
(config: &VmLaunchConfig)
crates/openshell-driver-vm/src/runtime.rs:223
↓ 3 callersFunctionquery_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 callersFunctionread_body_for_inspection
( client: &mut C, request: &mut L7Request, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/http.rs:12
↓ 3 callersFunctionread_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 callersFunctionread_forwarded_inference_request
(stream: &mut S)
crates/openshell-supervisor-network/src/proxy.rs:6402
↓ 3 callersFunctionread_more
( client: &mut C, raw: &mut Vec<u8>, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/graphql.rs:521
↓ 3 callersFunctionread_more
( client: &mut C, raw: &mut Vec<u8>, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/http.rs:175
↓ 3 callersFunctionread_ppid
Read the `PPid` (parent PID) from `/proc/<pid>/status`.
crates/openshell-supervisor-process/src/bypass_monitor/procfs.rs:89
↓ 3 callersFunctionread_yaml
(path: Path)
tasks/scripts/sync_docs_website.py:126
↓ 3 callersFunctionread_yaml
(path: Path)
tasks/scripts/sync_docs_website_test.py:24
↓ 3 callersMethodreap_expired_relays
Remove all pending relays that have exceeded the timeout.
crates/openshell-server/src/supervisor_session.rs:388
↓ 3 callersFunctionrefresh_global_settings
(app: &mut App)
crates/openshell-tui/src/lib.rs:1991
↓ 3 callersMethodrefresh_keys
Fetch the JWKS and update the cached keys.
crates/openshell-server/src/auth/oidc.rs:222
↓ 3 callersFunctionrefresh_sandboxes
(app: &mut App)
crates/openshell-tui/src/lib.rs:2269
↓ 3 callersFunctionrefresh_scopes
(state: &StoredProviderCredentialRefreshState)
crates/openshell-server/src/provider_refresh.rs:609
↓ 3 callersFunctionrefresh_state_name
(provider_id: &str, credential_key: &str)
crates/openshell-server/src/provider_refresh.rs:31
↓ 3 callersFunctionregister_session_with_capacity
( registry: &SupervisorSessionRegistry, sandbox_id: &str, capacity: usize, )
crates/openshell-server/tests/supervisor_relay_integration.rs:457
↓ 3 callersFunctionrelay_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 callersFunctionrelay_fixed
Relay exactly `len` bytes from reader to writer.
crates/openshell-supervisor-network/src/l7/rest.rs:1735
↓ 3 callersFunctionrelay_open_event
( ctx: &SandboxContext, open: &RelayOpen, ssh_socket_path: &std::path::Path, )
crates/openshell-supervisor-process/src/supervisor_session.rs:137
↓ 3 callersFunctionrelay_target_endpoint
(open: &RelayOpen)
crates/openshell-supervisor-process/src/supervisor_session.rs:97
↓ 3 callersMethodremove
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 callersMethodremove_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 callersFunctionremove_sandbox_state_dir
(root: &Path, state_dir: &Path)
crates/openshell-driver-vm/src/driver.rs:4242
↓ 3 callersFunctionrender_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 callersMethodrequest_ok
Perform a request that returns no meaningful body.
crates/openshell-driver-podman/src/client.rs:379
↓ 3 callersFunctionrequest_token
( token_url: &str, form: &[(String, String)], max_lifetime_seconds: i64, )
crates/openshell-server/src/provider_refresh.rs:547
↓ 3 callersMethodrequire_backend
(&mut self, backend: VmBackend)
crates/openshell-driver-vm/src/lifecycle.rs:238
↓ 3 callersFunctionrequire_persisted_sandbox
( store: &Arc<crate::persistence::Store>, sandbox_id: &str, )
crates/openshell-server/src/supervisor_session.rs:437
↓ 3 callersFunctionrequire_rootfs_path
(rootfs: &Path, relative: &str)
crates/openshell-driver-vm/src/rootfs.rs:874
↓ 3 callersFunctionrequire_tls_materials
(server: &str, tls: &TlsOptions)
crates/openshell-cli/src/tls.rs:166
↓ 3 callersMethodrequires_qemu
(self)
crates/openshell-driver-vm/src/lifecycle.rs:130
↓ 3 callersFunctionreqwest_verify
Helper: run `verify_backend_endpoint` and return the expected failure.
crates/openshell-router/src/backend.rs:1602
↓ 3 callersFunctionresolve_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 callersMethodresolve_gpu_cdi_devices
( &self, gpu_requirements: Option<&GpuResourceRequirements>, driver_config: &DockerSan
crates/openshell-driver-docker/src/lib.rs:598
↓ 3 callersFunctionresolve_sandbox_by_name_for_principal
( store: &Store, principal: &Principal, name: &str, )
crates/openshell-server/src/grpc/policy.rs:1052
↓ 3 callersMethodresolve_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 callersFunctionresolve_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 callersFunctionresolve_tcp_peer_socket_owners
( entrypoint_pid: u32, peer_port: u16, )
crates/openshell-supervisor-network/src/procfs.rs:133
↓ 3 callersMethodresolved_sandbox_image
(&self, sandbox: &Sandbox)
crates/openshell-driver-vm/src/driver.rs:1780
↓ 3 callersFunctionrewrite_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 callersFunctionrewrite_group_at
(path: &Path, gid: &str)
crates/openshell-supervisor-process/src/process.rs:1065
↓ 3 callersFunctionrewrite_header_line_checked
( line: &str, resolver: &SecretResolver, )
crates/openshell-core/src/secrets.rs:991
↓ 3 callersFunctionrewrite_websocket_extensions_for_mode
( raw_header: &[u8], mode: WebSocketExtensionMode, websocket_request: bool, )
crates/openshell-supervisor-network/src/l7/rest.rs:1201
↓ 3 callersMethodroute_cache
Get a handle to the user route cache for background refresh.
crates/openshell-supervisor-network/src/proxy.rs:142
↓ 3 callersFunctionroute_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 callersFunctionrule_with_endpoint
(name: &str, host: &str, port: u32)
crates/openshell-policy/src/merge.rs:937
↓ 3 callersFunctionrun_cli
Run `openshell <args>` using the system's configured gateway.
e2e/rust/tests/edge_tunnel_e2e.rs:27
↓ 3 callersFunctionrun_client_to_server_with_graphql_policy
( input: Vec<u8>, resolver: Option<&SecretResolver>, )
crates/openshell-supervisor-network/src/l7/websocket.rs:1247
↓ 3 callersFunctionrun_live_streaming_inference
(serve_upstream: F)
crates/openshell-supervisor-network/src/proxy.rs:6444
↓ 3 callersFunctionrun_upgraded_websocket_case
( request_extension: Option<&'static str>, response_extension: Option<&'static str>, e
crates/openshell-supervisor-network/src/l7/rest.rs:2608
↓ 3 callersFunctionrun_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 callersFunctionruntime_gpu_lines
(gpu_device: &str)
e2e/rust/tests/gpu/device_selection.rs:260
↓ 3 callersFunctionsandbox
(id: &str)
crates/openshell-server/src/auth/guard.rs:114
← previousnext →1,301–1,400 of 9,017, ranked by callers