MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 1 callersFunctionnew_mask_key
()
crates/openshell-supervisor-network/src/l7/websocket.rs:943
↓ 1 callersFunctionnormalize_chunked_request_to_content_length
( request: &mut L7Request, header_end: usize, body: &[u8], )
crates/openshell-supervisor-network/src/l7/graphql.rs:414
↓ 1 callersFunctionnormalize_chunked_request_to_content_length
( request: &mut L7Request, header_end: usize, body: &[u8], )
crates/openshell-supervisor-network/src/l7/http.rs:68
↓ 1 callersFunctionnormalize_docker_arch
(arch: &str)
crates/openshell-driver-docker/src/lib.rs:3019
↓ 1 callersFunctionnormalize_docker_platform
(os: &str, arch: &str)
crates/openshell-bootstrap/src/build.rs:51
↓ 1 callersFunctionnormalize_endpoint_ports
Normalize endpoint port/ports in JSON data. YAML policies may use `port: N` (single) or `ports: [N, M]` (multi). This normalizes all endpoints to hav
crates/openshell-supervisor-network/src/opa.rs:770
↓ 1 callersFunctionnormalize_host
(host: &str)
crates/openshell-server/src/http.rs:325
↓ 1 callersFunctionnormalize_http_path
(path: &str)
crates/openshell-server/src/multiplex.rs:734
↓ 1 callersFunctionnormalize_inference_path
Canonicalize the request-target for inference pattern detection. Falls back to the raw path on canonicalization error: the request is then routed thr
crates/openshell-supervisor-network/src/proxy.rs:2819
↓ 1 callersFunctionnormalize_l7_config_alias
( errors: &mut Vec<String>, ep: &mut serde_json::Map<String, serde_json::Value>, loc: &str, st
crates/openshell-supervisor-network/src/opa.rs:842
↓ 1 callersFunctionnormalize_l7_config_aliases
(data: &mut serde_json::Value)
crates/openshell-supervisor-network/src/opa.rs:814
↓ 1 callersFunctionnormalize_l7_rules_aliases
(ep: &mut serde_json::Map<String, serde_json::Value>)
crates/openshell-supervisor-network/src/opa.rs:889
↓ 1 callersFunctionnormalize_path
(path: &Path)
crates/openshell-supervisor-network/src/opa.rs:974
↓ 1 callersFunctionnormalize_rule
(rule: &mut NetworkPolicyRule)
crates/openshell-policy/src/merge.rs:799
↓ 1 callersFunctionnormalize_sandbox_owner_in_rootfs_image
(source: &Path, image_path: &Path)
crates/openshell-driver-vm/src/rootfs.rs:522
↓ 1 callersFunctionnormalize_service_routing_domain
(domain: &str)
crates/openshell-core/src/config.rs:758
↓ 1 callersFunctionnormalized_websocket_extension
(headers: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:2232
↓ 1 callersFunctionnumber_value
(value: f64)
crates/openshell-server/src/compute/mod.rs:2133
↓ 1 callersFunctionobservation_dedup_key
Observation-mode dedup key: `host|port|binary`. Used by the mechanistic mapper path where N denials targeting the same endpoint should fold into one c
crates/openshell-server/src/policy_store.rs:338
↓ 1 callersMethodobtain
( &'a self, request: TokenGrantRequest<'a>, )
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:42
↓ 1 callersFunctionobtain_provider_token
Obtain an `OAuth2` access token for a provider using JWT client assertion grant. This function fetches the sandbox's SPIFFE JWT-SVID from the local S
crates/openshell-supervisor-network/src/token_grant.rs:156
↓ 1 callersMethodopen_create_form
(&mut self)
crates/openshell-tui/src/app.rs:1983
↓ 1 callersMethodopen_create_provider_form
(&mut self)
crates/openshell-tui/src/app.rs:2102
↓ 1 callersFunctionopen_target
( relay_open: &RelayOpen, ssh_socket_path: &std::path::Path, netns_fd: Option<i32>, )
crates/openshell-supervisor-process/src/supervisor_session.rs:575
↓ 1 callersFunctionopen_tcp_target
( target: &TcpRelayTarget, netns_fd: Option<i32>, )
crates/openshell-supervisor-process/src/supervisor_session.rs:589
↓ 1 callersMethodopen_update_provider_form
(&mut self)
crates/openshell-tui/src/app.rs:2402
↓ 1 callersFunctionopen_ws
Open a WebSocket connection to the edge proxy.
crates/openshell-cli/src/edge_tunnel.rs:151
↓ 1 callersFunctionopenai_chat_completion_body
(model: &str)
crates/openshell-router/src/mock.rs:51
↓ 1 callersFunctionopenai_completion_body
(model: &str)
crates/openshell-router/src/mock.rs:74
↓ 1 callersFunctionopenai_embeddings_body
(model: &str)
crates/openshell-router/src/mock.rs:94
↓ 1 callersFunctionopencode_config_path
Return the path to the opencode config file, respecting `XDG_CONFIG_HOME`.
crates/openshell-providers/src/providers/opencode.rs:20
↓ 1 callersFunctionopenshell_ssh_config_path
()
crates/openshell-cli/src/ssh.rs:1450
↓ 1 callersFunctionoperation_type
(operation: &cst::OperationDefinition)
crates/openshell-supervisor-network/src/l7/graphql.rs:267
↓ 1 callersFunctionordered_entries
( existing: list[VersionEntry], updated: VersionEntry )
tasks/scripts/sync_docs_website.py:193
↓ 1 callersFunctionouter_ssh_forward_matches
(args: &[&str], port: u16, prefix_has_no_command: bool)
crates/openshell-core/src/forward.rs:337
↓ 1 callersFunctionoverlay_template_image_ready
(path: &Path, size_bytes: u64)
crates/openshell-driver-vm/src/driver.rs:4504
↓ 1 callersFunctionpackage_managed_tls_dirs
()
crates/openshell-cli/src/run.rs:724
↓ 1 callersFunctionparseFenceOpen
(line)
scripts/lint-mermaid/lint-mermaid.mjs:88
↓ 1 callersFunctionparseJwt
(jwt)
examples/spiffe-token-grant-demo/k8s/token-issuer.js:42
↓ 1 callersFunctionparseJwt
(jwt)
examples/spiffe-token-grant-demo/k8s/protected-service.js:32
↓ 1 callersFunctionparse_add_endpoint_spec
(spec: &str)
crates/openshell-cli/src/policy_update.rs:294
↓ 1 callersFunctionparse_args
()
scripts/baseline_workflow_metrics.py:340
↓ 1 callersFunctionparse_args
()
tasks/scripts/sync_docs_website.py:36
↓ 1 callersFunctionparse_auth_mode
(value: &LitStr)
crates/openshell-server-macros/src/lib.rs:153
↓ 1 callersFunctionparse_cdi_gpu_device_ids
(info: &Value)
e2e/rust/tests/gpu/device_selection.rs:105
↓ 1 callersFunctionparse_chunked_body
Parse an HTTP chunked body from `buf[start..]`. Returns `(decoded_body, total_consumed_bytes_from_buf_start)` when complete, or `None` if more bytes
crates/openshell-supervisor-network/src/l7/inference.rs:313
↓ 1 callersFunctionparse_connection_close
Check if the response headers contain `Connection: close`.
crates/openshell-supervisor-network/src/l7/rest.rs:2099
↓ 1 callersFunctionparse_content_length
(headers: &[u8])
crates/openshell-supervisor-network/src/policy_local.rs:1176
↓ 1 callersFunctionparse_cpu_limit
(value: &str)
crates/openshell-driver-docker/src/lib.rs:2685
↓ 1 callersFunctionparse_cpu_to_microseconds
Parse a Kubernetes-style CPU quantity to cgroup quota microseconds (for a 100ms period). Examples: `"500m"` → 50000, `"2"` → 200000, `"0.5"` → 50000.
crates/openshell-driver-podman/src/container.rs:1072
↓ 1 callersFunctionparse_credential_expiry_cli_value
(value: &str)
crates/openshell-cli/src/run.rs:4057
↓ 1 callersFunctionparse_duration_to_ms
Parse a duration string like "5m", "1h", "30s" into milliseconds.
crates/openshell-cli/src/run.rs:6137
↓ 1 callersFunctionparse_filesystem_policy
(val: &regorus::Value)
crates/openshell-supervisor-network/src/opa.rs:690
↓ 1 callersFunctionparse_flag
(args: &'a [String], name: &str)
crates/openshell-supervisor-process/src/debug_rpc.rs:212
↓ 1 callersFunctionparse_form_body
(body: &str)
crates/openshell-supervisor-network/src/token_grant.rs:719
↓ 1 callersFunctionparse_graphql_http_request
( client: &mut C, max_body_bytes: usize, canonicalize_options: crate::l7::path::CanonicalizeOption
crates/openshell-supervisor-network/src/l7/graphql.rs:42
↓ 1 callersFunctionparse_http_token_list
(value: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:1456
↓ 1 callersFunctionparse_jsonrpc_call
( value: &serde_json::Value, inspection_options: JsonRpcInspectionOptions, )
crates/openshell-supervisor-network/src/l7/jsonrpc.rs:277
↓ 1 callersFunctionparse_jsonrpc_http_request
( client: &mut C, max_body_bytes: usize, canonicalize_options: crate::l7::path::CanonicalizeOption
crates/openshell-supervisor-network/src/l7/jsonrpc.rs:67
↓ 1 callersFunctionparse_jsonrpc_response
(value: &serde_json::Value)
crates/openshell-supervisor-network/src/l7/jsonrpc.rs:302
↓ 1 callersFunctionparse_jwt_exp_ms
Decode the `exp` claim from a JWT without verifying its signature. Returns the expiry in milliseconds since the Unix epoch, or `None` if the token is
crates/openshell-core/src/grpc_client.rs:441
↓ 1 callersFunctionparse_landlock_policy
(val: &regorus::Value)
crates/openshell-supervisor-network/src/opa.rs:704
↓ 1 callersFunctionparse_last_query
(query: &str)
crates/openshell-supervisor-network/src/policy_local.rs:324
↓ 1 callersFunctionparse_mcp_call
( value: &serde_json::Value, strict_tool_names: bool, )
crates/openshell-supervisor-network/src/l7/jsonrpc.rs:327
↓ 1 callersFunctionparse_memory_limit
(value: &str)
crates/openshell-driver-docker/src/lib.rs:2719
↓ 1 callersFunctionparse_memory_to_bytes
Parse a Kubernetes-style memory quantity to bytes. Supports: `Ki`, `Mi`, `Gi`, `Ti` (binary) and `k`, `M`, `G`, `T` (decimal), as well as plain byte
crates/openshell-driver-podman/src/container.rs:1094
↓ 1 callersFunctionparse_merge_operations
( proto_ops: &[PolicyMergeOperation], )
crates/openshell-server/src/grpc/policy.rs:3339
↓ 1 callersFunctionparse_optional_host_gateway_ip
(value: &str)
crates/openshell-driver-docker/src/lib.rs:2442
↓ 1 callersFunctionparse_proc_net_tcp
(pid: u32, peer_port: u16)
crates/openshell-supervisor-network/src/procfs.rs:291
↓ 1 callersFunctionparse_proc_net_tcp
(pid: u32, peer_port: u16)
crates/openshell-supervisor-process/src/bypass_monitor/procfs.rs:128
↓ 1 callersFunctionparse_process_policy
(val: &regorus::Value)
crates/openshell-supervisor-network/src/opa.rs:715
↓ 1 callersFunctionparse_proto_add_allow_rules
( index: usize, add_allow_rules: &ProtoAddAllowRules, )
crates/openshell-server/src/grpc/policy.rs:3442
↓ 1 callersFunctionparse_proto_add_deny_rules
( index: usize, add_deny_rules: &ProtoAddDenyRules, )
crates/openshell-server/src/grpc/policy.rs:3422
↓ 1 callersFunctionparse_remove_endpoint_spec
(spec: &str)
crates/openshell-cli/src/policy_update.rs:282
↓ 1 callersFunctionparse_role
(value: &LitStr)
crates/openshell-server-macros/src/lib.rs:168
↓ 1 callersFunctionparse_ssh_prefix_before_proxy
(args: &[&str], proxy_index: usize)
crates/openshell-core/src/forward.rs:310
↓ 1 callersFunctionparse_status_code
Parse the HTTP status code from a response status line. Expects the first line to look like `HTTP/1.1 200 OK`.
crates/openshell-supervisor-network/src/l7/rest.rs:2092
↓ 1 callersFunctionparse_target
(target: &str)
crates/openshell-supervisor-network/src/proxy.rs:4311
↓ 1 callersFunctionparse_tcp_forward_spec
(local: Option<&str>, default_port: u16)
crates/openshell-cli/src/run.rs:3014
↓ 1 callersFunctionparse_timeout_query
Parse `?timeout=<s>` from the query string. Default applies for missing or unparseable values; bounds clamp to keep the agent's hold ceiling sane. Re-
crates/openshell-supervisor-network/src/policy_local.rs:870
↓ 1 callersFunctionparse_tls_mode
Parse the `tls` field from an endpoint config, independent of L7 protocol. Used to check for `tls: skip` even on L4-only endpoints (no `protocol` fie
crates/openshell-supervisor-network/src/l7/mod.rs:300
↓ 1 callersFunctionpath_is_dir_or_symlink_to_dir
(path: &Path)
crates/openshell-driver-vm/src/driver.rs:3932
↓ 1 callersFunctionpath_is_or_under
(path: &Path, parent: &Path)
crates/openshell-core/src/driver_mounts.rs:125
↓ 1 callersFunctionpath_matches_risk
Check if a single finding path matches an accepted risk.
crates/openshell-prover/src/accepted_risks.rs:82
↓ 1 callersFunctionpath_patterns_can_overlap
(first: &str, second: &str)
crates/openshell-server/src/grpc/provider.rs:776
↓ 1 callersFunctionpath_patterns_can_overlap
(first: &str, second: &str)
crates/openshell-providers/src/profiles.rs:1563
↓ 1 callersFunctionpeer_credentials
(stream: &UnixStream)
crates/openshell-driver-vm/src/main.rs:386
↓ 1 callersMethodpending_channel_ids
(&self, sandbox_id: &str)
crates/openshell-server/src/supervisor_session.rs:204
↓ 1 callersMethodpending_snapshot
( &self, sandbox_id: &str, sandbox_name: &str, )
crates/openshell-driver-docker/src/lib.rs:1075
↓ 1 callersMethodpending_snapshot_map
(&self)
crates/openshell-driver-docker/src/lib.rs:1087
↓ 1 callersFunctionpercent_decode_with_sentinel
( raw: &[u8], allow_encoded_slash: bool, )
crates/openshell-supervisor-network/src/l7/path.rs:186
↓ 1 callersFunctionpercent_encode_path_segment
Percent-encode a string for safe use in URL path segments. RFC 3986 §3.3: pchar = unreserved / pct-encoded / sub-delims / ":" / "@" sub-delims = "!"
crates/openshell-core/src/secrets.rs:584
↓ 1 callersFunctionpercent_encode_query
Percent-encode a string for safe use in URL query parameter values. Encodes all characters except unreserved characters (RFC 3986 Section 2.3): ALPHA
crates/openshell-core/src/secrets.rs:562
↓ 1 callersFunctionpersisted_query_hash
(extensions: Option<&Value>)
crates/openshell-supervisor-network/src/l7/graphql.rs:316
↓ 1 callersFunctionphase_label
(phase: i32)
crates/openshell-tui/src/lib.rs:2448
↓ 1 callersFunctionphase_name
Convert a sandbox phase integer to a human-readable string.
crates/openshell-cli/src/run.rs:116
↓ 1 callersMethodping
Verify connectivity to the underlying database.
crates/openshell-server/src/persistence/mod.rs:203
↓ 1 callersFunctionplaceholder_for_env_key_for_revision
(key: &str, revision: u64)
crates/openshell-core/src/secrets.rs:530
↓ 1 callersFunctionplaintext_gateway_is_remote
(endpoint: &str, remote: Option<&str>, local: bool)
crates/openshell-cli/src/run.rs:783
↓ 1 callersFunctionplaintext_gateway_metadata
( name: &str, endpoint: &str, remote: Option<&str>, local: bool, )
crates/openshell-cli/src/run.rs:793
← previousnext →3,201–3,300 of 9,017, ranked by callers