Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ functions
Functions
9,017 in github.com/NVIDIA/OpenShell
⨍
Functions
9,017
◇
Types & classes
806
↓ 2 callers
Function
pair_with_ttl
(ttl: Duration)
crates/openshell-server/src/auth/sandbox_jwt.rs:263
↓ 2 callers
Function
params_with_tool
MCP `tool` is a policy convenience for the standard `tools/call` params.name field. When the endpoint method profile is enabled, authored tool selecto
crates/openshell-policy/src/lib.rs:487
↓ 2 callers
Function
parse_api_registry
(contents: &str, source: &str)
crates/openshell-prover/src/credentials.rs:275
↓ 2 callers
Function
parse_binary_capability
(contents: &str, source: &str)
crates/openshell-prover/src/registry.rs:196
↓ 2 callers
Function
parse_credential_expiry_value
(value: &str, key: Option<&str>)
crates/openshell-cli/src/run.rs:4068
↓ 2 callers
Function
parse_jsonrpc_message
Shared framing for JSON-RPC-family messages. MCP-specific validation starts only after the common JSON-RPC version/method/response checks.
crates/openshell-supervisor-network/src/l7/jsonrpc.rs:247
↓ 2 callers
Function
parse_l7_rule_spec
(flag: &str, spec: &str)
crates/openshell-cli/src/policy_update.rs:244
↓ 2 callers
Function
parse_material_i64
( material: &HashMap<String, String>, key: &str, )
crates/openshell-server/src/provider_refresh.rs:628
↓ 2 callers
Function
parse_origin
(value: &str)
crates/openshell-server/src/http.rs:275
↓ 2 callers
Function
parse_origin_authority
(scheme: &str, authority: &str)
crates/openshell-server/src/http.rs:284
↓ 2 callers
Function
parse_pids_max
(contents: &str)
crates/openshell-supervisor-process/src/process.rs:145
↓ 2 callers
Function
parse_platform
Parse `os/arch[/variant]` and reject malformed empty segments.
crates/openshell-bootstrap/src/build.rs:72
↓ 2 callers
Function
parse_profile_json
(input: &str)
crates/openshell-providers/src/profiles.rs:980
↓ 2 callers
Function
parse_registry_reference
(image_ref: &str)
crates/openshell-driver-vm/src/driver.rs:3253
↓ 2 callers
Function
parse_request_headers
(raw: &[u8])
crates/openshell-sandbox/src/google_cloud_metadata.rs:261
↓ 2 callers
Function
parse_request_parts
Parse raw HTTP headers into components needed for `SigV4` signing. Only host, content-type, and content-length are included in the `SigV4` signature.
crates/openshell-supervisor-network/src/sigv4.rs:135
↓ 2 callers
Function
parse_token_endpoint_url
(token_endpoint: &str)
crates/openshell-supervisor-network/src/token_grant.rs:362
↓ 2 callers
Function
parse_token_request
(buf: &[u8])
crates/openshell-supervisor-network/src/token_grant.rs:699
↓ 2 callers
Function
parse_versions
(raw_versions: object)
tasks/scripts/sync_docs_website.py:169
↓ 2 callers
Function
passthrough_token_grant_relay_context
( resolver_response: std::result::Result<&str, &str>, )
crates/openshell-supervisor-network/src/l7/relay.rs:1904
↓ 2 callers
Method
path_specificity
(&self)
crates/openshell-supervisor-network/src/l7/mod.rs:274
↓ 2 callers
Method
pause
Pause stdin polling (call before suspending TUI for a child process).
crates/openshell-tui/src/event.rs:125
↓ 2 callers
Function
peek_tunnel_protocol
(client: &TcpStream)
crates/openshell-supervisor-network/src/proxy.rs:406
↓ 2 callers
Function
pending_sandbox_matches
(sandbox: &DriverSandbox, sandbox_id: &str, sandbox_name: &str)
crates/openshell-driver-docker/src/lib.rs:1590
↓ 2 callers
Function
percent_decode
Percent-decode a URL query parameter value.
crates/openshell-cli/src/oidc_auth.rs:309
↓ 2 callers
Method
persist_state
(&self)
crates/openshell-driver-vm/src/gpu.rs:132
↓ 2 callers
Function
pid_is_alive
Check whether a process is alive.
crates/openshell-core/src/forward.rs:92
↓ 2 callers
Function
pod_sandbox_id
(pod: &Pod)
crates/openshell-server/src/auth/k8s_sa.rs:392
↓ 2 callers
Function
podman_config_from_context
Build the selected Podman config from TOML plus runtime defaults.
crates/openshell-server/src/compute/driver_config.rs:74
↓ 2 callers
Function
podman_socket_candidates_from_env
( socket: Option<PathBuf>, runtime_dir: Option<PathBuf>, home: Option<PathBuf>, )
crates/openshell-core/src/config.rs:168
↓ 2 callers
Method
policy_key
(&self)
crates/openshell-supervisor-network/src/proxy.rs:1393
↓ 2 callers
Function
policy_record_from_parts
( id: String, sandbox_id: String, version: i64, status: String, payload: &[u8], create
crates/openshell-server/src/policy_store.rs:301
↓ 2 callers
Function
policy_record_to_revision
(record: &PolicyRecord, include_policy: bool)
crates/openshell-server/src/grpc/policy.rs:3194
↓ 2 callers
Function
policy_revision_to_json
( scope: &str, sandbox: Option<&str>, active_version: Option<u32>, rev: &openshell_core::proto
crates/openshell-cli/src/run.rs:7246
↓ 2 callers
Function
prepare_filesystem
(policy: &SandboxPolicy)
crates/openshell-supervisor-process/src/process.rs:1147
↓ 2 callers
Function
prepare_read_write_path
(path: &Path)
crates/openshell-supervisor-process/src/process.rs:949
↓ 2 callers
Function
prepare_sandbox_rootfs_from_image_root
( rootfs: &Path, image_identity: &str, sandbox_uid: u32, sandbox_gid: u32, )
crates/openshell-driver-vm/src/rootfs.rs:30
↓ 2 callers
Function
prepare_server_config
(args: &mut RunArgs, matches: &ArgMatches)
crates/openshell-server/src/cli.rs:235
↓ 2 callers
Function
prepare_vm_state_dir
(state_dir: &Path, expected_uid: u32)
crates/openshell-server/src/compute/vm.rs:285
↓ 2 callers
Function
preprocess_yaml_data
Preprocess YAML policy data: parse, normalize, validate, expand access presets, return JSON.
crates/openshell-supervisor-network/src/opa.rs:723
↓ 2 callers
Function
print_inference_route
( client: &mut crate::tls::GrpcInferenceClient, label: &str, route_name: &str, )
crates/openshell-cli/src/run.rs:5919
↓ 2 callers
Function
print_log_line
(log: &openshell_core::proto::SandboxLogLine)
crates/openshell-cli/src/run.rs:7496
↓ 2 callers
Function
print_output_collection_to_writer
Print collection output to a custom writer in specified format (json/yaml/table). Writer variant for commands that need custom output destinations.
crates/openshell-cli/src/output.rs:174
↓ 2 callers
Function
print_output_single
Print single item output in specified format (json/yaml/table). # Returns - `Ok(true)` if format was handled (json/yaml), caller should return - `Ok(
crates/openshell-cli/src/output.rs:97
↓ 2 callers
Function
print_policy_merge_warnings
(warnings: &[openshell_policy::PolicyMergeWarning])
crates/openshell-cli/src/run.rs:6279
↓ 2 callers
Function
print_policy_revision_table
(revisions: &[openshell_core::proto::SandboxPolicyRevision])
crates/openshell-cli/src/run.rs:7362
↓ 2 callers
Function
print_sandbox_policy
Print sandbox policy as YAML with dimmed keys.
crates/openshell-cli/src/run.rs:3323
↓ 2 callers
Function
print_service_endpoint_table
(services: &[ServiceEndpointResponse], gateway_endpoint: &str)
crates/openshell-cli/src/run.rs:4277
↓ 2 callers
Function
print_token_summary
(token: &str, expires_at_ms: Option<i64>)
crates/openshell-supervisor-process/src/debug_rpc.rs:153
↓ 2 callers
Function
profile_attached_sandbox_diagnostics
( store: &Store, profiles: &[(String, ProviderTypeProfile)], operation: &str, )
crates/openshell-server/src/grpc/provider.rs:1726
↓ 2 callers
Function
profile_conflict_diagnostics
( store: &Store, profiles: &[(String, ProviderTypeProfile)], )
crates/openshell-server/src/grpc/provider.rs:1626
↓ 2 callers
Function
profile_storage_payload
(mut profile: ProviderProfile)
crates/openshell-server/src/grpc/provider.rs:1820
↓ 2 callers
Function
profile_to_json
(profile: &ProviderTypeProfile)
crates/openshell-providers/src/profiles.rs:988
↓ 2 callers
Function
progress_step_from_metadata
(value: &str)
crates/openshell-cli/src/run.rs:402
↓ 2 callers
Function
proto_sync_payload_for_enriched_policy
( proto: &openshell_core::proto::SandboxPolicy, enriched: bool, )
crates/openshell-sandbox/src/lib.rs:927
↓ 2 callers
Function
proto_to_opa_data_json
Convert typed proto policy fields to JSON suitable for `engine.add_data_json()`. The rego rules reference `data.*` directly, so the JSON structure ha
crates/openshell-supervisor-network/src/opa.rs:1117
↓ 2 callers
Function
protocol_failure_message
(host: &str, port: u16)
crates/openshell-supervisor-network/src/l7/websocket.rs:1102
↓ 2 callers
Function
provider_category_label
(category: i32)
crates/openshell-tui/src/app.rs:713
↓ 2 callers
Function
provider_exists
(name: &str)
e2e/rust/tests/host_gateway_alias.rs:106
↓ 2 callers
Function
provider_get
(server: &str, name: &str, tls: &TlsOptions)
crates/openshell-cli/src/run.rs:4843
↓ 2 callers
Function
provider_profile_allows_empty_credentials
(profile: &ProviderProfile)
crates/openshell-cli/src/run.rs:4839
↓ 2 callers
Function
provider_profile_delete
(server: &str, id: &str, tls: &TlsOptions)
crates/openshell-cli/src/run.rs:5217
↓ 2 callers
Function
provider_profile_export_text
( server: &str, id: &str, output: &str, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5078
↓ 2 callers
Function
provider_profile_update
( server: &str, id: &str, file: &Path, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5146
↓ 2 callers
Function
provider_refresh_config
( server: &str, input: ProviderRefreshConfigInput<'_>, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5289
↓ 2 callers
Function
provider_refresh_delete
( server: &str, name: &str, credential_key: &str, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5356
↓ 2 callers
Function
provider_refresh_status
( server: &str, name: &str, credential_key: Option<&str>, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5232
↓ 2 callers
Function
provider_rotate
( server: &str, name: &str, credential_key: &str, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5321
↓ 2 callers
Method
provision_sandbox
( &self, sandbox: Sandbox, image_ref: String, state_dir: PathBuf, tls_
crates/openshell-driver-vm/src/driver.rs:628
↓ 2 callers
Function
provisioning_condition
()
crates/openshell-driver-vm/src/driver.rs:5012
↓ 2 callers
Function
proxy_sandbox_service_request
( state: Arc<ServerState>, req: Request<Body>, )
crates/openshell-server/src/service_routing.rs:112
↓ 2 callers
Function
proxy_to_backend
Forward a raw HTTP request to the backend configured in `route`. Buffers the entire response body before returning. Suitable for non-streaming respon
crates/openshell-router/src/backend.rs:660
↓ 2 callers
Function
public_status_from_driver
( status: &DriverSandboxStatus, phase: SandboxPhase, current_policy_version: u32, )
crates/openshell-server/src/compute/mod.rs:1835
↓ 2 callers
Method
publish_prepared_cache_miss
( &self, sandbox_id: &str, image_ref: &str, image_source: &str, image_
crates/openshell-driver-vm/src/driver.rs:2518
↓ 2 callers
Method
publish_registry_layer_progress
( &self, sandbox_id: &str, image_ref: &str, layer: &OciDescriptor, ind
crates/openshell-driver-vm/src/driver.rs:3564
↓ 2 callers
Method
pull_image
(&self, sandbox_id: &str, image: &str)
crates/openshell-driver-docker/src/lib.rs:1348
↓ 2 callers
Function
pull_supervisor_image
(docker: &Docker, image: &str)
crates/openshell-driver-docker/src/lib.rs:3211
↓ 2 callers
Function
push_dynamic_token_grant_binding
( bindings: &mut Vec<DynamicTokenGrantBinding>, provider_name: &str, credential_name: &str, ho
crates/openshell-server/src/grpc/provider.rs:1009
↓ 2 callers
Method
put_draft_chunk
( &self, chunk: &DraftChunkRecord, dedup_key: Option<&str>, )
crates/openshell-server/src/persistence/sqlite.rs:650
↓ 2 callers
Function
put_object
(bucket: &str, key: &str, body: &str)
crates/openshell-supervisor-network/tests/sigv4_localstack.rs:82
↓ 2 callers
Function
qemu_guest_env_vars
(config: &VmLaunchConfig, dns_server: Option<String>)
crates/openshell-driver-vm/src/runtime.rs:273
↓ 2 callers
Function
query_allowed_ips
Query `allowed_ips` from the matched endpoint config for a CONNECT decision.
crates/openshell-supervisor-network/src/proxy.rs:2730
↓ 2 callers
Method
query_endpoint_configs_with_generation
Query all matching endpoint configs and return the policy generation used for the query.
crates/openshell-supervisor-network/src/opa.rs:504
↓ 2 callers
Function
query_exact_declared_endpoint_host
Query whether the matched endpoint was declared as this exact hostname.
crates/openshell-supervisor-network/src/proxy.rs:2773
↓ 2 callers
Function
query_matcher_from_proto
(matcher: &L7QueryMatcher)
crates/openshell-providers/src/profiles.rs:953
↓ 2 callers
Function
query_matcher_to_proto
(matcher: &L7QueryMatcherProfile)
crates/openshell-providers/src/profiles.rs:946
↓ 2 callers
Function
read_guest_tls_materials
(paths: &VmDriverTlsPaths)
crates/openshell-driver-vm/src/driver.rs:4491
↓ 2 callers
Function
read_http_header_block
(reader: &mut R)
crates/openshell-supervisor-network/src/l7/rest.rs:2431
↓ 2 callers
Function
read_http_headers
(reader: &mut R)
crates/openshell-supervisor-network/src/proxy.rs:4829
↓ 2 callers
Function
read_local_token
Read the token from the env/file/SA-bootstrap chain, but only the "already a gateway JWT" paths — show-token / show-principal don't want to actually e
crates/openshell-supervisor-process/src/debug_rpc.rs:189
↓ 2 callers
Function
read_masked_payload
( reader: &mut R, frame: &FrameHeader, )
crates/openshell-supervisor-network/src/l7/websocket.rs:440
↓ 2 callers
Function
read_sandbox_request
(path: &Path)
crates/openshell-driver-vm/src/driver.rs:4436
↓ 2 callers
Function
read_text_frame
( reader: &mut R, )
crates/openshell-supervisor-network/src/l7/relay.rs:3064
↓ 2 callers
Function
ready_false_condition_message
( status: Option<&openshell_core::proto::SandboxStatus>, )
crates/openshell-cli/src/run.rs:127
↓ 2 callers
Function
reason_tag
Format a `[reason:...]` tag from `status_detail` (or `message` fallback) for denied events. Returns an empty string if neither field is set.
crates/openshell-ocsf/src/format/shorthand.rs:87
↓ 2 callers
Function
rebuild_request
( parts: &RequestParts<'_>, instructions: &aws_sigv4::http_request::SigningInstructions, body: &[u
crates/openshell-supervisor-network/src/sigv4.rs:227
↓ 2 callers
Method
reconcile_loop
(self: Arc<Self>, mut cancel: watch::Receiver<bool>)
crates/openshell-server/src/compute/mod.rs:1024
↓ 2 callers
Function
reconcile_stale_bindings
Reconcile stale VFIO bindings left over from a previous crash. Loads persisted state, checks each PCI device, and restores any that are still bound t
crates/openshell-vfio/src/reconcile.rs:16
↓ 2 callers
Function
redact_provider_credentials
Redact credential values from a provider before returning it in a gRPC response. Key names are preserved so callers can display credential counts and
crates/openshell-server/src/grpc/provider.rs:35
↓ 2 callers
Function
refresh_draft_chunks
(app: &mut App)
crates/openshell-tui/src/lib.rs:2398
← previous
next →
1,901–2,000 of 9,017, ranked by callers