MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 3 callersFunctionadd_empty_profile_set_diagnostic
( profiles: &[(String, ProviderTypeProfile)], diagnostics: &mut Vec<ProfileValidationDiagnostic>, )
crates/openshell-server/src/grpc/provider.rs:1611
↓ 3 callersFunctionagent_next_steps
()
crates/openshell-supervisor-network/src/policy_local.rs:225
↓ 3 callersFunctionalias_token_at
(text: &str, abs_start: usize)
crates/openshell-core/src/secrets.rs:457
↓ 3 callersFunctionappend_unique_l7_rules
(existing: &mut Vec<L7Rule>, incoming: &[L7Rule])
crates/openshell-policy/src/merge.rs:783
↓ 3 callersFunctionappend_upload_path
( archive: &mut tar::Builder<W>, local_path: &Path, archive_path: &Path, skip_missing: bool, )
crates/openshell-cli/src/ssh.rs:632
↓ 3 callersFunctionapply_guest_tls_defaults_to_split_fields
( ca: &mut Option<PathBuf>, cert: &mut Option<PathBuf>, key: &mut Option<PathBuf>, defaults: O
crates/openshell-server/src/compute/driver_config.rs:224
↓ 3 callersFunctionapply_layer_dir_to_rootfs
(layer_root: &Path, rootfs: &Path)
crates/openshell-driver-vm/src/driver.rs:3848
↓ 3 callersFunctionapply_merge_operations_with_retry
( store: &Store, sandbox_id: &str, baseline_policy: Option<&ProtoSandboxPolicy>, operations: &
crates/openshell-server/src/grpc/policy.rs:3505
↓ 3 callersFunctionapply_runtime_defaults
(args: &mut RunArgs)
crates/openshell-server/src/cli.rs:497
↓ 3 callersMethodapply_sandbox_update_locked
( &self, incoming: DriverSandbox, existing_record: Option<ObjectRecord>, )
crates/openshell-server/src/compute/mod.rs:1122
↓ 3 callersFunctionassert_float_eq
(actual: f64, expected: f64)
crates/openshell-server/src/telemetry.rs:72
↓ 3 callersFunctionassert_float_eq
(actual: f64, expected: f64)
crates/openshell-sandbox/src/activity_aggregator.rs:158
↓ 3 callersFunctionassert_resolves_outside_workspace
Assert that an error string carries the two markers of a remote-side canonicalisation refusal: `resolves to` (proving `realpath -e` ran) and `outside
e2e/rust/tests/sync.rs:445
↓ 3 callersFunctionassert_streaming_sse_error
(response: &str, message: &str)
crates/openshell-supervisor-network/src/proxy.rs:6498
↓ 3 callersFunctionattach_kube_progress_metadata
( metadata: &mut std::collections::HashMap<String, String>, reason: &str, message: &str, )
crates/openshell-driver-kubernetes/src/driver.rs:977
↓ 3 callersFunctionauthorize_inference_bundle
( principal: Option<&crate::auth::principal::Principal>, )
crates/openshell-server/src/inference.rs:876
↓ 3 callersFunctionawait_relay_stream
Wait for the supervisor's reverse CONNECT to deliver a relay stream. Returns `Some(stream)` on success. On any failure the error is sent on `tx` and
crates/openshell-server/src/grpc/sandbox.rs:884
↓ 3 callersFunctionb64urlDecode
(value)
examples/spiffe-token-grant-demo/k8s/token-issuer.js:29
↓ 3 callersFunctionb64urlEncode
(value)
examples/spiffe-token-grant-demo/k8s/token-issuer.js:34
↓ 3 callersFunctionbinary_path
Read the binary path of a process via `/proc/{pid}/exe` symlink. Strips the kernel-added `" (deleted)"` suffix when the raw readlink target cannot be
crates/openshell-supervisor-process/src/bypass_monitor/procfs.rs:50
↓ 3 callersFunctionbody_bytes_contain_reserved_marker
(body: &[u8])
crates/openshell-supervisor-network/src/l7/rest.rs:1123
↓ 3 callersFunctionbuild_capabilities_response
Build a [`GetCapabilitiesResponse`] from the common driver capability fields. Every compute driver constructs this response with the same fields. Sha
crates/openshell-core/src/driver_utils.rs:103
↓ 3 callersFunctionbuild_driver_sandbox
Construct a `DriverSandbox` from common fields. Centralises the boilerplate that every event/inspect/list path shares: `namespace`, `spec`, `agent_fd
crates/openshell-driver-podman/src/watcher.rs:247
↓ 3 callersFunctionbuild_remote_exec_command
(req: &ExecSandboxRequest)
crates/openshell-server/src/grpc/sandbox.rs:1518
↓ 3 callersFunctionbuild_server_config
Build a `ServerConfig` from certificate, key, and optional client CA files.
crates/openshell-server/src/tls.rs:248
↓ 3 callersFunctionbuild_single_file_tar_cmd
Build the `tar cf - -C <parent> -- <basename>` command used to wrap a single sandbox-side file for download. The trailing `--` is required: a sandbox
crates/openshell-cli/src/ssh.rs:1211
↓ 3 callersFunctionbuild_supervisor_prelude_rules
()
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:95
↓ 3 callersFunctionbuild_test_client_config
(ca_path: &Path)
crates/openshell-server/src/tls.rs:372
↓ 3 callersFunctionbuild_tls_root
Parse PEM cert bytes into a `RootCertStore`.
crates/openshell-server/tests/common/mod.rs:637
↓ 3 callersFunctionbuild_upstream_request
( req: Request<Body>, target_port: u16, preserve_upgrade_headers: bool, )
crates/openshell-server/src/service_routing.rs:426
↓ 3 callersFunctionbuild_vertex_route
( route_name: &str, endpoint: String, model_id: &str, api_key: &str, protocols: Vec<String
crates/openshell-server/src/inference.rs:515
↓ 3 callersMethodcaptured_generation
(&self)
crates/openshell-supervisor-network/src/opa.rs:84
↓ 3 callersMethodcert_pem
Returns the CA certificate in PEM format.
crates/openshell-supervisor-network/src/l7/tls.rs:67
↓ 3 callersFunctioncheck_runtime_pid_limit_status
( status: RuntimePidLimitStatus, mode: RuntimePidLimitMode, )
crates/openshell-supervisor-process/src/process.rs:104
↓ 3 callersFunctionclassify_json_envelope
(value: &Value)
crates/openshell-supervisor-network/src/l7/graphql.rs:143
↓ 3 callersMethodclear_driver_override
(&self)
crates/openshell-vfio/src/sysfs.rs:142
↓ 3 callersFunctioncli_mtls_dir
(name: &str)
crates/openshell-bootstrap/src/mtls.rs:80
↓ 3 callersFunctioncollect_ancestor_binaries
(pid: u32, stop_pid: u32)
crates/openshell-supervisor-network/src/procfs.rs:191
↓ 3 callersFunctioncompile_filter
( rules: BTreeMap<i64, Vec<SeccompRule>>, blocked_action: SeccompAction, )
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:137
↓ 3 callersFunctioncomplete_local_jwt_config
()
crates/openshell-server/src/defaults.rs:96
↓ 3 callersFunctioncomplete_local_tls_paths
()
crates/openshell-server/src/defaults.rs:82
↓ 3 callersFunctioncompress_permessage_deflate
(payload: &[u8])
crates/openshell-supervisor-network/src/l7/websocket.rs:900
↓ 3 callersFunctioncompute_confidence
Compute a confidence score (0.0 to 1.0) for a proposed rule.
crates/openshell-sandbox/src/mechanistic_mapper.rs:261
↓ 3 callersFunctioncompute_driver_guest_tls_paths
( vm_config: &VmComputeConfig, )
crates/openshell-server/src/compute/vm.rs:402
↓ 3 callersFunctionconfigured_runtime_dir
()
crates/openshell-driver-vm/src/runtime.rs:903
↓ 3 callersFunctionconnect_channel
Build a Bearer-authenticated channel to the gateway. First call per process resolves the sandbox JWT via the three-step lookup (env → file → K8s SA b
crates/openshell-core/src/grpc_client.rs:195
↓ 3 callersMethodconnection_info
(mut self, info: ConnectionInfo)
crates/openshell-ocsf/src/builders/network.rs:64
↓ 3 callersFunctioncontainer_engine
()
e2e/rust/tests/gpu/device_selection.rs:169
↓ 3 callersFunctioncopy_to_clipboard
Copy `text` to the system clipboard via the OSC 52 escape sequence. Writes directly to `/dev/tty` so the escape sequence reaches the terminal emulato
crates/openshell-tui/src/clipboard.rs:20
↓ 3 callersFunctioncreate_ext4_image_from_dir_with_size
( source: &Path, image_path: &Path, image_size: u64, )
crates/openshell-driver-vm/src/rootfs.rs:93
↓ 3 callersFunctioncreate_private_dir_all
(path: &Path)
crates/openshell-driver-vm/src/driver.rs:4169
↓ 3 callersMethodcreate_provider
( &self, _request: tonic::Request<CreateProviderRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:181
↓ 3 callersMethodcreate_ssh_session
( &self, request: Request<CreateSshSessionRequest>, )
crates/openshell-server/src/grpc/mod.rs:311
↓ 3 callersMethodcredentials_for_host
Credentials that target a given host. Matching mirrors runtime host policy semantics for exact names and first-label wildcards, so a proposal for `*.g
crates/openshell-prover/src/credentials.rs:142
↓ 3 callersFunctioncurrent_euid
()
crates/openshell-server/src/compute/vm.rs:280
↓ 3 callersMethodcurrent_snapshots
(&self)
crates/openshell-driver-docker/src/lib.rs:646
↓ 3 callersFunctioncurrent_time_ms
Get current Unix timestamp in milliseconds.
crates/openshell-supervisor-network/src/token_grant.rs:556
↓ 3 callersFunctiondebugfs_quote_absolute_path
(path: &str)
crates/openshell-driver-vm/src/rootfs.rs:601
↓ 3 callersFunctiondecode_policy_from_global_settings
( global: &StoredSettings, )
crates/openshell-server/src/grpc/policy.rs:3814
↓ 3 callersFunctiondecrement_ssh_connection_count
( counts: &std::sync::Mutex<std::collections::HashMap<String, u32>>, key: &str, )
crates/openshell-server/src/grpc/sandbox.rs:1086
↓ 3 callersFunctiondedupe_provider_names
(provider_names: &mut Vec<String>)
crates/openshell-server/src/grpc/sandbox.rs:559
↓ 3 callersFunctiondefault_workspace_volume_claim_templates
Build the default `volumeClaimTemplates` array for sandbox pods. Provides a single PVC named "workspace" that backs the `/sandbox` directory. The in
crates/openshell-driver-kubernetes/src/driver.rs:1340
↓ 3 callersMethoddelete_if
Delete an object by id with compare-and-swap support. # Arguments `object_type` - Type discriminator for the object `id` - Stable object identifier `
crates/openshell-server/src/persistence/mod.rs:255
↓ 3 callersFunctiondelete_object
(bucket: &str, key: &str)
crates/openshell-supervisor-network/tests/sigv4_localstack.rs:94
↓ 3 callersFunctiondelete_sandbox
(name: &str)
e2e/rust/tests/user_namespaces.rs:66
↓ 3 callersFunctiondeleted_event
Build a `WatchSandboxesEvent` for a deleted sandbox.
crates/openshell-driver-podman/src/watcher.rs:43
↓ 3 callersFunctiondenial_rate_pct
(network_activity_count: u32, denied_action_count: u32)
crates/openshell-sandbox/src/activity_aggregator.rs:147
↓ 3 callersFunctiondeny_h2c_upgrade_if_requested
( req: &crate::l7::provider::L7Request, config: &L7EndpointConfig, ctx: &L7EvalContext, client
crates/openshell-supervisor-network/src/l7/relay.rs:149
↓ 3 callersFunctiondeny_response_body
( req: &L7Request, policy_name: &str, reason: &str, redacted_target: Option<&str>, context
crates/openshell-supervisor-network/src/l7/rest.rs:1545
↓ 3 callersMethoddescriptor
(&self)
crates/openshell-driver-vm/src/lifecycle.rs:844
↓ 3 callersFunctiondetect
(mode: ThemeMode)
crates/openshell-tui/src/theme.rs:198
↓ 3 callersFunctiondetect_payload_mode
Auto-detect the payload signing mode from the client's original headers. Mirrors the mode the client SDK chose by inspecting `x-amz-content-sha256`:
crates/openshell-supervisor-network/src/l7/rest.rs:1658
↓ 3 callersMethoddevice_id
(&self)
crates/openshell-vfio/src/sysfs.rs:120
↓ 3 callersFunctiondie_with_parent_cleanup
Like [`die_with_parent`], but run `cleanup` before terminating. The cleanup hook is best-effort and async-signal-unsafe — it runs on the helper threa
crates/openshell-driver-vm/src/procguard.rs:57
↓ 3 callersFunctiondiscover_existing_provider_data
( client: &mut crate::tls::GrpcClient, provider_type: &str, )
crates/openshell-cli/src/run.rs:4522
↓ 3 callersFunctiondiscovered_cdi_gpu_device_ids
()
e2e/rust/tests/gpu/device_selection.rs:182
↓ 3 callersFunctiondocker_config_from_context
Build the selected Docker config from TOML plus runtime defaults.
crates/openshell-server/src/compute/driver_config.rs:83
↓ 3 callersMethoddocker_is_podman_shim
(&self)
e2e/rust/src/harness/container.rs:221
↓ 3 callersFunctiondotStyle
(background: string)
docs/_components/CommandTerminal.tsx:122
↓ 3 callersMethoddrain
Drain all accumulated summaries into a flushable batch.
crates/openshell-sandbox/src/denial_aggregator.rs:149
↓ 3 callersFunctiondraw_tab_title
Draw the tab title showing Providers | Global Settings.
crates/openshell-tui/src/ui/global_settings.rs:97
↓ 3 callersFunctiondriver_sandbox_from_list_entry
Build a `DriverSandbox` from a container list entry (no inspect needed).
crates/openshell-driver-podman/src/watcher.rs:295
↓ 3 callersFunctiondynamic_credential_key
( host: &str, port: u32, path: &str, provider_name: &str, credential_name: &str, )
crates/openshell-server/src/grpc/provider.rs:577
↓ 3 callersFunctione2fs_tool_candidates
(tool: &str)
crates/openshell-driver-vm/src/rootfs.rs:741
↓ 3 callersFunctioneffective_route_name
Map a request `route_name` to the canonical store key. Empty string defaults to `CLUSTER_INFERENCE_ROUTE_NAME` for backward compat.
crates/openshell-server/src/inference.rs:47
↓ 3 callersFunctionemit_forward_success_activity
(tx: Option<&ActivitySender>, l7_activity_pending: bool)
crates/openshell-supervisor-network/src/proxy.rs:445
↓ 3 callersFunctionemit_policy_decision
( operation: PolicyDecisionOperation, outcome: TelemetryOutcome, rule_count: u64, )
crates/openshell-core/src/telemetry.rs:536
↓ 3 callersFunctionemit_provider_profile_lifecycle
( provider_profile: TelemetryProviderProfile, operation: LifecycleOperation, outcome: TelemetryOut
crates/openshell-server/src/grpc/provider.rs:2298
↓ 3 callersFunctionemit_sandbox_create
( outcome: TelemetryOutcome, requested_gpu: bool, provider_count: u64, has_custom_policy: bool
crates/openshell-core/src/telemetry.rs:511
↓ 3 callersFunctionemit_websocket_l7_event
( host: &str, port: u16, policy_name: &str, request_info: &L7RequestInfo, decision: &str,
crates/openshell-supervisor-network/src/l7/websocket.rs:979
↓ 3 callersFunctionendpoint
()
crates/openshell-server/src/service_routing.rs:799
↓ 3 callersFunctionendpoint_matches_host_port
(endpoint: &NetworkEndpoint, host: &str, port: u32)
crates/openshell-policy/src/merge.rs:677
↓ 3 callersFunctionendpoint_name
(endpoint: &ServiceEndpoint)
crates/openshell-server/src/service_routing.rs:751
↓ 3 callersFunctionendpoints_overlap
(left: &NetworkEndpoint, right: &NetworkEndpoint)
crates/openshell-policy/src/merge.rs:607
↓ 3 callersMethodengine
(&self)
crates/openshell-supervisor-network/src/opa.rs:132
↓ 3 callersFunctionenrich_proto_baseline_paths
Ensure a proto `SandboxPolicy` includes the baseline filesystem paths required by proxy-mode sandboxes and GPU runtimes. Paths are only added if missi
crates/openshell-sandbox/src/lib.rs:897
↓ 3 callersFunctionensure_supervisor_ready_status
(status: &mut Option<SandboxStatus>, sandbox_name: &str)
crates/openshell-server/src/compute/mod.rs:1855
↓ 3 callersFunctionenv_path
(name: &str)
e2e/rust/src/harness/gateway.rs:163
↓ 3 callersFunctionerror_condition
(reason: &str, message: &str)
crates/openshell-driver-vm/src/driver.rs:5032
↓ 3 callersFunctionextract_first_tar_entry
Extract the payload of the first regular-file entry in a tar archive. Docker's `/containers/<id>/archive` endpoint returns a single-file tar when `pat
crates/openshell-driver-docker/src/lib.rs:3303
← previousnext →1,101–1,200 of 9,017, ranked by callers