MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 7 callersMethodpublish
(&self, sandbox_id: &str, event: SandboxStreamEvent, tail_cap: usize)
crates/openshell-server/src/tracing_bus.rs:117
↓ 7 callersMethodpublish_docker_progress
( &self, sandbox_id: &str, reason: &str, message: String, mut metadata
crates/openshell-driver-docker/src/lib.rs:1191
↓ 7 callersMethodpublish_snapshot
(&self, sandbox: Sandbox)
crates/openshell-driver-vm/src/driver.rs:2940
↓ 7 callersMethodquery_endpoint_config_with_generation
Query L7 endpoint config and return the policy generation used for the query.
crates/openshell-supervisor-network/src/opa.rs:495
↓ 7 callersFunctionregister_vfio_new_id
Best-effort registration of a device's vendor:device ID with `vfio-pci`. Some kernel configurations require the ID to be pre-registered in `/sys/bus/
crates/openshell-vfio/src/bind.rs:32
↓ 7 callersMethodreload_from_proto_with_pid
Reload policy from a proto with symlink resolution. When `entrypoint_pid` is non-zero, binary paths that are symlinks inside the container filesystem
crates/openshell-supervisor-network/src/opa.rs:410
↓ 7 callersFunctionrequest
(method: &str, target: &str)
crates/openshell-supervisor-network/src/l7/graphql.rs:582
↓ 7 callersFunctionrequire_sandbox_identifier
Reject driver requests that arrive with neither a sandbox id nor a sandbox name. Without this guard, downstream label filters degenerate to "match eve
crates/openshell-driver-docker/src/lib.rs:2413
↓ 7 callersFunctionresolver
()
crates/openshell-supervisor-network/src/l7/websocket.rs:1140
↓ 7 callersMethodrewrite_websocket_text_placeholders
Rewrite credential placeholders inside a WebSocket text message. The message is mutated only after all placeholders resolve successfully. The return
crates/openshell-core/src/secrets.rs:369
↓ 7 callersFunctionrouter_error_to_http
Map router errors to HTTP status codes and sanitized messages. Returns generic, client-safe messages instead of verbatim internal details; the full e
crates/openshell-supervisor-network/src/proxy.rs:2050
↓ 7 callersFunctionrun_isolated
Run `openshell <args>` with an isolated (empty) config directory so it cannot discover any real gateway.
e2e/rust/tests/cli_smoke.rs:47
↓ 7 callersFunctionrun_server
()
crates/openshell-cli/tests/sandbox_name_fallback_integration.rs:573
↓ 7 callersFunctionrun_server
()
crates/openshell-cli/tests/ensure_providers_integration.rs:597
↓ 7 callersFunctionrun_with_config
( config_dir: &Path, system_dir: Option<&Path>, args: &[&str], )
e2e/rust/tests/cli_smoke.rs:17
↓ 7 callersFunctionsample_sandbox
()
crates/openshell-driver-vm/src/lifecycle.rs:945
↓ 7 callersFunctionsandbox_owner_reference
(pod: &Pod)
crates/openshell-server/src/auth/k8s_sa.rs:409
↓ 7 callersFunctionsandbox_state_dir
(root: &Path, sandbox_id: &str)
crates/openshell-driver-vm/src/driver.rs:4185
↓ 7 callersFunctionseed_sandbox_approval_mode
Test helper: pin the proposal approval mode for a sandbox via the settings model, mirroring what `openshell settings set <name> proposal_approval_mode
crates/openshell-server/src/grpc/policy.rs:5673
↓ 7 callersFunctionsession_user_and_home
Derive the session USER and HOME from the policy's `run_as_user`. For name-based identities, looks up the home directory via `/etc/passwd` (or defaul
crates/openshell-supervisor-process/src/ssh.rs:670
↓ 7 callersMethodset
(enabled: bool)
crates/openshell-core/src/proposals.rs:55
↓ 7 callersFunctionspawn_podman_stub
Spawn a Unix-socket HTTP stub that serves the given `responses` in order. Returns: - the socket path (already bound and listening) - a shared log of
crates/openshell-driver-podman/src/test_utils.rs:56
↓ 7 callersMethodstart
Start the gateway if it is not already running.
e2e/rust/src/harness/gateway.rs:60
↓ 7 callersFunctionstatus_response
(status: tonic::Status)
crates/openshell-server/src/multiplex.rs:530
↓ 7 callersFunctiontcp
(host: &str, port: u32)
crates/openshell-supervisor-process/src/supervisor_session.rs:670
↓ 7 callersFunctiontestdata_dir
()
crates/openshell-prover/src/lib.rs:86
↓ 7 callersFunctiontoken_cache_key
( provider_name: &str, token_endpoint: &str, jwt_svid_audience: &str, client_assertion_type: &
crates/openshell-supervisor-network/src/token_grant.rs:494
↓ 7 callersFunctiontoken_endpoint_once
( status: &str, body: &str, )
crates/openshell-supervisor-network/src/token_grant.rs:582
↓ 7 callersMethodupdate_draft_chunk_status
( &self, id: &str, status: &str, decided_at_ms: Option<i64>, rejection
crates/openshell-server/src/persistence/sqlite.rs:742
↓ 7 callersFunctionuser_gateway_dir
(name: &str)
crates/openshell-bootstrap/src/paths.rs:51
↓ 7 callersFunctionvalidate_label_selector
Validate a label selector string format. Format: "key1=value1,key2=value2" Each key and value is validated using `validate_label_key` and `validate_l
crates/openshell-server/src/grpc/validation.rs:540
↓ 7 callersFunctionvalidate_provider_fields
Validate field sizes on a `Provider` before persisting a new record.
crates/openshell-server/src/grpc/validation.rs:308
↓ 7 callersMethodvalidate_sandbox_create
Validate a sandbox before creation.
crates/openshell-driver-podman/src/driver.rs:353
↓ 7 callersFunctionvalidate_tcp_target
(target: &TcpRelayTarget)
crates/openshell-supervisor-process/src/supervisor_session.rs:639
↓ 7 callersMethodverify_or_cache_with_hasher
(&self, path: &Path, mut hash_file: F)
crates/openshell-supervisor-network/src/identity.rs:106
↓ 7 callersFunctionvfio_id_string
Read vendor and device IDs from sysfs and format as `"VVVV DDDD"` (no `0x` prefix).
crates/openshell-vfio/src/bind.rs:22
↓ 7 callersFunctionwith_tmp_xdg
(tmp: &Path, f: F)
crates/openshell-bootstrap/src/metadata.rs:483
↓ 6 callersFunction_default_policy
Build a sandbox policy with standard filesystem/process/landlock settings.
e2e/python/test_sandbox_providers.py:45
↓ 6 callersFunctionallocate_vsock_cid
()
crates/openshell-driver-vm/src/gpu.rs:235
↓ 6 callersFunctionapply
(policy: &SandboxPolicy, workdir: Option<&str>)
crates/openshell-supervisor-process/src/sandbox/mod.rs:21
↓ 6 callersFunctionapply_supervisor_sideload
( pod_template: &mut serde_json::Value, supervisor_image: &str, supervisor_image_pull_policy: &str
crates/openshell-driver-kubernetes/src/driver.rs:1124
↓ 6 callersFunctionassert_blocked_in_child
Fork a child, apply the given filter, invoke `syscall_nr`, and return the errno observed by the child. The child exits 0 if the syscall returned the e
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:579
↓ 6 callersMethodauthenticate
( &self, headers: &http::HeaderMap, _path: &str, )
crates/openshell-server/src/auth/sandbox_jwt.rs:206
↓ 6 callersMethodauthenticate
( &self, headers: &http::HeaderMap, path: &str, )
crates/openshell-server/src/auth/k8s_sa.rs:93
↓ 6 callersFunctionauthorize_peer_credentials
( peer: PeerCredentials, driver_uid: u32, gateway_pid: Option<u32>, )
crates/openshell-driver-vm/src/main.rs:396
↓ 6 callersFunctionbind_device_to_vfio
Bind a single PCI device to `vfio-pci`. Skips devices already bound.
crates/openshell-vfio/src/bind.rs:141
↓ 6 callersFunctionbuild_container_create_body_with_gpu_devices
( sandbox: &DriverSandbox, config: &DockerDriverRuntimeConfig, driver_config: &DockerSandboxDriver
crates/openshell-driver-docker/src/lib.rs:2313
↓ 6 callersFunctionbuild_container_spec_with_token_and_gpu_devices
( sandbox: &DriverSandbox, config: &PodmanComputeConfig, token_host_path: Option<&Path>, gpu_d
crates/openshell-driver-podman/src/container.rs:807
↓ 6 callersFunctionbuild_guest_environment
( sandbox: &Sandbox, config: &VmDriverConfig, endpoint_override: Option<&str>, )
crates/openshell-driver-vm/src/driver.rs:4073
↓ 6 callersFunctionbuild_model
Build a reachability model from the given inputs.
crates/openshell-prover/src/model.rs:386
↓ 6 callersMethodbuild_vm_launch_plan
( &self, sandbox_id: &str, needs_qemu: bool, is_gpu: bool, gpu_bdf: Op
crates/openshell-driver-vm/src/driver.rs:1530
↓ 6 callersFunctioncanonicalize_existing_file
(path: &Path, description: &str)
crates/openshell-driver-docker/src/lib.rs:3392
↓ 6 callersFunctionclassify_graphql_websocket_message
(text: &str)
crates/openshell-supervisor-network/src/l7/websocket.rs:654
↓ 6 callersFunctionclean_input
(value: str | None)
tasks/scripts/sync_docs_website.py:52
↓ 6 callersFunctioncleanup_sandbox_token_file
(sandbox_id: &str)
crates/openshell-driver-podman/src/driver.rs:126
↓ 6 callersMethodcommand
(&self)
e2e/rust/src/harness/container.rs:58
↓ 6 callersFunctioncreate_new_id_file
(sysfs: &SysfsRoot)
crates/openshell-vfio/src/test_support.rs:62
↓ 6 callersFunctioncreate_requests
(server: &TestServer)
crates/openshell-cli/tests/sandbox_create_lifecycle_integration.rs:1081
↓ 6 callersFunctioncredential
(auth_style: &str, header_name: &str)
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:516
↓ 6 callersFunctiondelete_provider_record
(store: &Store, name: &str)
crates/openshell-server/src/grpc/provider.rs:284
↓ 6 callersMethoddeny_with_redacted_target
Deny with a redacted target for the response body.
crates/openshell-supervisor-network/src/l7/rest.rs:117
↓ 6 callersFunctiondraft_chunk_payload_from_record
(chunk: &DraftChunkRecord)
crates/openshell-server/src/policy_store.rs:342
↓ 6 callersFunctiondraw
(frame: &mut Frame<'_>, app: &mut App)
crates/openshell-tui/src/ui/mod.rs:26
↓ 6 callersFunctiondraw_empty_message
Render an empty-state message inside a bordered panel. Calculates an inset [`Rect`] that clears the panel border and renders `text` with the given `s
crates/openshell-tui/src/ui/mod.rs:492
↓ 6 callersFunctione2e_driver
()
e2e/rust/src/harness/container.rs:22
↓ 6 callersFunctionedge_token_path
Path to the stored edge auth token for a gateway.
crates/openshell-bootstrap/src/edge_token.rs:16
↓ 6 callersFunctionemit_sandbox_policy_update_success
()
crates/openshell-server/src/grpc/policy.rs:96
↓ 6 callersFunctionenable_providers_v2
(ts: &TestServer)
crates/openshell-cli/tests/provider_commands_integration.rs:1041
↓ 6 callersFunctionensure_existing
(path: Path, label: str)
tasks/scripts/sync_docs_website.py:82
↓ 6 callersFunctionensure_parent_dir_restricted
Ensure the parent directory of `path` exists with restricted permissions. Equivalent to `create_dir_restricted(path.parent())` but handles the case w
crates/openshell-core/src/paths.rs:114
↓ 6 callersFunctionensure_sandbox_process_identity
Ensure the policy has `run_as_user: sandbox` and `run_as_group: sandbox`. If the process section is missing, or either field is empty, this fills in
crates/openshell-policy/src/lib.rs:1075
↓ 6 callersFunctionensure_sandbox_scope
(principal: &Principal, claimed_sandbox_id: &str)
crates/openshell-server/src/auth/guard.rs:30
↓ 6 callersFunctionenv_lock
()
crates/openshell-core/src/image.rs:56
↓ 6 callersFunctionerror_payload
(error: &str, detail: String)
crates/openshell-supervisor-network/src/policy_local.rs:1238
↓ 6 callersFunctionevaluate_l7_request_once
( engine: &TunnelPolicyEngine, ctx: &L7EvalContext, request: &L7RequestInfo, )
crates/openshell-supervisor-network/src/l7/relay.rs:1595
↓ 6 callersFunctionextract_credentials_from_opencode_config
Extract API key credentials from the contents of an opencode config file. opencode stores per-provider API keys at `provider.<name>.options.apiKey`.
crates/openshell-providers/src/providers/opencode.rs:37
↓ 6 callersMethodextract_scopes
Extract scopes from the JWT claims using a dot-separated path. Handles two formats: - Space-delimited string: `"openid sandbox:read sandbox:write"` (
crates/openshell-server/src/auth/oidc.rs:142
↓ 6 callersFunctionextract_version
Extract the policy version number from `policy get` output. Uses the shared `extract_field` helper to find `Version: <n>` or `Revision: <n>` in CLI t
e2e/rust/tests/live_policy_update.rs:164
↓ 6 callersMethodfind_managed_container_summary
( &self, sandbox_id: &str, sandbox_name: &str, )
crates/openshell-driver-docker/src/lib.rs:1267
↓ 6 callersFunctionfind_trusted_binary
(name: &str, paths: &'a [&str])
crates/openshell-supervisor-process/src/netns/mod.rs:609
↓ 6 callersMethodget_or_generate
Get or generate a leaf certificate for the given hostname.
crates/openshell-supervisor-network/src/l7/tls.rs:94
↓ 6 callersFunctionget_provider_record
(store: &Store, name: &str)
crates/openshell-server/src/grpc/provider.rs:147
↓ 6 callersMethodget_sandbox_config
( &self, _request: tonic::Request<openshell_core::proto::GetSandboxConfigRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:109
↓ 6 callersFunctiongpu_resources
(count: Option<u32>)
crates/openshell-driver-podman/src/driver.rs:894
↓ 6 callersFunctiongraphql_error
(message: impl Into<String>)
crates/openshell-supervisor-network/src/l7/websocket.rs:720
↓ 6 callersFunctionhandle_approve_draft_chunk
( state: &Arc<ServerState>, request: Request<ApproveDraftChunkRequest>, )
crates/openshell-server/src/grpc/policy.rs:2520
↓ 6 callersFunctionhandle_delete_provider_profile
( state: &Arc<ServerState>, request: Request<DeleteProviderProfileRequest>, )
crates/openshell-server/src/grpc/provider.rs:1429
↓ 6 callersFunctionhandle_get_sandbox_config
( state: &Arc<ServerState>, request: Request<GetSandboxConfigRequest>, )
crates/openshell-server/src/grpc/policy.rs:1091
↓ 6 callersFunctionhandle_refresh_sandbox_token
( state: &Arc<ServerState>, request: Request<RefreshSandboxTokenRequest>, )
crates/openshell-server/src/grpc/auth_rpc.rs:79
↓ 6 callersFunctionhas_errors
(diagnostics: &[ProfileValidationDiagnostic])
crates/openshell-server/src/grpc/provider.rs:1850
↓ 6 callersFunctionheader_value_contains_token
(value: &str, expected: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:1450
↓ 6 callersFunctionhttp_client
(insecure: bool)
crates/openshell-cli/src/oidc_auth.rs:69
↓ 6 callersFunctioninit_git_repo
(path: &Path)
crates/openshell-cli/src/run.rs:8597
↓ 6 callersMethodinject_env
(&self, provider: &Provider, env: &mut HashMap<String, String>)
crates/openshell-providers/src/providers/google_cloud.rs:33
↓ 6 callersFunctioninject_token_grant_header
( raw_header: &[u8], credential: &ProviderProfileCredential, access_token: &str, )
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:264
↓ 6 callersMethodinspect_container
Inspect a container by name or ID.
crates/openshell-driver-podman/src/client.rs:460
↓ 6 callersFunctioninspect_graphql_request
( client: &mut C, request: &mut L7Request, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/graphql.rs:57
↓ 6 callersMethodiommu_group
(&self, bdf: &str)
crates/openshell-vfio/src/sysfs.rs:62
↓ 6 callersFunctionis_valid_sandbox_identity
Validate whether a process identity field value is acceptable. Accepts either the literal `"sandbox"` or a numeric UID/GID parsed as `u32` within the
crates/openshell-policy/src/lib.rs:946
↓ 6 callersFunctionjsonrpc_log_message
( decision: &str, http_method: &str, endpoint: &str, info: &crate::l7::jsonrpc::JsonRpcRequest
crates/openshell-supervisor-network/src/l7/relay.rs:1422
← previousnext →501–600 of 9,017, ranked by callers