MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 3 callersFunctionsandbox_by_name
(state: &Arc<ServerState>, name: &str)
crates/openshell-server/src/grpc/sandbox.rs:520
↓ 3 callersFunctionsandbox_cr
(name: &str, uid: &str, sandbox_id: &str)
crates/openshell-server/src/auth/k8s_sa.rs:654
↓ 3 callersFunctionsandbox_from_container_summary
( summary: &ContainerSummary, readiness: &dyn SupervisorReadiness, )
crates/openshell-driver-docker/src/lib.rs:2764
↓ 3 callersFunctionsandbox_gpu_lines
(gpu_device: Option<&str>)
e2e/rust/tests/gpu/device_selection.rs:302
↓ 3 callersFunctionsandbox_names
()
e2e/rust/src/harness/cli.rs:54
↓ 3 callersFunctionsandbox_principal
(sandbox_id: &str)
crates/openshell-server/src/grpc/auth_rpc.rs:214
↓ 3 callersFunctionsandbox_provider_detach
( server: &str, name: &str, provider: &str, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:3513
↓ 3 callersFunctionsandbox_to_k8s_spec
( spec: Option<&SandboxSpec>, params: &SandboxPodParams<'_>, )
crates/openshell-driver-kubernetes/src/driver.rs:1436
↓ 3 callersFunctionsandbox_with_volume_mount
(volume: &str)
crates/openshell-driver-podman/src/driver.rs:1314
↓ 3 callersFunctionsanitize_inference_response_headers
(headers: Vec<(String, String)>)
crates/openshell-supervisor-network/src/proxy.rs:2065
↓ 3 callersFunctionsanitize_reason_for_audit
Sanitize a free-form reviewer-typed string before it lands in the OCSF audit surface. The agent still reads the raw text via the API — this is audit-s
crates/openshell-supervisor-network/src/policy_local.rs:635
↓ 3 callersMethodsave
(&self, path: &Path)
crates/openshell-vfio/src/pci.rs:197
↓ 3 callersFunctionscrub_git_env
(command: &mut Command)
crates/openshell-cli/src/run.rs:6117
↓ 3 callersFunctionseed_sandbox
(state: &Arc<ServerState>, name: &str)
crates/openshell-server/src/grpc/service.rs:281
↓ 3 callersFunctionsend_deny_response
Send a 403 Forbidden JSON deny response. When `redacted_target` is provided, it is used instead of `req.target` in the response body to avoid leaking
crates/openshell-supervisor-network/src/l7/rest.rs:1515
↓ 3 callersFunctionservice_request
(addr: SocketAddr, extra_headers: &[(&str, &str)])
crates/openshell-server/src/lib.rs:1030
↓ 3 callersMethodset_cluster
( self, *, provider_name: str, model_id: str, no_verify: bool = False,
python/openshell/sandbox.py:606
↓ 3 callersMethodset_snapshot_condition
( &self, sandbox_id: &str, condition: SandboxCondition, deleting: bool, )
crates/openshell-driver-vm/src/driver.rs:2928
↓ 3 callersMethodset_status
Set status.
crates/openshell-ocsf/src/events/base_event.rs:167
↓ 3 callersFunctionset_winsize
(fd: RawFd, winsize: Winsize)
crates/openshell-supervisor-process/src/ssh.rs:1076
↓ 3 callersFunctionsimple_glob_match
Match a simple glob pattern (with `*` and `?` but not `**`) against a string.
crates/openshell-bootstrap/src/build.rs:431
↓ 3 callersMethodspawn_reload_worker
Spawn a background worker that watches the parent directories of the cert, key, and CA files and calls [`reload`](Self::reload) when changes are detec
crates/openshell-server/src/tls.rs:127
↓ 3 callersFunctionspawn_retrying_on_etxtbsy
(cmd: &mut std::process::Command)
crates/openshell-supervisor-network/src/procfs.rs:541
↓ 3 callersFunctionssh_relay_open
(channel_id: &str)
crates/openshell-supervisor-process/src/supervisor_session.rs:759
↓ 3 callersFunctionssh_tar_upload
Core tar-over-SSH upload: streams a tar archive into `dest_dir` on the sandbox. Callers are responsible for splitting the destination path so that `d
crates/openshell-cli/src/ssh.rs:751
↓ 3 callersFunctionstatus_capability
e2e/support/capbset-probe.c:14
↓ 3 callersFunctionstop_child
(child: &mut Child)
e2e/rust/tests/user_namespaces.rs:78
↓ 3 callersFunctionstrip_supervisor_only_env
(cmd: &mut Command)
crates/openshell-supervisor-process/src/process.rs:42
↓ 3 callersFunctionstruct_to_json_value
(config: &prost_types::Struct)
crates/openshell-core/src/proto_struct.rs:22
↓ 3 callersMethodsubmit_policy_analysis
( &self, request: Request<SubmitPolicyAnalysisRequest>, )
crates/openshell-server/src/grpc/mod.rs:559
↓ 3 callersMethodsubscribe
Subscribe to sandbox updates.
crates/openshell-server/src/sandbox_watch.rs:48
↓ 3 callersFunctionsummarize_draft_chunk_rule
(chunk: &DraftChunkRecord)
crates/openshell-server/src/grpc/policy.rs:413
↓ 3 callersFunctionsupervisor_identity_mount_from_env
()
crates/openshell-supervisor-process/src/process.rs:244
↓ 3 callersMethodsystem_inference
Make an inference call using system routes (supervisor-only). This is the in-process API for platform functions. It bypasses the CONNECT proxy entire
crates/openshell-supervisor-network/src/proxy.rs:160
↓ 3 callersFunctiontap_device_name
TAP device name from sandbox ID (fits `IFNAMSIZ=16`).
crates/openshell-driver-vm/src/gpu.rs:253
↓ 3 callersFunctiontap_subnet_from_host_ip
(host_ip: &str)
crates/openshell-driver-vm/src/runtime.rs:534
↓ 3 callersFunctionteardown_tap_networking
(tap_device: &str, host_ip: &str, gateway_port: u16)
crates/openshell-driver-vm/src/runtime.rs:477
↓ 3 callersFunctiontemp_extract_container_name
()
crates/openshell-driver-docker/src/lib.rs:3384
↓ 3 callersFunctiontest_context_with_endpoint_overrides
( file: Option<&'a config_file::ConfigFile>, endpoint_overrides: &'a BTreeMap<String, PathBuf>
crates/openshell-server/src/compute/driver_config.rs:252
↓ 3 callersFunctiontest_event
()
crates/openshell-ocsf/src/format/jsonl.rs:31
↓ 3 callersFunctiontest_metadata
()
crates/openshell-ocsf/src/events/base_event.rs:215
↓ 3 callersFunctiontest_service
(socket_path: PathBuf)
crates/openshell-driver-podman/src/grpc.rs:180
↓ 3 callersFunctiontest_store
()
crates/openshell-server/src/ssh_sessions.rs:77
↓ 3 callersFunctiontls_secret
(name: &str, crt_pem: &str, key_pem: &str, ca_pem: &str)
crates/openshell-server/src/certgen.rs:296
↓ 3 callersFunctiontoken_grant_failure_message
(status: reqwest::StatusCode, body: &str)
crates/openshell-supervisor-network/src/token_grant.rs:513
↓ 3 callersFunctiontrack_background_forward_or_cleanup
Track a verified background forward, cleaning it up if PID-file persistence fails.
crates/openshell-cli/src/ssh.rs:498
↓ 3 callersFunctionunique_socket_path
Generate a unique Unix socket path for a test. Uses the current PID and nanosecond timestamp to avoid collisions between concurrent test runs.
crates/openshell-driver-podman/src/test_utils.rs:39
↓ 3 callersMethodupload
Upload local files to the sandbox via `openshell sandbox upload`. # Arguments `local_path` — Local file or directory to upload. `dest` — Destination
e2e/rust/src/harness/sandbox.rs:280
↓ 3 callersFunctionupload_archive_paths
(source: UploadSource)
crates/openshell-cli/src/ssh.rs:2201
↓ 3 callersMethodupload_with_gitignore
Upload local files with `.gitignore` filtering (default behavior). Unlike [`upload`], this does NOT pass `--no-git-ignore`, so the CLI will filter ou
e2e/rust/src/harness/sandbox.rs:325
↓ 3 callersFunctionupsert_host_block
(contents: &str, alias: &str, block: &str)
crates/openshell-cli/src/ssh.rs:1533
↓ 3 callersFunctionupsert_ready_condition
( status: &mut Option<SandboxStatus>, sandbox_name: &str, condition: SandboxCondition, )
crates/openshell-server/src/compute/mod.rs:1883
↓ 3 callersFunctionurl_encode
Minimal percent-encoding for query parameter values. Note: `percent-encoding` is available as a transitive dependency but is not a direct dependency
crates/openshell-driver-podman/src/client.rs:748
↓ 3 callersFunctionuser_active_gateway_path
Path to the file that stores the active gateway name. Location: `$XDG_CONFIG_HOME/openshell/active_gateway`
crates/openshell-bootstrap/src/paths.rs:62
↓ 3 callersMethodvalidate
(&self)
crates/openshell-driver-vm/src/lifecycle.rs:505
↓ 3 callersFunctionvalidate_exec_request_fields
Validate fields of an `ExecSandboxRequest` for control characters and size limits before constructing a shell command string.
crates/openshell-server/src/grpc/validation.rs:37
↓ 3 callersFunctionvalidate_extension_name
(name: &str)
crates/openshell-driver-vm/src/lifecycle.rs:720
↓ 3 callersFunctionvalidate_field
( name: &'static str, value: &str, max_len: usize, byte_ok: fn(u8) -> bool, )
crates/openshell-core/src/forward.rs:893
↓ 3 callersFunctionvalidate_gpu_request
( gpu_requirements: Option<&GpuResourceRequirements>, )
crates/openshell-driver-kubernetes/src/driver.rs:849
↓ 3 callersFunctionvalidate_graphql_rule
( errors: &mut Vec<String>, warnings: &mut Vec<String>, loc: &str, rule: &serde_json::Value,
crates/openshell-supervisor-network/src/l7/mod.rs:538
↓ 3 callersFunctionvalidate_matcher_value
Validate one matcher leaf. Objects must use the explicit matcher keys.
crates/openshell-supervisor-network/src/l7/mod.rs:582
↓ 3 callersFunctionvalidate_provider_environment_keys_unique_at
( store: &Store, provider_names: &[String], candidate_provider: Option<&Provider>, now_ms: i64
crates/openshell-server/src/grpc/provider.rs:871
↓ 3 callersFunctionvalidate_provider_update_against_attached_sandboxes
( store: &Store, provider: &Provider, )
crates/openshell-server/src/grpc/provider.rs:844
↓ 3 callersFunctionvalidate_registered_setting_key
( key: &str, )
crates/openshell-server/src/grpc/policy.rs:3628
↓ 3 callersFunctionvalidate_sandbox_caller_update
Sandbox-class callers may only perform sandbox-scoped policy sync. They must not mutate global config or sandbox settings.
crates/openshell-server/src/grpc/policy.rs:1028
↓ 3 callersMethodvalidate_sandbox_identity_config
Validate that configured `sandbox_uid` and `sandbox_gid` fall within the policy-enforced UID/GID range. Called during driver initialization before any
crates/openshell-driver-kubernetes/src/config.rs:394
↓ 3 callersFunctionvalidate_tcp_forward_init
(init: &TcpForwardInit)
crates/openshell-server/src/grpc/sandbox.rs:1099
↓ 3 callersFunctionvalidated_container_name
Construct and validate a container name from a sandbox name. Combines the prefix with the sandbox name and validates the result against Podman's nami
crates/openshell-driver-podman/src/driver.rs:69
↓ 3 callersMethodvendor
(&self)
crates/openshell-vfio/src/sysfs.rs:116
↓ 3 callersFunctionwait_for_child_exec
(pid: i32, target: &Path)
crates/openshell-supervisor-network/src/procfs.rs:517
↓ 3 callersFunctionwait_for_container_running
( namespace: &str, sandbox_name: &str, expected: bool, timeout: Duration, )
e2e/rust/tests/gateway_resume.rs:93
↓ 3 callersFunctionwait_for_forward_listener
Poll the local endpoint until a connect succeeds or `wait_for` elapses. The last probe error is folded into the timeout diagnostic, so a failure repor
crates/openshell-cli/src/ssh.rs:437
↓ 3 callersFunctionwait_for_port
Wait for a TCP port to accept connections. Polls once per second until either a connection succeeds or the timeout elapses. Returns `Ok(())` on succe
e2e/rust/src/harness/port.rs:20
↓ 3 callersFunctionwait_for_status
Poll `/readyz` until it returns `expected`, or give up after `timeout`. Used to bridge the gap between `health_router`'s non-blocking startup and the
crates/openshell-server/tests/health_endpoint_integration.rs:130
↓ 3 callersMethodwait_until_polled
(&mut self)
crates/openshell-server/src/readiness.rs:149
↓ 3 callersFunctionwebsocket_extension_offers
(header_str: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:1294
↓ 3 callersFunctionwebsocket_l7_config
( protocol: crate::l7::L7Protocol, websocket_credential_rewrite: bool, )
crates/openshell-supervisor-network/src/proxy.rs:4382
↓ 3 callersMethodwith_compute_driver_endpoint
( mut self, name: impl Into<String>, socket: impl Into<PathBuf>, )
crates/openshell-core/src/config.rs:639
↓ 3 callersMethodwith_env
(mut self, key: &str, value: &str)
crates/openshell-providers/src/test_helpers.rs:17
↓ 3 callersFunctionwrite_cache_binary_atomic
(final_path: &Path, bytes: &[u8])
crates/openshell-driver-docker/src/lib.rs:3319
↓ 3 callersFunctionwrite_gateway_mtls_bundle
( config_dir: &std::path::Path, gateway_name: &str, ca_cert: &str, client_cert: &str, clie
crates/openshell-cli/tests/mtls_integration.rs:508
↓ 3 callersFunctionwrite_policy
Build a policy YAML that allows any binary to reach the given hosts on port 443. NOTE: The indentation in the format string is load-bearing YAML stru
e2e/rust/tests/live_policy_update.rs:43
↓ 3 callersFunctionwrite_readonly
(path: &Path, contents: &str)
crates/openshell-supervisor-process/src/skills.rs:53
↓ 3 callersFunctionwrite_system_gateway_metadata
( system_dir: &Path, name: &str, endpoint: &str, gateway_port: u16, is_remote: bool, a
e2e/rust/tests/cli_smoke.rs:95
↓ 3 callersFunctionwrite_yaml
(path: Path, data: YamlMapping)
tasks/scripts/sync_docs_website.py:134
↓ 3 callersFunctionxdg_data_dir
Resolve the XDG data base directory. Returns `$XDG_DATA_HOME` if set, otherwise `$HOME/.local/share`.
crates/openshell-core/src/paths.rs:55
↓ 2 callersMethod__enter__
(self)
python/openshell/sandbox.py:688
↓ 2 callersFunction_channel_is_intercepted
grpc.intercept_channel returns a _Channel whose module name ends in `interceptor`. We don't depend on the class name (it varies across gRPC ve
python/openshell/sandbox_test.py:327
↓ 2 callersFunction_client_with_fake_stub
(stub: _FakeStub)
python/openshell/sandbox_test.py:63
↓ 2 callersMethod_expiry
Access-token expiry as a comparable number. A bundle without an `expires_at` is treated as non-expiring (`+inf`) — consistent with `_
python/openshell/sandbox.py:1118
↓ 2 callersFunction_format_semver
(version: tuple[int, int, int])
tasks/scripts/release.py:68
↓ 2 callersFunction_is_proxy_block
Heuristic: did the sandbox proxy reject this connection?
examples/policy-advisor/ctf.py:173
↓ 2 callersFunction_make_docs_website_tree
(root: Path)
tasks/scripts/sync_docs_website_test.py:110
↓ 2 callersFunction_make_source_tree
(root: Path)
tasks/scripts/sync_docs_website_test.py:91
↓ 2 callersFunction_parse_semver_tag
(tag: str)
tasks/scripts/release.py:57
↓ 2 callersFunction_parse_sha256_file
(path: Path)
tasks/scripts/release.py:189
↓ 2 callersFunction_policy_for_python_proxy_tests
()
e2e/python/test_sandbox_policy.py:53
↓ 2 callersMethod_refresh
(self, bundle: dict)
python/openshell/sandbox.py:1189
↓ 2 callersFunction_run_from_raw
(raw: dict)
scripts/baseline_workflow_metrics.py:136
↓ 2 callersFunction_token_request
POST to the Keycloak token endpoint and return the access token.
e2e/python/oidc/oidc_auth_test.py:87
← previousnext →1,401–1,500 of 9,017, ranked by callers