MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 2 callersMethodenv_var
(&self, key: &str)
crates/openshell-providers/src/context.rs:11
↓ 2 callersFunctionevaluate_opa_tcp
( peer_addr: SocketAddr, engine: &OpaEngine, identity_cache: &BinaryIdentityCache, entrypoint_
crates/openshell-supervisor-network/src/proxy.rs:1549
↓ 2 callersMethodexec
( self, command: Sequence[str], *, stream_output: bool = False, workdi
python/openshell/sandbox.py:736
↓ 2 callersFunctionexec_loop_result
Treat channel EOF before an exit status as relay failure, not exit code 1.
crates/openshell-server/src/grpc/sandbox.rs:1507
↓ 2 callersFunctionexec_or_wait
(mut command: Command, replace_process: bool)
crates/openshell-cli/src/ssh.rs:227
↓ 2 callersFunctionexec_ssh_client_config
russh client config for exec relays.
crates/openshell-server/src/grpc/sandbox.rs:1498
↓ 2 callersFunctionexec_token
(sb: Sandbox)
e2e/python/test_sandbox_providers.py:220
↓ 2 callersFunctionexpand_existing_access
( endpoint: &mut NetworkEndpoint, host: &str, port: u32, warnings: &mut Vec<PolicyMergeWarning
crates/openshell-policy/src/merge.rs:702
↓ 2 callersFunctionexpand_proxy_command_arg
(arg: &str)
crates/openshell-core/src/forward.rs:152
↓ 2 callersFunctionexpected_sandbox_id_from_record
(record: &ForwardPidRecord)
crates/openshell-core/src/forward.rs:386
↓ 2 callersFunctionexport_local_image_rootfs_to_path
( docker: &Docker, image_ref: &str, tar_path: &Path, )
crates/openshell-driver-vm/src/driver.rs:3339
↓ 2 callersFunctionextract_bool_setting
Extract a bool value from an effective setting, if present.
crates/openshell-sandbox/src/lib.rs:1870
↓ 2 callersFunctionextract_host_from_ssh_destination
Extract the hostname from an SSH destination string. Handles formats like: - `user@hostname` -> `hostname` - `ssh://user@hostname` -> `hostname` - `h
crates/openshell-bootstrap/src/metadata.rs:140
↓ 2 callersFunctionextract_response_metadata
Extract status and headers from a [`reqwest::Response`].
crates/openshell-router/src/backend.rs:646
↓ 2 callersFunctionextract_rootfs_archive_to
(archive_path: &Path, dest: &Path)
crates/openshell-driver-vm/src/rootfs.rs:46
↓ 2 callersFunctionextract_sandbox_name
(output: &str)
e2e/rust/tests/sandbox_lifecycle.rs:30
↓ 2 callersMethodfail
(self)
e2e/python/test_sandbox_exec_python.py:33
↓ 2 callersFunctionfetch_chunk
One gateway call: list the sandbox's draft chunks and find the matching id. Returns `Ok(None)` only when the gateway responded successfully but no chu
crates/openshell-supervisor-network/src/policy_local.rs:929
↓ 2 callersFunctionfetch_inference_bundle
Fetch the resolved inference route bundle from the server.
crates/openshell-core/src/grpc_client.rs:842
↓ 2 callersFunctionfetch_policy_with_client
Fetch sandbox policy using an existing client connection.
crates/openshell-core/src/grpc_client.rs:577
↓ 2 callersFunctionfetch_provider_environment
Fetch provider environment variables for a sandbox from `OpenShell` server via gRPC. Returns a map of environment variable names to values derived fr
crates/openshell-core/src/grpc_client.rs:669
↓ 2 callersFunctionfilename_looks_like_dockerfile
(path: &Path)
crates/openshell-cli/src/run.rs:2467
↓ 2 callersFunctionfinalize_sandbox_create_session
( server: &str, sandbox_name: &str, persist: bool, session_result: Result<()>, tls: &TlsOp
crates/openshell-cli/src/run.rs:1744
↓ 2 callersFunctionfind_crlf
(buf: &[u8], start: usize)
crates/openshell-supervisor-network/src/l7/inference.rs:367
↓ 2 callersFunctionfind_crlf
(buf: &[u8], start: usize)
crates/openshell-supervisor-network/src/l7/graphql.rs:540
↓ 2 callersFunctionfind_crlf
(buf: &[u8], start: usize)
crates/openshell-supervisor-network/src/l7/http.rs:194
↓ 2 callersFunctionfind_endpoint_mut
( policy: &'a mut SandboxPolicy, host: &str, port: u32, )
crates/openshell-policy/src/merge.rs:639
↓ 2 callersFunctionfinding_path_key
Stable identity key for a finding path. Deliberately excludes `policy_name`: two paths with identical (binary, endpoint, mechanism) are the same secur
crates/openshell-server/src/grpc/policy.rs:592
↓ 2 callersFunctionflat_param_matchers_to_def
( params: Vec<(String, QueryMatcherDef)>, )
crates/openshell-policy/src/lib.rs:446
↓ 2 callersFunctionflat_params_to_def
Convert flat runtime params back to YAML. MCP gets readable nested params when the flat keys can be losslessly split. Non-MCP protocols keep flat keys
crates/openshell-policy/src/lib.rs:425
↓ 2 callersFunctionflatten_param_matchers
Convert MCP params maps into the flat proto/Rego keyspace. Only `name` is currently enforced for tools/call, but this keeps the YAML shape compatible
crates/openshell-policy/src/lib.rs:391
↓ 2 callersFunctionforeground_forward_started_message
(name: &str, spec: &ForwardSpec)
crates/openshell-cli/src/ssh.rs:514
↓ 2 callersFunctionform_url_decode
(input: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:937
↓ 2 callersFunctionformat_chunk_terminator
The HTTP chunked transfer-encoding terminator: `0\r\n\r\n`.
crates/openshell-supervisor-network/src/l7/inference.rs:462
↓ 2 callersFunctionformat_epoch_ms
Format milliseconds since Unix epoch as a `YYYY-MM-DD HH:MM:SS` UTC string.
crates/openshell-cli/src/run.rs:169
↓ 2 callersFunctionformat_gateway_select_items
(gateways: &[GatewayMetadata])
crates/openshell-cli/src/run.rs:645
↓ 2 callersFunctionformat_setting_value
Format an `EffectiveSetting` value for log display.
crates/openshell-sandbox/src/lib.rs:1941
↓ 2 callersMethodforward_tcp
( &self, _request: tonic::Request<tonic::Streaming<openshell_core::proto::TcpForwardFrame>>,
crates/openshell-cli/tests/mtls_integration.rs:473
↓ 2 callersFunctionforward_test_guard
()
crates/openshell-supervisor-network/src/proxy.rs:4649
↓ 2 callersFunctionforward_token_grant_context
( resolver_response: std::result::Result<&str, &str>, )
crates/openshell-supervisor-network/src/proxy.rs:4735
↓ 2 callersFunctionforward_websocket_denied_after_upgrade
( config: crate::l7::L7EndpointConfig, tunnel_engine: crate::opa::TunnelPolicyEngine,
crates/openshell-supervisor-network/src/proxy.rs:4864
↓ 2 callersFunctionfresh_store
()
crates/openshell-server/src/readiness.rs:240
↓ 2 callersFunctiongateway_auth_label
(gateway: &GatewayMetadata)
crates/openshell-cli/src/run.rs:693
↓ 2 callersMethodgateway_bind_addresses
(&self)
crates/openshell-server/src/compute/mod.rs:465
↓ 2 callersFunctiongateway_env_override_warning
(selected_name: &str)
crates/openshell-cli/src/run.rs:604
↓ 2 callersFunctiongateway_list
List all registered gateways.
crates/openshell-cli/src/run.rs:1316
↓ 2 callersFunctiongateway_metadata_source
Return whether a gateway metadata record would resolve from user or system config.
crates/openshell-bootstrap/src/metadata.rs:209
↓ 2 callersFunctiongateway_mtls_dir
Resolve the mTLS cert directory for a gateway.
crates/openshell-tui/src/lib.rs:597
↓ 2 callersFunctiongateway_port_from_endpoint
(endpoint: &str)
crates/openshell-driver-vm/src/driver.rs:4050
↓ 2 callersFunctiongateway_providers_v2_enabled
(client: &mut crate::tls::GrpcClient)
crates/openshell-cli/src/run.rs:4478
↓ 2 callersFunctiongateway_reachable
(server: &str, tls: &TlsOptions)
crates/openshell-cli/src/run.rs:1449
↓ 2 callersFunctiongateway_select_column_widths
(gateways: &[GatewayMetadata])
crates/openshell-cli/src/run.rs:662
↓ 2 callersFunctiongateway_setting_delete
( server: &str, key: &str, yes: bool, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:6565
↓ 2 callersFunctiongateway_to_json
(gateway: &ListedGateway, active: &Option<String>)
crates/openshell-cli/src/run.rs:1394
↓ 2 callersFunctiongateway_use
Set the active gateway.
crates/openshell-cli/src/run.rs:586
↓ 2 callersFunctiongenerate_pki
Generate a complete PKI bundle: CA, server cert, and client cert. `extra_sans` are additional Subject Alternative Names to add to the server certific
crates/openshell-bootstrap/src/pki.rs:52
↓ 2 callersFunctiongenerate_rogue_pki
Generate a rogue CA and a client certificate signed by that CA. Used to verify that the server rejects mTLS connections from clients whose certificat
crates/openshell-server/tests/common/mod.rs:598
↓ 2 callersFunctiongenerate_security_notes
Generate security notes for a proposed rule.
crates/openshell-sandbox/src/mechanistic_mapper.rs:285
↓ 2 callersMethodget_capabilities
( &self, request: Request<GetCapabilitiesRequest>, )
crates/openshell-server/src/compute/mod.rs:183
↓ 2 callersMethodget_draft_chunk
(&self, id: &str)
crates/openshell-server/src/persistence/postgres.rs:665
↓ 2 callersMethodget_draft_policy
Fetch the current draft chunks for a sandbox. `status_filter` may be `"pending"`, `"approved"`, `"rejected"`, or empty for all. Used by `policy.local`
crates/openshell-core/src/grpc_client.rs:795
↓ 2 callersMethodget_draft_version
(&self, sandbox_id: &str)
crates/openshell-server/src/persistence/sqlite.rs:833
↓ 2 callersMethodget_driver_sandbox
( &self, sandbox_id: &str, sandbox_name: &str, )
crates/openshell-server/src/compute/mod.rs:1491
↓ 2 callersMethodget_gateway_config
( &self, _request: tonic::Request<openshell_core::proto::GetGatewayConfigRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:118
↓ 2 callersMethodget_latest_loaded_policy
( &self, sandbox_id: &str, )
crates/openshell-server/src/persistence/sqlite.rs:517
↓ 2 callersFunctionget_object_u64
(val: &regorus::Value, key: &str)
crates/openshell-supervisor-network/src/l7/mod.rs:321
↓ 2 callersFunctionget_object_value
(val: &'a regorus::Value, key: &str)
crates/openshell-supervisor-network/src/l7/mod.rs:393
↓ 2 callersMethodget_or_unknown
Look up a binary, falling back to glob matching, then to a conservative unknown descriptor.
crates/openshell-prover/src/registry.rs:168
↓ 2 callersMethodget_provider
( &self, _request: tonic::Request<GetProviderRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:190
↓ 2 callersMethodget_provider
( &self, request: tonic::Request<GetProviderRequest>, )
crates/openshell-cli/tests/provider_commands_integration.rs:381
↓ 2 callersFunctionget_service_endpoint
( state: &Arc<ServerState>, sandbox: &str, service: &str, )
crates/openshell-server/src/grpc/service.rs:197
↓ 2 callersFunctiongh_api
Call the GitHub REST API via the gh CLI and return parsed JSON.
scripts/baseline_workflow_metrics.py:118
↓ 2 callersFunctiongpu_lines
(output: &str)
e2e/rust/tests/gpu/device_selection.rs:25
↓ 2 callersFunctiongpu_requirements
(count: Option<u32>)
crates/openshell-cli/tests/sandbox_create_lifecycle_integration.rs:1098
↓ 2 callersFunctiongrpc_client_no_cert
Build a gRPC client *without* a client cert (simulates Cloudflare tunnel).
crates/openshell-server/tests/edge_tunnel_auth.rs:50
↓ 2 callersFunctiongrpc_retry
Retry a gRPC operation with exponential backoff (capped at 4 s). Non-transient gRPC errors (e.g. `NOT_FOUND`, `INVALID_ARGUMENT`, `PERMISSION_DENIED`
crates/openshell-sandbox/src/lib.rs:1319
↓ 2 callersFunctionhandle_clear_draft_chunks
( state: &Arc<ServerState>, request: Request<ClearDraftChunksRequest>, )
crates/openshell-server/src/grpc/policy.rs:2998
↓ 2 callersFunctionhandle_delete_service
( state: &Arc<ServerState>, request: Request<DeleteServiceRequest>, )
crates/openshell-server/src/grpc/service.rs:170
↓ 2 callersFunctionhandle_edit_draft_chunk
( state: &Arc<ServerState>, request: Request<EditDraftChunkRequest>, )
crates/openshell-server/src/grpc/policy.rs:2849
↓ 2 callersFunctionhandle_env
Serve a non-secret config value (project ID, SA email) as plain text. Unlike `handle_token` which serves placeholders, this resolves to the real valu
crates/openshell-sandbox/src/google_cloud_metadata.rs:212
↓ 2 callersFunctionhandle_forward_request
( ctx: &PolicyLocalContext, method: &str, path: &str, initial_request: &[u8], client: &mut
crates/openshell-supervisor-network/src/policy_local.rs:126
↓ 2 callersFunctionhandle_lint_provider_profiles
( state: &Arc<ServerState>, request: Request<LintProviderProfilesRequest>, )
crates/openshell-server/src/grpc/provider.rs:1412
↓ 2 callersFunctionhandle_list_sandbox_providers
( state: &Arc<ServerState>, request: Request<ListSandboxProvidersRequest>, )
crates/openshell-server/src/grpc/sandbox.rs:281
↓ 2 callersFunctionhandle_relay_stream
Handle a `RelayStream` RPC from a supervisor. The first inbound `RelayFrame` must carry a `RelayInit` identifying the pending relay; subsequent frame
crates/openshell-server/src/supervisor_session.rs:467
↓ 2 callersFunctionhas_non_empty_string_field
(val: &regorus::Value, key: &str)
crates/openshell-supervisor-network/src/l7/mod.rs:374
↓ 2 callersMethodhas_session
(&self, sandbox_id: &str)
crates/openshell-server/src/supervisor_session.rs:200
↓ 2 callersMethodhealth
( &self, _request: Request<HealthRequest>, )
crates/openshell-server/src/grpc/mod.rs:197
↓ 2 callersFunctionhex_value
(byte: u8)
crates/openshell-supervisor-network/src/l7/rest.rs:987
↓ 2 callersFunctionhost_pattern_covers
(pattern: &str, host: &str)
crates/openshell-prover/src/credentials.rs:182
↓ 2 callersFunctionhost_patterns_overlap
(left: &str, right: &str)
crates/openshell-prover/src/credentials.rs:173
↓ 2 callersFunctionhttp_status_text
Reason phrase for an HTTP status code used on the inference proxy path. Covers the statuses produced by the router error mapping (400/401/403/500/ 50
crates/openshell-supervisor-network/src/l7/inference.rs:381
↓ 2 callersFunctionhttps_client_no_cert
Build an HTTPS client *without* a client cert (simulates Cloudflare tunnel).
crates/openshell-server/tests/edge_tunnel_auth.rs:138
↓ 2 callersFunctionimport_local_package_mtls_bundle
(name: &str)
crates/openshell-cli/src/run.rs:746
↓ 2 callersFunctioninfo_string
(info: &'a Value, keys: &[&str])
e2e/rust/tests/gpu/device_selection.rs:146
↓ 2 callersFunctioninject_guest_sandbox_token
(overlay_disk: &Path, token: &str)
crates/openshell-driver-vm/src/driver.rs:4671
↓ 2 callersFunctioninject_guest_tls_materials
( overlay_disk: &Path, materials: &GuestTlsMaterials, )
crates/openshell-driver-vm/src/driver.rs:4652
↓ 2 callersFunctioninsert_dynamic_credentials_for_profile
( dynamic_creds: &mut std::collections::HashMap<String, ProviderProfileCredential>, profile: &Provider
crates/openshell-server/src/grpc/provider.rs:544
↓ 2 callersFunctioninsert_sandbox
(state: &Arc<ServerState>, sandbox_id: &str)
crates/openshell-server/src/grpc/auth_rpc.rs:195
↓ 2 callersMethodinspects_messages
(self)
crates/openshell-supervisor-network/src/l7/relay.rs:85
↓ 2 callersFunctioninstall_fake_forward_process_helper
(dir: &TempDir)
crates/openshell-cli/tests/sandbox_create_lifecycle_integration.rs:738
← previousnext →1,701–1,800 of 9,017, ranked by callers