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
↓ 7 callers
Method
publish
(&self, sandbox_id: &str, event: SandboxStreamEvent, tail_cap: usize)
crates/openshell-server/src/tracing_bus.rs:117
↓ 7 callers
Method
publish_docker_progress
( &self, sandbox_id: &str, reason: &str, message: String, mut metadata
crates/openshell-driver-docker/src/lib.rs:1191
↓ 7 callers
Method
publish_snapshot
(&self, sandbox: Sandbox)
crates/openshell-driver-vm/src/driver.rs:2940
↓ 7 callers
Method
query_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 callers
Function
register_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 callers
Method
reload_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 callers
Function
request
(method: &str, target: &str)
crates/openshell-supervisor-network/src/l7/graphql.rs:582
↓ 7 callers
Function
require_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 callers
Function
resolver
()
crates/openshell-supervisor-network/src/l7/websocket.rs:1140
↓ 7 callers
Method
rewrite_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 callers
Function
router_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 callers
Function
run_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 callers
Function
run_server
()
crates/openshell-cli/tests/sandbox_name_fallback_integration.rs:573
↓ 7 callers
Function
run_server
()
crates/openshell-cli/tests/ensure_providers_integration.rs:597
↓ 7 callers
Function
run_with_config
( config_dir: &Path, system_dir: Option<&Path>, args: &[&str], )
e2e/rust/tests/cli_smoke.rs:17
↓ 7 callers
Function
sample_sandbox
()
crates/openshell-driver-vm/src/lifecycle.rs:945
↓ 7 callers
Function
sandbox_owner_reference
(pod: &Pod)
crates/openshell-server/src/auth/k8s_sa.rs:409
↓ 7 callers
Function
sandbox_state_dir
(root: &Path, sandbox_id: &str)
crates/openshell-driver-vm/src/driver.rs:4185
↓ 7 callers
Function
seed_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 callers
Function
session_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 callers
Method
set
(enabled: bool)
crates/openshell-core/src/proposals.rs:55
↓ 7 callers
Function
spawn_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 callers
Method
start
Start the gateway if it is not already running.
e2e/rust/src/harness/gateway.rs:60
↓ 7 callers
Function
status_response
(status: tonic::Status)
crates/openshell-server/src/multiplex.rs:530
↓ 7 callers
Function
tcp
(host: &str, port: u32)
crates/openshell-supervisor-process/src/supervisor_session.rs:670
↓ 7 callers
Function
testdata_dir
()
crates/openshell-prover/src/lib.rs:86
↓ 7 callers
Function
token_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 callers
Function
token_endpoint_once
( status: &str, body: &str, )
crates/openshell-supervisor-network/src/token_grant.rs:582
↓ 7 callers
Method
update_draft_chunk_status
( &self, id: &str, status: &str, decided_at_ms: Option<i64>, rejection
crates/openshell-server/src/persistence/sqlite.rs:742
↓ 7 callers
Function
user_gateway_dir
(name: &str)
crates/openshell-bootstrap/src/paths.rs:51
↓ 7 callers
Function
validate_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 callers
Function
validate_provider_fields
Validate field sizes on a `Provider` before persisting a new record.
crates/openshell-server/src/grpc/validation.rs:308
↓ 7 callers
Method
validate_sandbox_create
Validate a sandbox before creation.
crates/openshell-driver-podman/src/driver.rs:353
↓ 7 callers
Function
validate_tcp_target
(target: &TcpRelayTarget)
crates/openshell-supervisor-process/src/supervisor_session.rs:639
↓ 7 callers
Method
verify_or_cache_with_hasher
(&self, path: &Path, mut hash_file: F)
crates/openshell-supervisor-network/src/identity.rs:106
↓ 7 callers
Function
vfio_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 callers
Function
with_tmp_xdg
(tmp: &Path, f: F)
crates/openshell-bootstrap/src/metadata.rs:483
↓ 6 callers
Function
_default_policy
Build a sandbox policy with standard filesystem/process/landlock settings.
e2e/python/test_sandbox_providers.py:45
↓ 6 callers
Function
allocate_vsock_cid
()
crates/openshell-driver-vm/src/gpu.rs:235
↓ 6 callers
Function
apply
(policy: &SandboxPolicy, workdir: Option<&str>)
crates/openshell-supervisor-process/src/sandbox/mod.rs:21
↓ 6 callers
Function
apply_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 callers
Function
assert_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 callers
Method
authenticate
( &self, headers: &http::HeaderMap, _path: &str, )
crates/openshell-server/src/auth/sandbox_jwt.rs:206
↓ 6 callers
Method
authenticate
( &self, headers: &http::HeaderMap, path: &str, )
crates/openshell-server/src/auth/k8s_sa.rs:93
↓ 6 callers
Function
authorize_peer_credentials
( peer: PeerCredentials, driver_uid: u32, gateway_pid: Option<u32>, )
crates/openshell-driver-vm/src/main.rs:396
↓ 6 callers
Function
bind_device_to_vfio
Bind a single PCI device to `vfio-pci`. Skips devices already bound.
crates/openshell-vfio/src/bind.rs:141
↓ 6 callers
Function
build_container_create_body_with_gpu_devices
( sandbox: &DriverSandbox, config: &DockerDriverRuntimeConfig, driver_config: &DockerSandboxDriver
crates/openshell-driver-docker/src/lib.rs:2313
↓ 6 callers
Function
build_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 callers
Function
build_guest_environment
( sandbox: &Sandbox, config: &VmDriverConfig, endpoint_override: Option<&str>, )
crates/openshell-driver-vm/src/driver.rs:4073
↓ 6 callers
Function
build_model
Build a reachability model from the given inputs.
crates/openshell-prover/src/model.rs:386
↓ 6 callers
Method
build_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 callers
Function
canonicalize_existing_file
(path: &Path, description: &str)
crates/openshell-driver-docker/src/lib.rs:3392
↓ 6 callers
Function
classify_graphql_websocket_message
(text: &str)
crates/openshell-supervisor-network/src/l7/websocket.rs:654
↓ 6 callers
Function
clean_input
(value: str | None)
tasks/scripts/sync_docs_website.py:52
↓ 6 callers
Function
cleanup_sandbox_token_file
(sandbox_id: &str)
crates/openshell-driver-podman/src/driver.rs:126
↓ 6 callers
Method
command
(&self)
e2e/rust/src/harness/container.rs:58
↓ 6 callers
Function
create_new_id_file
(sysfs: &SysfsRoot)
crates/openshell-vfio/src/test_support.rs:62
↓ 6 callers
Function
create_requests
(server: &TestServer)
crates/openshell-cli/tests/sandbox_create_lifecycle_integration.rs:1081
↓ 6 callers
Function
credential
(auth_style: &str, header_name: &str)
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:516
↓ 6 callers
Function
delete_provider_record
(store: &Store, name: &str)
crates/openshell-server/src/grpc/provider.rs:284
↓ 6 callers
Method
deny_with_redacted_target
Deny with a redacted target for the response body.
crates/openshell-supervisor-network/src/l7/rest.rs:117
↓ 6 callers
Function
draft_chunk_payload_from_record
(chunk: &DraftChunkRecord)
crates/openshell-server/src/policy_store.rs:342
↓ 6 callers
Function
draw
(frame: &mut Frame<'_>, app: &mut App)
crates/openshell-tui/src/ui/mod.rs:26
↓ 6 callers
Function
draw_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 callers
Function
e2e_driver
()
e2e/rust/src/harness/container.rs:22
↓ 6 callers
Function
edge_token_path
Path to the stored edge auth token for a gateway.
crates/openshell-bootstrap/src/edge_token.rs:16
↓ 6 callers
Function
emit_sandbox_policy_update_success
()
crates/openshell-server/src/grpc/policy.rs:96
↓ 6 callers
Function
enable_providers_v2
(ts: &TestServer)
crates/openshell-cli/tests/provider_commands_integration.rs:1041
↓ 6 callers
Function
ensure_existing
(path: Path, label: str)
tasks/scripts/sync_docs_website.py:82
↓ 6 callers
Function
ensure_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 callers
Function
ensure_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 callers
Function
ensure_sandbox_scope
(principal: &Principal, claimed_sandbox_id: &str)
crates/openshell-server/src/auth/guard.rs:30
↓ 6 callers
Function
env_lock
()
crates/openshell-core/src/image.rs:56
↓ 6 callers
Function
error_payload
(error: &str, detail: String)
crates/openshell-supervisor-network/src/policy_local.rs:1238
↓ 6 callers
Function
evaluate_l7_request_once
( engine: &TunnelPolicyEngine, ctx: &L7EvalContext, request: &L7RequestInfo, )
crates/openshell-supervisor-network/src/l7/relay.rs:1595
↓ 6 callers
Function
extract_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 callers
Method
extract_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 callers
Function
extract_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 callers
Method
find_managed_container_summary
( &self, sandbox_id: &str, sandbox_name: &str, )
crates/openshell-driver-docker/src/lib.rs:1267
↓ 6 callers
Function
find_trusted_binary
(name: &str, paths: &'a [&str])
crates/openshell-supervisor-process/src/netns/mod.rs:609
↓ 6 callers
Method
get_or_generate
Get or generate a leaf certificate for the given hostname.
crates/openshell-supervisor-network/src/l7/tls.rs:94
↓ 6 callers
Function
get_provider_record
(store: &Store, name: &str)
crates/openshell-server/src/grpc/provider.rs:147
↓ 6 callers
Method
get_sandbox_config
( &self, _request: tonic::Request<openshell_core::proto::GetSandboxConfigRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:109
↓ 6 callers
Function
gpu_resources
(count: Option<u32>)
crates/openshell-driver-podman/src/driver.rs:894
↓ 6 callers
Function
graphql_error
(message: impl Into<String>)
crates/openshell-supervisor-network/src/l7/websocket.rs:720
↓ 6 callers
Function
handle_approve_draft_chunk
( state: &Arc<ServerState>, request: Request<ApproveDraftChunkRequest>, )
crates/openshell-server/src/grpc/policy.rs:2520
↓ 6 callers
Function
handle_delete_provider_profile
( state: &Arc<ServerState>, request: Request<DeleteProviderProfileRequest>, )
crates/openshell-server/src/grpc/provider.rs:1429
↓ 6 callers
Function
handle_get_sandbox_config
( state: &Arc<ServerState>, request: Request<GetSandboxConfigRequest>, )
crates/openshell-server/src/grpc/policy.rs:1091
↓ 6 callers
Function
handle_refresh_sandbox_token
( state: &Arc<ServerState>, request: Request<RefreshSandboxTokenRequest>, )
crates/openshell-server/src/grpc/auth_rpc.rs:79
↓ 6 callers
Function
has_errors
(diagnostics: &[ProfileValidationDiagnostic])
crates/openshell-server/src/grpc/provider.rs:1850
↓ 6 callers
Function
header_value_contains_token
(value: &str, expected: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:1450
↓ 6 callers
Function
http_client
(insecure: bool)
crates/openshell-cli/src/oidc_auth.rs:69
↓ 6 callers
Function
init_git_repo
(path: &Path)
crates/openshell-cli/src/run.rs:8597
↓ 6 callers
Method
inject_env
(&self, provider: &Provider, env: &mut HashMap<String, String>)
crates/openshell-providers/src/providers/google_cloud.rs:33
↓ 6 callers
Function
inject_token_grant_header
( raw_header: &[u8], credential: &ProviderProfileCredential, access_token: &str, )
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:264
↓ 6 callers
Method
inspect_container
Inspect a container by name or ID.
crates/openshell-driver-podman/src/client.rs:460
↓ 6 callers
Function
inspect_graphql_request
( client: &mut C, request: &mut L7Request, max_body_bytes: usize, )
crates/openshell-supervisor-network/src/l7/graphql.rs:57
↓ 6 callers
Method
iommu_group
(&self, bdf: &str)
crates/openshell-vfio/src/sysfs.rs:62
↓ 6 callers
Function
is_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 callers
Function
jsonrpc_log_message
( decision: &str, http_method: &str, endpoint: &str, info: &crate::l7::jsonrpc::JsonRpcRequest
crates/openshell-supervisor-network/src/l7/relay.rs:1422
← previous
next →
501–600 of 9,017, ranked by callers