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
↓ 2 callers
Method
sandbox_session_connected
(&self, _sandbox_id: &str)
crates/openshell-server/src/telemetry.rs:20
↓ 2 callers
Method
sandbox_session_disconnected
(&self, _sandbox_id: &str)
crates/openshell-server/src/telemetry.rs:22
↓ 2 callers
Function
sandbox_snapshot
(sandbox: &Sandbox, condition: SandboxCondition, deleting: bool)
crates/openshell-driver-vm/src/driver.rs:4980
↓ 2 callers
Function
sandbox_ssh_proxy
Run the SSH proxy, connecting stdin/stdout to the gateway.
crates/openshell-cli/src/ssh.rs:1322
↓ 2 callers
Function
sandbox_ssh_proxy_by_name
Run the SSH proxy in "name mode": create a session on the fly, then proxy. This is equivalent to [`sandbox_ssh_proxy`] but accepts a cluster endpoint
crates/openshell-cli/src/ssh.rs:1420
↓ 2 callers
Function
sandbox_sync_down
Pull a path from a sandbox to a local destination using tar-over-SSH. Follows `cp`-style semantics for the destination: - If the source is a single
crates/openshell-cli/src/ssh.rs:1136
↓ 2 callers
Function
sandbox_sync_up_files
Push a list of files from a local directory into a sandbox using tar-over-SSH. Files are streamed as a tar archive to `ssh ... tar xf - -C <dest>` on
crates/openshell-cli/src/ssh.rs:943
↓ 2 callers
Function
sandbox_token_host_path
(sandbox_id: &str)
crates/openshell-driver-podman/src/driver.rs:86
↓ 2 callers
Function
sandbox_token_host_path_by_id
( sandbox_id: &str, config: &DockerDriverRuntimeConfig, )
crates/openshell-driver-docker/src/lib.rs:2075
↓ 2 callers
Function
sandbox_token_path
Return the XDG state path for a driver's sandbox JWT token file. The resulting path is `$XDG_STATE_HOME/openshell/<driver_subdir>[/<namespace>]/<sand
crates/openshell-core/src/driver_utils.rs:85
↓ 2 callers
Function
sanitize_denials_by_group
(denials_by_group: I)
crates/openshell-core/src/telemetry.rs:593
↓ 2 callers
Function
sanitize_docker_name
(value: &str)
crates/openshell-driver-docker/src/lib.rs:3004
↓ 2 callers
Function
sanitize_image_identity
(image_identity: &str)
crates/openshell-driver-vm/src/driver.rs:4390
↓ 2 callers
Function
sanitize_name
(value: &str)
crates/openshell-cli/src/tls.rs:149
↓ 2 callers
Function
save_settings_record
( store: &Store, object_type: &str, name: &str, settings: &StoredSettings, )
crates/openshell-server/src/grpc/policy.rs:3768
↓ 2 callers
Function
seed_gateway_sources
(config_dir: &Path, system_dir: &Path)
e2e/rust/tests/cli_smoke.rs:120
↓ 2 callers
Function
seed_global_approval_mode
Test helper: pin the gateway-wide proposal approval mode, mirroring `openshell settings set --global proposal_approval_mode <mode>`.
crates/openshell-server/src/grpc/policy.rs:5689
↓ 2 callers
Method
selected_device_ids
( &self, count: u32, consume: bool, )
crates/openshell-core/src/gpu.rs:196
↓ 2 callers
Method
selected_provider_name
Get the name of the currently selected provider.
crates/openshell-tui/src/app.rs:2522
↓ 2 callers
Method
selected_sandbox_id
Get the ID of the currently selected sandbox.
crates/openshell-tui/src/app.rs:2508
↓ 2 callers
Function
send_backend_request
Build and send an HTTP request to the backend with a total request timeout. The timeout covers the entire request lifecycle (connect + headers + body
crates/openshell-router/src/backend.rs:339
↓ 2 callers
Method
send_json
(self, status: int, body: dict[str, object])
e2e/mcp-conformance/host-bridge.py:106
↓ 2 callers
Function
send_relay_open_result
( tx: &mpsc::Sender<SupervisorMessage>, channel_id: &str, success: bool, error: String, )
crates/openshell-supervisor-process/src/supervisor_session.rs:556
↓ 2 callers
Function
send_signal
(pid: u32, signal: Option<&str>)
e2e/rust/src/harness/gateway.rs:188
↓ 2 callers
Method
sender_for
(&self, sandbox_id: &str)
crates/openshell-server/src/sandbox_watch.rs:29
↓ 2 callers
Function
serve_gateway_listener
( listener: TcpListener, listen_addr: SocketAddr, service: MultiplexService, tls_acceptor: Opt
crates/openshell-server/src/lib.rs:525
↓ 2 callers
Method
serve_with_peer_identity
Serve a TLS connection with an optional mTLS peer identity.
crates/openshell-server/src/multiplex.rs:147
↓ 2 callers
Function
service_display_name
(sandbox_name: &str, service_name: &str)
crates/openshell-server/src/service_routing.rs:758
↓ 2 callers
Function
service_endpoint_response
( state: &Arc<ServerState>, endpoint: ServiceEndpoint, )
crates/openshell-server/src/grpc/service.rs:210
↓ 2 callers
Function
service_error_response
(status: StatusCode, message: &'static str)
crates/openshell-server/src/service_routing.rs:200
↓ 2 callers
Function
service_url_for_gateway
(service_url: &str, gateway_endpoint: &str)
crates/openshell-cli/src/run.rs:4460
↓ 2 callers
Function
session_closed_event
(ctx: &SandboxContext, endpoint: &str, sandbox_id: &str)
crates/openshell-supervisor-process/src/supervisor_session.rs:70
↓ 2 callers
Function
session_established_event
( ctx: &SandboxContext, endpoint: &str, session_id: &str, heartbeat_secs: u32, )
crates/openshell-supervisor-process/src/supervisor_session.rs:53
↓ 2 callers
Function
session_failed_event
( ctx: &SandboxContext, endpoint: &str, attempt: u64, error: &str, )
crates/openshell-supervisor-process/src/supervisor_session.rs:80
↓ 2 callers
Method
set
(key: &'static str, value: &str)
crates/openshell-server/src/cli.rs:774
↓ 2 callers
Method
set_active_detail
Set detail text shown alongside the active step (e.g. image name).
crates/openshell-cli/src/run.rs:347
↓ 2 callers
Method
set_active_step
Set the active step from a known provisioning step enum.
crates/openshell-cli/src/run.rs:342
↓ 2 callers
Method
set_cluster_inference
( &self, request: Request<SetClusterInferenceRequest>, )
crates/openshell-server/src/inference.rs:82
↓ 2 callers
Function
set_mount_namespace
(fd: RawFd)
crates/openshell-supervisor-process/src/process.rs:391
↓ 2 callers
Function
set_no_new_privs
()
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:123
↓ 2 callers
Method
set_path
Tests serialize process-wide environment changes with ENV_LOCK.
crates/openshell-core/src/forward.rs:949
↓ 2 callers
Method
set_resource_version
(&mut self, version: u64)
crates/openshell-core/src/metadata.rs:59
↓ 2 callers
Method
set_result
(&self, sandbox_id: &str, result: Result<bool, String>)
crates/openshell-server/src/compute/mod.rs:3245
↓ 2 callers
Method
set_sandbox_phase_deleting_with_initial_snapshot
( &self, sandbox_id: &str, mut initial_snapshot: Option<Sandbox>, )
crates/openshell-server/src/compute/mod.rs:614
↓ 2 callers
Method
set_supervisor_session_state
( &self, sandbox_id: &str, connected: bool, )
crates/openshell-server/src/compute/mod.rs:1292
↓ 2 callers
Method
set_time
Set the timestamp (milliseconds since epoch).
crates/openshell-ocsf/src/events/base_event.rs:162
↓ 2 callers
Function
shell_escape
Shell-escape a value for use inside a `ProxyCommand` string.
crates/openshell-core/src/forward.rs:765
↓ 2 callers
Function
shell_escape
(arg: &str)
e2e/rust/src/harness/binary.rs:52
↓ 2 callers
Function
should_emit_config_update_policy_telemetry
(sandbox_caller: bool)
crates/openshell-server/src/grpc/policy.rs:112
↓ 2 callers
Method
signal
Send a signal to the process. # Errors Returns an error if the signal cannot be sent.
crates/openshell-supervisor-process/src/process.rs:747
↓ 2 callers
Function
signal_command
(args: impl IntoIterator<Item = &'a str>)
e2e/rust/src/harness/gateway.rs:202
↓ 2 callers
Function
snippet
(raw)
e2e/mcp-conformance/runner-shim.mjs:72
↓ 2 callers
Function
source_matches
Check if a log line's source matches the filter list. Empty source is treated as "gateway" for backward compatibility.
crates/openshell-server/src/grpc/validation.rs:723
↓ 2 callers
Function
spawn_chunked_upstream
Spawn a one-shot HTTP/1.1 upstream that replies with a chunked body and no `Content-Length`, so the buffered read cannot pre-check a length and must e
crates/openshell-router/src/backend.rs:1099
↓ 2 callers
Function
spawn_exited_child
()
crates/openshell-driver-vm/src/driver.rs:6755
↓ 2 callers
Function
spawn_pipe_exec
( policy: &SandboxPolicy, workdir: Option<String>, command: Option<String>, handle: Handle,
crates/openshell-supervisor-process/src/ssh.rs:905
↓ 2 callers
Function
spec_pod_env
(spec: Option<&SandboxSpec>)
crates/openshell-driver-kubernetes/src/driver.rs:1420
↓ 2 callers
Function
split_revisioned_env_key
(key: &str)
crates/openshell-core/src/secrets.rs:502
↓ 2 callers
Function
split_sandbox_path
Split a sandbox path into (`parent_directory`, basename). Examples: `"/sandbox/.bashrc"` -> `("/sandbox", ".bashrc")` `"/sandbox/sub/file"` -> `("/s
crates/openshell-cli/src/ssh.rs:807
↓ 2 callers
Function
split_tool_param
( protocol: &str, params: BTreeMap<String, QueryMatcherDef>, )
crates/openshell-policy/src/lib.rs:572
↓ 2 callers
Method
ssh_forward_arg
The SSH `-L` local-forward argument: `bind_addr:port:127.0.0.1:port`.
crates/openshell-core/src/forward.rs:583
↓ 2 callers
Function
ssh_forward_arg_matches_openshell_loopback_port
(arg: &str, port: u16)
crates/openshell-core/src/forward.rs:391
↓ 2 callers
Function
ssh_run_capture_stdout
Run a small command on the sandbox over SSH and capture its stdout. Used by the download flow to probe whether the source path is a regular file or a
crates/openshell-cli/src/ssh.rs:1069
↓ 2 callers
Function
stage_guest_image_payload
( staging_dir: &Path, payload: &GuestImagePayload, )
crates/openshell-driver-vm/src/driver.rs:4803
↓ 2 callers
Function
start_anim_ticker
Spawn a fast animation ticker (~7 fps) and store the handle on the app.
crates/openshell-tui/src/lib.rs:1301
↓ 2 callers
Function
start_health_server
( store: Arc<Store>, )
crates/openshell-server/tests/health_endpoint_integration.rs:14
↓ 2 callers
Method
start_shell
( &mut self, channel: ChannelId, handle: Handle, command: Option<String>,
crates/openshell-supervisor-process/src/ssh.rs:541
↓ 2 callers
Function
start_single_use_ssh_proxy_over_relay
Create a localhost SSH proxy that bridges to a relay `DuplexStream`. The proxy forwards raw SSH bytes between the `russh` client and the relay. The s
crates/openshell-server/src/grpc/sandbox.rs:1841
↓ 2 callers
Function
start_test_server
()
e2e/rust/tests/forward_proxy_l7_bypass.rs:19
↓ 2 callers
Function
start_test_server
(alias: &str)
e2e/rust/tests/forward_proxy_jsonrpc_l7.rs:22
↓ 2 callers
Function
status_with_condition
( snapshot: &Sandbox, condition: SandboxCondition, deleting: bool, )
crates/openshell-driver-vm/src/driver.rs:4997
↓ 2 callers
Method
stop_anim
Stop the animation ticker if running.
crates/openshell-tui/src/app.rs:2750
↓ 2 callers
Function
stop_forward
Stop a background port forward.
crates/openshell-core/src/forward.rs:406
↓ 2 callers
Function
stop_forwards_for_sandbox
Stop all forwards for a given sandbox name.
crates/openshell-core/src/forward.rs:437
↓ 2 callers
Function
store_pki_bundle
Store the PKI bundle's client materials (ca.crt, tls.crt, tls.key) to the local filesystem so the CLI can use them for mTLS connections. Files are wr
crates/openshell-bootstrap/src/mtls.rs:15
↓ 2 callers
Function
stored_profile
(host: &str)
crates/openshell-server/src/grpc/policy.rs:4840
↓ 2 callers
Function
stream_sandbox_tar
Stream a tar archive from the sandbox and extract it into a fresh destination directory. The source is always wrapped on the sandbox side so the host
crates/openshell-cli/src/ssh.rs:1159
↓ 2 callers
Function
string_value
(value: String)
crates/openshell-cli/src/run.rs:1609
↓ 2 callers
Function
strip_proto_provider_policy_entries
(proto: &mut openshell_core::proto::SandboxPolicy)
crates/openshell-sandbox/src/lib.rs:923
↓ 2 callers
Function
strip_provider_rule_names
(policy: &mut SandboxPolicy)
crates/openshell-policy/src/compose.rs:43
↓ 2 callers
Function
summarize
( workflow: str, window_days: int, runs: list[RunSummary], reusable: bool = False, )
scripts/baseline_workflow_metrics.py:250
↓ 2 callers
Function
summarize_binaries
(binaries: &[NetworkBinary])
crates/openshell-server/src/grpc/policy.rs:405
↓ 2 callers
Function
summarize_chunk_for_audit
One-line audit description of a chunk's target: binary, host, port, and L7 method/path if present. Used by both the propose and approve/reject audit e
crates/openshell-supervisor-network/src/policy_local.rs:653
↓ 2 callers
Function
summarize_l7_match
(method: &str, path: &str, command: &str, query_count: usize)
crates/openshell-server/src/grpc/policy.rs:384
↓ 2 callers
Function
summary_container_name
(summary: &ContainerSummary)
crates/openshell-driver-docker/src/lib.rs:2859
↓ 2 callers
Function
supervisor_identity_mount_target
(socket_path: &str)
crates/openshell-supervisor-process/src/process.rs:270
↓ 2 callers
Function
supervisor_identity_socket_path_from_env
()
crates/openshell-supervisor-process/src/process.rs:257
↓ 2 callers
Function
supervisor_image_should_refresh
Return `true` if the supervisor image should be refreshed before each use. Mutable tags (`dev`, `latest`) are always re-pulled so that the running co
crates/openshell-core/src/driver_utils.rs:160
↓ 2 callers
Method
supervisor_session_connected
(&self, sandbox_id: &str)
crates/openshell-server/src/compute/mod.rs:1284
↓ 2 callers
Method
supervisor_session_disconnected
(&self, sandbox_id: &str)
crates/openshell-server/src/compute/mod.rs:1288
↓ 2 callers
Function
supported_permessage_deflate_offer
(header_str: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:1247
↓ 2 callers
Function
sync_policy_with_client
Sync a locally-discovered policy using an existing client connection.
crates/openshell-core/src/grpc_client.rs:601
↓ 2 callers
Function
system_config_dir
Read-only system-level `OpenShell` config root. Uses `OPENSHELL_SYSTEM_GATEWAY_DIR` when set; otherwise falls back to `/etc/openshell`.
crates/openshell-bootstrap/src/paths.rs:77
↓ 2 callers
Function
system_gateway_dir
(name: &str)
crates/openshell-bootstrap/src/paths.rs:55
↓ 2 callers
Function
system_gateway_metadata_path
(name: &str)
crates/openshell-bootstrap/src/metadata.rs:104
↓ 2 callers
Function
system_gateways_dir
Read-only system-level gateway metadata directory.
crates/openshell-bootstrap/src/paths.rs:82
↓ 2 callers
Function
telemetry_enabled_from
(value: Option<&str>)
crates/openshell-core/src/telemetry.rs:331
↓ 2 callers
Function
telemetry_provider_profile
(provider_type: &str)
crates/openshell-server/src/grpc/provider.rs:2315
↓ 2 callers
Function
temporary_injection_path
(image_path: &Path)
crates/openshell-driver-vm/src/rootfs.rs:750
↓ 2 callers
Function
terminate_owned_forward_child
Best-effort cleanup for the SSH child this process spawned.
crates/openshell-cli/src/ssh.rs:493
← previous
next →
2,101–2,200 of 9,017, ranked by callers