MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 3 callersFunctionextract_hash
Extract the policy hash from `policy get` output.
e2e/rust/tests/live_policy_update.rs:171
↓ 3 callersFunctionextract_resource
(compressed: &[u8], dest: &Path)
crates/openshell-driver-vm/src/embedded_runtime.rs:174
↓ 3 callersFunctionextract_sandbox_name
Extract the sandbox name from CLI create output. The CLI prints `Created sandbox: <name>` (current format). Falls back to `Name: <name>` for compatib
e2e/rust/src/harness/sandbox.rs:22
↓ 3 callersFunctionextract_tar_reader_to_dir
(reader: impl Read, dest: &Path)
crates/openshell-driver-vm/src/driver.rs:3818
↓ 3 callersFunctionfetch_provider_profile
( client: &mut crate::tls::GrpcClient, provider_type: &str, )
crates/openshell-cli/src/run.rs:4497
↓ 3 callersFunctionfetch_sandbox_detail
Fetch sandbox details (policy + providers) when entering the sandbox screen. Uses `GetSandbox` for metadata/providers, then `GetSandboxConfig` for th
crates/openshell-tui/src/lib.rs:755
↓ 3 callersFunctionfind_free_port
Find an available TCP port by binding to port 0. The OS assigns an ephemeral port which is returned. The listener is dropped immediately, freeing the
e2e/rust/src/harness/port.rs:51
↓ 3 callersMethodfinding_info
(mut self, info: FindingInfo)
crates/openshell-ocsf/src/builders/finding.rs:52
↓ 3 callersFunctionformat_http_response_header
Format HTTP/1.1 response headers for a chunked (streaming) response. Emits the status line, supplied headers (stripping any `content-length` or `tran
crates/openshell-supervisor-network/src/l7/inference.rs:431
↓ 3 callersFunctionformat_short_time
(epoch_ms: i64)
crates/openshell-tui/src/ui/sandbox_logs.rs:389
↓ 3 callersFunctionformat_ts
(time_ms: i64)
crates/openshell-ocsf/src/format/shorthand.rs:17
↓ 3 callersFunctionforward_l7_hard_deny_reason
( protocol: crate::l7::L7Protocol, request_info: &crate::l7::L7RequestInfo, )
crates/openshell-supervisor-network/src/proxy.rs:457
↓ 3 callersFunctionforward_websocket_policy_parts
( data: &str, host: &str, port: u16, path: &str, policy_name: &str,
crates/openshell-supervisor-network/src/proxy.rs:4782
↓ 3 callersMethodgateway_name
Return the gateway name, if set.
crates/openshell-cli/src/tls.rs:65
↓ 3 callersFunctiongenerate_confirmation_code
Generate a random alphanumeric confirmation code (e.g. "A7X-3KPX"). Uses a dash separator in the middle for readability.
crates/openshell-cli/src/auth.rs:46
↓ 3 callersFunctiongenerate_rule_name
Generate a rule name that doesn't conflict with existing rules. Generate a deterministic, idempotent rule name from host and port. The same `(host, p
crates/openshell-sandbox/src/mechanistic_mapper.rs:250
↓ 3 callersFunctiongenerate_tap_ruleset
Generate the nftables ruleset for VM TAP networking.
crates/openshell-driver-vm/src/nft_ruleset.rs:18
↓ 3 callersMethodget_cluster_inference
( &self, request: Request<GetClusterInferenceRequest>, )
crates/openshell-server/src/inference.rs:117
↓ 3 callersMethodget_provider_profile
( &self, _request: tonic::Request<openshell_core::proto::GetProviderProfileRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:215
↓ 3 callersMethodget_sandbox_config
( &self, request: Request<GetSandboxConfigRequest>, )
crates/openshell-server/src/grpc/mod.rs:483
↓ 3 callersFunctionget_str
Extract a string from a `regorus::Value` object field.
crates/openshell-supervisor-network/src/opa.rs:646
↓ 3 callersFunctionget_str_array
Extract a string array from a `regorus::Value` object field.
crates/openshell-supervisor-network/src/opa.rs:670
↓ 3 callersFunctionglob_uses_wildcard
(glob: &str)
crates/openshell-supervisor-network/src/l7/mod.rs:881
↓ 3 callersFunctiongrpc_client_mtls
Build a gRPC client with mTLS (CA + client cert).
crates/openshell-server/tests/common/mod.rs:650
↓ 3 callersFunctiongrpc_inference_client
(server: &str, tls: &TlsOptions)
crates/openshell-cli/src/tls.rs:447
↓ 3 callersFunctiongvproxy_socket_base
(overlay_disk: &Path)
crates/openshell-driver-vm/src/runtime.rs:1299
↓ 3 callersFunctionhandle_delete_provider_refresh
( state: &Arc<ServerState>, request: Request<DeleteProviderRefreshRequest>, )
crates/openshell-server/src/grpc/provider.rs:2195
↓ 3 callersFunctionhandle_get_provider_refresh_status
( state: &Arc<ServerState>, request: Request<GetProviderRefreshStatusRequest>, )
crates/openshell-server/src/grpc/provider.rs:1930
↓ 3 callersFunctionhandle_issue_sandbox_token
( state: &Arc<ServerState>, request: Request<IssueSandboxTokenRequest>, )
crates/openshell-server/src/grpc/auth_rpc.rs:25
↓ 3 callersFunctionhandle_list_provider_profiles
( state: &Arc<ServerState>, request: Request<ListProviderProfilesRequest>, )
crates/openshell-server/src/grpc/provider.rs:1216
↓ 3 callersFunctionhandle_list_sandbox_policies
( state: &Arc<ServerState>, request: Request<ListSandboxPoliciesRequest>, )
crates/openshell-server/src/grpc/policy.rs:1966
↓ 3 callersFunctionhandle_revoke_ssh_session
( state: &Arc<ServerState>, request: Request<RevokeSshSessionRequest>, )
crates/openshell-server/src/grpc/sandbox.rs:1406
↓ 3 callersFunctionhas_gpu_devices
Returns true if GPU devices are present in the container. Checks both the native Linux NVIDIA control device (`/dev/nvidiactl`) and the WSL2 DXG devi
crates/openshell-sandbox/src/lib.rs:746
↓ 3 callersFunctionheader_end
(buf: &[u8])
crates/openshell-supervisor-network/src/token_grant.rs:693
↓ 3 callersFunctionheader_str
(headers: &'a HeaderMap, name: &str)
crates/openshell-server/src/http.rs:259
↓ 3 callersFunctionhealth_router_from_receiver
Build the health router from an existing monitor receiver. Crate-internal: used by [`health_router`] and by tests that drive the `HealthState` direct
crates/openshell-server/src/http.rs:159
↓ 3 callersFunctionhost_alias
(name: &str)
crates/openshell-cli/src/ssh.rs:1431
↓ 3 callersFunctionhtml_escape
Minimal HTML attribute escaping for untrusted values. Escapes `&`, `"`, `'`, `<`, and `>` so the value is safe for embedding inside a quoted HTML att
crates/openshell-server/src/auth/http.rs:387
↓ 3 callersFunctionhttp_health_check
(server: &str, tls: &TlsOptions)
crates/openshell-cli/src/run.rs:1406
↓ 3 callersFunctioninference_engine
()
crates/openshell-supervisor-network/src/opa.rs:4565
↓ 3 callersFunctioninject_token_grant_for_forward_request
( method: &str, upstream_target: &str, forward_request_bytes: Vec<u8>, l7_ctx: &crate::l7::rel
crates/openshell-supervisor-network/src/proxy.rs:3106
↓ 3 callersMethodinspect_volume
Inspect a named volume. Does not create the volume.
crates/openshell-driver-podman/src/client.rs:511
↓ 3 callersFunctioninstall_ssh_config
(gateway: &str, name: &str)
crates/openshell-cli/src/ssh.rs:1570
↓ 3 callersMethodintercept_unary_unary
(self, continuation, client_call_details, request)
python/openshell/sandbox.py:99
↓ 3 callersMethodis_bearer_auth
Returns `true` when using bearer token auth.
crates/openshell-cli/src/tls.rs:104
↓ 3 callersFunctionis_benign_connection_close
(error: &(dyn std::error::Error + 'static))
crates/openshell-server/src/lib.rs:159
↓ 3 callersFunctionis_benign_relay_error
Check if a miette error represents a benign connection close. TLS handshake EOF, missing `close_notify`, connection resets, and broken pipes are all
crates/openshell-supervisor-network/src/proxy.rs:4355
↓ 3 callersMethodis_globally_managed
(&self)
crates/openshell-tui/src/app.rs:198
↓ 3 callersFunctionis_loopback_gateway_endpoint
(endpoint: &str)
crates/openshell-cli/src/run.rs:701
↓ 3 callersFunctionis_mock_route
Returns true if the route's endpoint uses the `mock://` scheme, indicating the router should return a canned response.
crates/openshell-router/src/mock.rs:11
↓ 3 callersFunctionis_not_modified_error
(err: &BollardError)
crates/openshell-driver-docker/src/lib.rs:3507
↓ 3 callersMethodis_sigv4
(&self)
crates/openshell-supervisor-network/src/l7/mod.rs:79
↓ 3 callersMethodis_stale
(&self)
crates/openshell-supervisor-network/src/opa.rs:92
↓ 3 callersFunctionis_unix_socket
(path: &Path)
crates/openshell-core/src/config.rs:236
↓ 3 callersFunctionis_vertex_anthropic_rawpredict_route
Check whether a route targets a Vertex AI Anthropic rawPredict endpoint. The predicate is purely structural — it tests `model_in_path`, `anthropic_me
crates/openshell-router/src/backend.rs:957
↓ 3 callersFunctionisolated_gateway_add_env
( config_dir: &std::path::Path, state_dir: &std::path::Path, )
crates/openshell-cli/tests/mtls_integration.rs:526
↓ 3 callersFunctionjsonrpc_receive_stream_request
(request: &L7Request)
crates/openshell-supervisor-network/src/l7/jsonrpc.rs:127
↓ 3 callersMethodkey
Stable string key used for Z3 variable naming.
crates/openshell-prover/src/model.rs:25
↓ 3 callersFunctionkube_api_error
(code: u16, message: &str)
crates/openshell-server/src/auth/k8s_sa.rs:561
↓ 3 callersFunctionkube_api_error
(code: u16, message: &str)
crates/openshell-driver-kubernetes/src/driver.rs:2237
↓ 3 callersFunctionl7_config_alias_runtime_fields
Parse an L7 nested config stanza and return the flattened runtime fields consumed by the supervisor policy engine. The stanza schema stays tied to th
crates/openshell-policy/src/lib.rs:226
↓ 3 callersMethodlabel
(self)
crates/openshell-tui/src/app.rs:83
↓ 3 callersFunctionlegacy_token_path
Legacy path used before the rename to `edge_token`.
crates/openshell-bootstrap/src/edge_token.rs:21
↓ 3 callersFunctionlist_all_refresh_states
( store: &Store, )
crates/openshell-server/src/provider_refresh.rs:75
↓ 3 callersFunctionlist_gateways
List all gateways that have stored metadata. Scans `$XDG_CONFIG_HOME/openshell/gateways/` and the system registry under `/etc/openshell/gateways/` (o
crates/openshell-bootstrap/src/metadata.rs:383
↓ 3 callersMethodlist_policies
( &self, sandbox_id: &str, limit: u32, offset: u32, )
crates/openshell-server/src/persistence/sqlite.rs:561
↓ 3 callersMethodlist_providers
( &self, _request: tonic::Request<ListProvidersRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:199
↓ 3 callersMethodlist_sandboxes
( &self, _request: tonic::Request<openshell_core::proto::ListSandboxesRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:64
↓ 3 callersFunctionload_class_schema
(class: &str)
crates/openshell-ocsf/src/validation/schema.rs:15
↓ 3 callersFunctionload_key
Load a private key from a PEM file.
crates/openshell-server/src/tls.rs:316
↓ 3 callersFunctionload_last_sandbox
Load the last-used sandbox name for a gateway from persistent storage. Returns `None` if no last sandbox has been set.
crates/openshell-bootstrap/src/metadata.rs:290
↓ 3 callersFunctionload_profile_import_items
( file: Option<&Path>, from: Option<&Path>, )
crates/openshell-cli/src/run.rs:5450
↓ 3 callersFunctionload_sandbox_policy
Load sandbox policy YAML. Resolution order: `--policy` flag > `OPENSHELL_SANDBOX_POLICY` env var. Returns `None` when no policy source is configured,
crates/openshell-cli/src/run.rs:2560
↓ 3 callersFunctionload_user_active_gateway
Load the per-user active gateway name from persistent storage. Returns `None` if no user-scoped active gateway has been set.
crates/openshell-bootstrap/src/metadata.rs:261
↓ 3 callersFunctionlocal_image_platform_mismatch
( image_ref: &str, actual_os: Option<&str>, actual_arch: Option<&str>, )
crates/openshell-driver-vm/src/driver.rs:3312
↓ 3 callersFunctionlocal_podman_all_gpu_default_supported_from
(dev_root: &Path)
crates/openshell-driver-podman/src/driver.rs:169
↓ 3 callersFunctionlocal_podman_cdi_gpu_inventory_from
(dev_root: &Path)
crates/openshell-driver-podman/src/driver.rs:145
↓ 3 callersMethodlog_autoscroll_offset
(&self)
crates/openshell-tui/src/app.rs:2731
↓ 3 callersFunctionlog_sandbox_readiness
Probe Landlock availability and emit OCSF logs from the parent process. This must be called **before** `pre_exec` / `fork()` so that the OCSF events
crates/openshell-supervisor-process/src/sandbox/linux/mod.rs:64
↓ 3 callersFunctionmake_log_event
(sandbox_id: &str, message: &str)
crates/openshell-server/src/tracing_bus.rs:207
↓ 3 callersFunctionmake_provider_with_base_url
( name: &str, provider_type: &str, key_name: &str, key_value: &str, ba
crates/openshell-server/src/inference.rs:1059
↓ 3 callersMethodmake_request_id
(&mut self, _req: &Request<B>)
crates/openshell-server/src/multiplex.rs:51
↓ 3 callersFunctionmanaged_container_label_filters
( sandbox_namespace: &str, extra_values: impl IntoIterator<Item = String>, )
crates/openshell-driver-docker/src/lib.rs:2940
↓ 3 callersFunctionmasked_frame_with_rsv
(fin: bool, opcode: u8, rsv: u8, payload: &[u8])
crates/openshell-supervisor-network/src/l7/websocket.rs:1151
↓ 3 callersFunctionmerge_string_field
( existing: &mut String, incoming: &str, warning: PolicyMergeWarning, warnings: &mut Vec<Polic
crates/openshell-policy/src/merge.rs:566
↓ 3 callersFunctionmissing_credentials_error
(provider_type: &str)
crates/openshell-cli/src/run.rs:4564
↓ 3 callersFunctionmissing_required_server_sans
( paths: &LocalPaths, server_sans: &[String], )
crates/openshell-server/src/certgen.rs:536
↓ 3 callersMethodname
(&self)
crates/openshell-tui/src/app.rs:419
↓ 3 callersMethodnext_chunk
Read the next body chunk. Returns `None` when the body is exhausted.
crates/openshell-router/src/backend.rs:96
↓ 3 callersFunctionnormalize_endpoint
(endpoint: &mut NetworkEndpoint)
crates/openshell-policy/src/merge.rs:806
↓ 3 callersFunctionnormalize_gateway_endpoint
Resolve the gateway name to a [`GatewayContext`] with the gateway endpoint. Resolution priority: 1. `--gateway-endpoint` flag (direct URL, preserving
crates/openshell-cli/src/main.rs:58
↓ 3 callersFunctionnormalize_inference_provider_type
(input: &str)
crates/openshell-core/src/inference.rs:219
↓ 3 callersFunctionnormalize_l7_rule_aliases
( rule: &mut serde_json::Map<String, serde_json::Value>, protocol: &str, mcp_allow_all_known_mcp_m
crates/openshell-supervisor-network/src/opa.rs:921
↓ 3 callersFunctionnormalize_output
(output: &str)
e2e/rust/tests/sandbox_lifecycle.rs:13
↓ 3 callersFunctionnormalize_output
(output: &str)
e2e/rust/tests/sandbox_labels.rs:9
↓ 3 callersFunctionnormalize_profile_id_request
(id: &str)
crates/openshell-server/src/grpc/provider.rs:1577
↓ 3 callersFunctionnormalized_env
(value: Option<&str>)
e2e/rust/src/harness/container.rs:185
↓ 3 callersFunctionoci_layout_blobs_dir
(layout_dir: &Path)
crates/openshell-driver-vm/src/driver.rs:4293
↓ 3 callersFunctionoidc_refresh_token
Refresh an OIDC token using the `refresh_token` grant. Preserves the existing refresh token if the server does not return a new one (per OAuth 2.0 sp
crates/openshell-cli/src/oidc_auth.rs:232
↓ 3 callersFunctionoidc_token_path
Path to the stored OIDC token bundle for a gateway.
crates/openshell-bootstrap/src/oidc_token.rs:38
← previousnext →1,201–1,300 of 9,017, ranked by callers