MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 2 callersFunction_try_read
Return a closure that attempts to read a directory listing.
e2e/python/test_sandbox_landlock.py:85
↓ 2 callersFunction_verify_sandbox_functional
Return a closure that verifies basic sandbox functionality.
e2e/python/test_sandbox_policy.py:1614
↓ 2 callersFunction_versions_from_parts
( base_version: tuple[int, int, int], git_distance: int, git_sha: str, git_tag: str, )
tasks/scripts/release.py:89
↓ 2 callersMethod_write_to_disk
Atomic-replace `oidc_token.json` with the refreshed bundle. Strips `None` values to match the Rust writer's `skip_serializing_if = "O
python/openshell/sandbox.py:1273
↓ 2 callersFunction_xdg_config_home
()
python/openshell/sandbox.py:828
↓ 2 callersFunctionacquire_k8s_sandbox_token
( endpoint: &str, plain_channel: &Channel, sa_path: &str, )
crates/openshell-core/src/grpc_client.rs:283
↓ 2 callersMethodactions_for_scopes
All actions enabled by the given scopes.
crates/openshell-prover/src/credentials.rs:97
↓ 2 callersMethodactivation
(&self)
crates/openshell-driver-vm/src/lifecycle.rs:840
↓ 2 callersFunctionadd_san
Add a SAN, automatically choosing `IpAddress` or `DnsName` based on the value.
crates/openshell-bootstrap/src/pki.rs:145
↓ 2 callersMethodafter_delete
(&self, sandbox: &Sandbox, state_dir: &Path)
crates/openshell-driver-vm/src/lifecycle.rs:624
↓ 2 callersFunctionagent_guidance
()
crates/openshell-supervisor-network/src/policy_local.rs:256
↓ 2 callersMethodagent_sandbox_api
(&self, client: Client, sandbox_api_version: &str)
crates/openshell-driver-kubernetes/src/driver.rs:273
↓ 2 callersFunctionalias_start_for_marker
(text: &str, marker_abs: usize)
crates/openshell-core/src/secrets.rs:436
↓ 2 callersFunctionall_paths
()
crates/openshell-server/src/auth/method_authz.rs:72
↓ 2 callersMethodallowed_methods
The set of HTTP methods this endpoint allows. Empty means all (L4-only).
crates/openshell-prover/src/policy.rs:206
↓ 2 callersMethodapi_for_host
API capability registry for a given host. Exact matches win, then wildcard host overlap is used so credentialed wildcard proposals can be evaluated ag
crates/openshell-prover/src/credentials.rs:156
↓ 2 callersFunctionappend_query_matchers
( parts: &mut Vec<String>, query: &std::collections::HashMap<String, L7QueryMatcher>, )
crates/openshell-tui/src/ui/sandbox_draft.rs:658
↓ 2 callersFunctionappend_unique_deny_rules
(existing: &mut Vec<L7DenyRule>, incoming: &[L7DenyRule])
crates/openshell-policy/src/merge.rs:791
↓ 2 callersFunctionapply_child_env
( cmd: &mut Command, session_home: &str, session_user: &str, term: &str, proxy_url: Option
crates/openshell-supervisor-process/src/ssh.rs:692
↓ 2 callersMethodapply_deleted_locked
(&self, sandbox_id: &str)
crates/openshell-server/src/compute/mod.rs:1352
↓ 2 callersFunctionapply_env_map
( env: &mut Vec<serde_json::Value>, values: &std::collections::HashMap<String, String>, )
crates/openshell-driver-kubernetes/src/driver.rs:1988
↓ 2 callersMethodapply_global_settings
Apply fetched global settings from the `GetGatewayConfig` response.
crates/openshell-tui/src/app.rs:963
↓ 2 callersFunctionapply_required_env
Required env vars are passed individually for clarity at call sites; grouping into a struct would not improve readability for this internal helper.
crates/openshell-driver-kubernetes/src/driver.rs:1999
↓ 2 callersFunctionapply_resource_quantity_map
( target: &mut serde_json::Value, section: &str, values: &BTreeMap<String, String>, )
crates/openshell-driver-kubernetes/src/driver.rs:1847
↓ 2 callersFunctionapply_runtime_filters
Install the sandbox seccomp filters in the required order. Order matters: 1. Install the dedicated clone3 filter first so it can still call `seccomp(
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:175
↓ 2 callersMethodapply_sandbox_settings
Apply fetched sandbox settings from the `GetSandboxConfig` response.
crates/openshell-tui/src/app.rs:998
↓ 2 callersFunctionapply_sigv4_headers_only_with_body
( raw_headers: &[u8], host: &str, region: &str, service: &str, access_key: &str, secre
crates/openshell-supervisor-network/src/sigv4.rs:332
↓ 2 callersFunctionapply_test_mask
(payload: &mut [u8], mask_key: [u8; 4])
crates/openshell-supervisor-network/src/l7/rest.rs:2515
↓ 2 callersFunctionapproval_annotation
(chunk: &PolicyChunk)
crates/openshell-tui/src/ui/sandbox_draft.rs:476
↓ 2 callersFunctionargs_match_ssh_forward
Match an `OpenShell` SSH forward by proxy ownership and outer SSH args.
crates/openshell-core/src/forward.rs:212
↓ 2 callersMethodas_str
(self)
crates/openshell-core/src/telemetry.rs:54
↓ 2 callersFunctionassert_setting_line
(output: &str, key: &str, expected: &str)
e2e/rust/tests/settings_management.rs:77
↓ 2 callersFunctionassert_unknown_identity_lookup_failed
Unknown names may yield `Ok(None)` (`… not found …`) or `Err` when NSS fails first (e.g. `ENOENT: No such file or directory`).
crates/openshell-supervisor-process/src/process.rs:1450
↓ 2 callersFunctionattempt_gate
Try to pass through a gate. Returns ``("pass", flag)`` on success, ``("blocked", reason)`` when the proxy denied the connection (retryable),
examples/policy-advisor/ctf.py:217
↓ 2 callersFunctionauto_create_provider
Prompt for (or auto-confirm) creation of a provider from local credentials. When `preferred_name` is `Some`, the provider is created with that exact
crates/openshell-cli/src/run.rs:3817
↓ 2 callersMethodbefore_launch
( &self, sandbox: &Sandbox, state_dir: &Path, plan: &mut LaunchPlan, )
crates/openshell-driver-vm/src/lifecycle.rs:591
↓ 2 callersFunctionblocking_complete
Run an async future on a dedicated thread to avoid nested tokio runtime panics. `#[tokio::main]` creates a runtime, and `CompleteEnv::complete()` run
crates/openshell-cli/src/completers.rs:138
↓ 2 callersFunctionbool_setting_enabled
(settings: &StoredSettings, key: &str)
crates/openshell-server/src/grpc/policy.rs:1370
↓ 2 callersFunctionbootstrap_image_cache_identity
(image_identity: &str)
crates/openshell-driver-vm/src/driver.rs:4362
↓ 2 callersFunctionbrowser_auth_flow
Run the browser-based CF Access auth flow. 1. Generates a one-time confirmation code 2. Starts an ephemeral localhost HTTP server 3. Opens the browse
crates/openshell-cli/src/auth.rs:91
↓ 2 callersMethodbuild
(self)
crates/openshell-ocsf/src/builders/process.rs:62
↓ 2 callersMethodbuild
(self)
crates/openshell-ocsf/src/builders/http.rs:73
↓ 2 callersFunctionbuild_binds
( sandbox: &DriverSandbox, config: &DockerDriverRuntimeConfig, )
crates/openshell-driver-docker/src/lib.rs:2036
↓ 2 callersFunctionbuild_ci_scopes
(scopes: Option<&str>)
crates/openshell-cli/src/oidc_auth.rs:89
↓ 2 callersFunctionbuild_identity
(access_key: &str, secret_key: &str, session_token: Option<&str>)
crates/openshell-supervisor-network/src/sigv4.rs:216
↓ 2 callersFunctionbuild_insecure_rustls_config
()
crates/openshell-cli/src/tls.rs:305
↓ 2 callersFunctionbuild_kernel_cmdline
(config: &VmLaunchConfig)
crates/openshell-driver-vm/src/runtime.rs:304
↓ 2 callersFunctionbuild_payload
(name: &str, event: Value, event_ts: &str, sent_ts: &str)
crates/openshell-core/src/telemetry.rs:370
↓ 2 callersMethodbuild_prepared_image_disk
( &self, sandbox_id: &str, image_ref: &str, image_source: &str, image_
crates/openshell-driver-vm/src/driver.rs:2371
↓ 2 callersFunctionbuild_sandbox_resource_limits
( cpu: Option<&str>, memory: Option<&str>, )
crates/openshell-cli/src/run.rs:1603
↓ 2 callersFunctionbuild_server_sans
Build the SAN list for the server certificate from defaults + extras.
crates/openshell-bootstrap/src/pki.rs:131
↓ 2 callersFunctionbuild_service_endpoint_config_event
( endpoint: &ServiceEndpoint, url: &str, created: bool, )
crates/openshell-server/src/service_routing.rs:611
↓ 2 callersFunctionbuild_service_endpoint_delete_event
(endpoint: &ServiceEndpoint)
crates/openshell-server/src/service_routing.rs:642
↓ 2 callersFunctionbuild_service_http_failure_event
( bind_port: u16, req: &Request<Body>, sandbox_name: &str, service_name: &str, endpoint: O
crates/openshell-server/src/service_routing.rs:658
↓ 2 callersFunctionbuild_service_relay_failure_event
( endpoint: &ServiceEndpoint, target_port: u16, reason: &str, )
crates/openshell-server/src/service_routing.rs:704
↓ 2 callersFunctionbuild_signing_params
( identity: &'a Identity, region: &'a str, service: &'a str, )
crates/openshell-supervisor-network/src/sigv4.rs:197
↓ 2 callersFunctionbuild_supervisor_prelude_filter
()
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:88
↓ 2 callersFunctionbuild_tonic_tls_config
(materials: &TlsMaterials)
crates/openshell-cli/src/tls.rs:225
↓ 2 callersFunctionbuild_upstream_client_config
Build a rustls `ClientConfig` with Mozilla + system root CAs for upstream connections. `system_ca_bundle` is the pre-read PEM contents of the system
crates/openshell-supervisor-network/src/l7/tls.rs:205
↓ 2 callersMethodbypasses_l7
Whether any protocol bypasses L7 inspection.
crates/openshell-prover/src/registry.rs:126
↓ 2 callersFunctionc_string_array
(strings: &[&str])
crates/openshell-driver-vm/src/runtime.rs:1372
↓ 2 callersFunctioncallback_response
( status: StatusCode, allowed_origin: Option<&str>, content_type: Option<&str>, body: impl Int
crates/openshell-cli/src/auth.rs:247
↓ 2 callersMethodcalls
(&self)
crates/openshell-server/src/compute/mod.rs:3252
↓ 2 callersMethodcan_write
Whether any action in this protocol is a write or destructive action.
crates/openshell-prover/src/registry.rs:105
↓ 2 callersFunctioncanonical_ip
(value: str)
e2e/mcp-conformance/host-bridge.py:79
↓ 2 callersFunctioncanonical_token_at
(text: &str, abs_start: usize)
crates/openshell-core/src/secrets.rs:445
↓ 2 callersFunctioncapability_bounding_set_clear_available
()
crates/openshell-supervisor-process/src/process.rs:1460
↓ 2 callersFunctioncaptured_text
(value: str | bytes | None)
e2e/mcp-conformance/host-bridge.py:84
↓ 2 callersFunctioncdi_devices_driver_config_json
(device_ids: &[&str])
e2e/rust/tests/gpu/device_selection.rs:251
↓ 2 callersFunctioncdi_nvidia_gpu_suffix
(id: &str)
crates/openshell-core/src/gpu.rs:301
↓ 2 callersFunctioncentered_popup
Center a popup rectangle within `area` using percentage-based width and an absolute height (in rows).
crates/openshell-tui/src/ui/mod.rs:662
↓ 2 callersMethodchannel_open_session
( &mut self, channel: russh::Channel<russh::server::Msg>, _session: &mut Session,
crates/openshell-supervisor-process/src/ssh.rs:268
↓ 2 callersFunctioncheck_kvm_access
()
crates/openshell-driver-vm/src/runtime.rs:1391
↓ 2 callersFunctioncheck_pid_fds
(pid: u32, target: &str)
crates/openshell-supervisor-network/src/procfs.rs:407
↓ 2 callersFunctioncheck_pid_fds
(pid: u32, target: &str)
crates/openshell-supervisor-process/src/bypass_monitor/procfs.rs:229
↓ 2 callersFunctionchecked_directory_metadata
( path: &Path, expected_uid: u32, label: &str, )
crates/openshell-server/src/compute/vm.rs:325
↓ 2 callersFunctionchunk_not_found_payload
(chunk_id: &str)
crates/openshell-supervisor-network/src/policy_local.rs:757
↓ 2 callersMethodclass
(&self)
crates/openshell-vfio/src/sysfs.rs:124
↓ 2 callersFunctionclassify_envelope
( query: Option<&str>, operation_name: Option<&str>, extensions: Option<&Value>, persisted_id:
crates/openshell-supervisor-network/src/l7/graphql.rs:160
↓ 2 callersFunctioncleanup_partial_bind
Best-effort rollback of partial bind state. Clears `driver_override` and re-probes so the kernel re-attaches the host driver. Used on failure paths in
crates/openshell-vfio/src/bind.rs:125
↓ 2 callersMethodcleanup_sandbox_owned_records
(&self, sandbox: &Sandbox)
crates/openshell-server/src/compute/mod.rs:1373
↓ 2 callersMethodcleanup_sandbox_state
(&self, sandbox_id: &str)
crates/openshell-server/src/compute/mod.rs:1411
↓ 2 callersFunctioncleanup_sandbox_token_file_by_id
(sandbox_id: &str, config: &DockerDriverRuntimeConfig)
crates/openshell-driver-docker/src/lib.rs:2143
↓ 2 callersFunctioncleanup_sandbox_token_file_for_delete
( sandbox_id: &str, pending: Option<&PendingSandboxRecord>, config: &DockerDriverRuntimeConfig, )
crates/openshell-driver-docker/src/lib.rs:2131
↓ 2 callersFunctionclear_last_sandbox_if_matches
Clear the last-used sandbox record for a gateway if it matches the given name. This should be called after a sandbox is deleted so that subsequent co
crates/openshell-bootstrap/src/metadata.rs:301
↓ 2 callersFunctionclone_or_copy_sparse_file
(source: &Path, dest: &Path)
crates/openshell-driver-vm/src/rootfs.rs:131
↓ 2 callersFunctioncollect_ancestor_binaries
(pid: u32, stop_pid: u32)
crates/openshell-supervisor-process/src/bypass_monitor/procfs.rs:104
↓ 2 callersFunctioncollect_baseline_enrichment_paths
( include_proxy: bool, include_gpu: bool, gpu_device_nodes: Vec<String>, )
crates/openshell-sandbox/src/lib.rs:774
↓ 2 callersFunctioncollect_cdi_gpu_device_ids_from_devices
(devices: &[Value], device_ids: &mut Vec<String>)
e2e/rust/tests/gpu/device_selection.rs:61
↓ 2 callersFunctioncollect_cmdline_paths
(pid: u32, stop_pid: u32, exclude: &[PathBuf])
crates/openshell-supervisor-network/src/procfs.rs:242
↓ 2 callersFunctioncollect_descendant_pids
(root_pid: u32)
crates/openshell-supervisor-network/src/procfs.rs:427
↓ 2 callersFunctioncollect_descendant_pids_with_depth
(root_pid: u32)
crates/openshell-supervisor-network/src/procfs.rs:436
↓ 2 callersFunctioncommand_exists
(command: &str)
e2e/rust/src/harness/container.rs:260
↓ 2 callersFunctioncomplete_gateway_names
Complete gateway names from local metadata files (no network call).
crates/openshell-cli/src/completers.rs:22
↓ 2 callersFunctioncompletion_grpc_client
( server: &str, gateway_name: &str, )
crates/openshell-cli/src/completers.rs:88
↓ 2 callersFunctioncomponent_dirs
(fern_dir: Path)
tasks/scripts/sync_docs_website.py:223
↓ 2 callersMethodconfidence
(mut self, id: ConfidenceId)
crates/openshell-ocsf/src/builders/finding.rs:62
↓ 2 callersMethodconfigure_provider_refresh
( &self, _: tonic::Request<openshell_core::proto::ConfigureProviderRefreshRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:265
↓ 2 callersFunctionconfirm_global_setting_takeover
(key: &str, yes: bool)
crates/openshell-cli/src/run.rs:6159
↓ 2 callersMethodconnect
Open a new HTTP/1.1 connection to the Podman socket.
crates/openshell-driver-podman/src/client.rs:277
← previousnext →1,501–1,600 of 9,017, ranked by callers