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
↓ 4 callers
Method
release_subnet
(&self, sandbox_id: &str)
crates/openshell-driver-vm/src/driver.rs:1335
↓ 4 callers
Method
reload
Re-read certificates from the same paths used at construction and atomically swap the active config. Returns `Ok(())` when the new config was built a
crates/openshell-server/src/tls.rs:84
↓ 4 callers
Function
remove_edge_token
Remove a stored edge authentication token.
crates/openshell-bootstrap/src/edge_token.rs:72
↓ 4 callers
Method
remove_sandbox
(&self, sandbox_id: &str)
crates/openshell-server/src/sandbox_index.rs:47
↓ 4 callers
Function
render_connect_page
Render the styled confirmation page with the edge auth token embedded. The page displays the confirmation code so the user can verify it matches thei
crates/openshell-server/src/auth/http.rs:163
↓ 4 callers
Function
require_no_global_policy
(state: &ServerState)
crates/openshell-server/src/grpc/policy.rs:3328
↓ 4 callers
Function
resolve_aux_listener
Resolve the bind address for an auxiliary listener (health / metrics). The precedence is: 1. CLI flag or `OPENSHELL_*` env var explicitly set on the
crates/openshell-server/src/cli.rs:542
↓ 4 callers
Function
resolve_from
Classify the `--from` value into an image reference or a Dockerfile that needs building. Resolution order: 1. Existing file whose name contains "Dock
crates/openshell-cli/src/run.rs:2394
↓ 4 callers
Function
resolve_gateway_name
(gateway_flag: &Option<String>)
crates/openshell-cli/src/main.rs:143
↓ 4 callers
Method
resolve_launch_plan_backend
( &self, sandbox_id: &str, is_gpu: bool, gpu_bdf: Option<String>, plan
crates/openshell-driver-vm/src/driver.rs:1377
↓ 4 callers
Method
resolve_sandbox_gid
( &self, resolved_uid: u32, _namespace_annotations: Option<&std::collections::BTreeMap
crates/openshell-driver-kubernetes/src/config.rs:363
↓ 4 callers
Function
resolve_socket_addrs
( host: &str, port: u16, entrypoint_pid: u32, )
crates/openshell-supervisor-network/src/proxy.rs:2476
↓ 4 callers
Function
restrict_db_file_permissions
Restrict the on-disk `SQLite` database file (and its WAL/SHM sidecars, when present) to owner-only read/write (`0o600`). In WAL mode, `SQLite` keeps
crates/openshell-server/src/persistence/sqlite.rs:874
↓ 4 callers
Function
rewrite_passwd_at
(path: &Path, uid: &str, gid: &str)
crates/openshell-supervisor-process/src/process.rs:1027
↓ 4 callers
Function
rewrite_user_facing_conditions
(status: &mut Option<SandboxStatus>, spec: Option<&SandboxSpec>)
crates/openshell-server/src/compute/mod.rs:1952
↓ 4 callers
Function
run_debugfs
(image_path: &Path, command: &str)
crates/openshell-driver-vm/src/rootfs.rs:706
↓ 4 callers
Function
run_echo_supervisor
Mock supervisor that opens a `RelayStream`, sends `Init`, then echoes every data frame it receives. Returns when the gateway drops the stream or when
crates/openshell-server/tests/supervisor_relay_integration.rs:476
↓ 4 callers
Function
run_gate
Run a single gate with retry loop. Returns True on success.
examples/policy-advisor/ctf.py:325
↓ 4 callers
Function
run_ip_netns
Run an `ip` command inside a network namespace via `nsenter --net=`. We use `nsenter` instead of `ip netns exec` because `ip netns exec` remounts `/s
crates/openshell-supervisor-process/src/netns/mod.rs:503
↓ 4 callers
Function
run_server
( server_cert: String, server_key: String, ca_cert: String, )
crates/openshell-cli/tests/mtls_integration.rs:481
↓ 4 callers
Function
run_with_config
Run `openshell <args>` with a given tmpdir as config (for persisting state across multiple commands). Returns (combined stdout+stderr, exit code).
e2e/rust/tests/cf_auth_smoke.rs:42
↓ 4 callers
Function
sandbox_policy_get_to_writer
( server: &str, name: &str, version: u32, view: PolicyGetView, output: &str, tls: &Tls
crates/openshell-cli/src/run.rs:6974
↓ 4 callers
Function
sandbox_policy_to_json_value
Convert a proto sandbox policy into the canonical policy JSON representation. The shape mirrors the YAML schema used by [`serialize_sandbox_policy`],
crates/openshell-policy/src/lib.rs:983
↓ 4 callers
Function
sandbox_principal
()
crates/openshell-server/src/multiplex.rs:1428
↓ 4 callers
Function
sandbox_provider_attach
( server: &str, name: &str, provider: &str, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:3460
↓ 4 callers
Function
sandbox_sync_up
Push a local path (file or directory) into a sandbox using tar-over-SSH. When `sandbox_path` is `None`, files are uploaded to the sandbox user's home
crates/openshell-cli/src/ssh.rs:976
↓ 4 callers
Function
sandbox_template_to_k8s_with_gpu_requirements
( template: &SandboxTemplate, gpu_requirements: Option<&GpuResourceRequirements>, spec_environment
crates/openshell-driver-kubernetes/src/driver.rs:1507
↓ 4 callers
Function
sandboxes_root_dir
(root: &Path)
crates/openshell-driver-vm/src/driver.rs:4165
↓ 4 callers
Function
scan_sandboxes
Iterate over every `Sandbox` in the store and collect items produced by `f`. `f` receives each decoded sandbox; returning `Some(T)` includes the valu
crates/openshell-server/src/grpc/provider.rs:319
↓ 4 callers
Method
scroll_logs
Scroll logs by a delta (positive = down, negative = up).
crates/openshell-tui/src/app.rs:1959
↓ 4 callers
Function
select_l7_config_for_path
( configs: &'a [L7ConfigSnapshot], path: &str, )
crates/openshell-supervisor-network/src/proxy.rs:2177
↓ 4 callers
Function
send_plain_http
(addr: SocketAddr, request: String)
crates/openshell-server/src/lib.rs:1005
↓ 4 callers
Function
send_raw
(raw: &[u8])
crates/openshell-supervisor-network/tests/sigv4_localstack.rs:30
↓ 4 callers
Method
sender_for
(&self, sandbox_id: &str)
crates/openshell-server/src/tracing_bus.rs:62
↓ 4 callers
Method
serve
Serve a connection, routing to gRPC or HTTP based on content-type.
crates/openshell-server/src/multiplex.rs:139
↓ 4 callers
Function
service_status_error
(action: &str, required_scope: &str, status: Status)
crates/openshell-cli/src/run.rs:4257
↓ 4 callers
Method
set
Store a token with expiration time.
crates/openshell-supervisor-network/src/token_grant.rs:116
↓ 4 callers
Function
set_rootfs_image_file_mode
( image_path: &Path, guest_path: &str, mode: u32, )
crates/openshell-driver-vm/src/rootfs.rs:185
↓ 4 callers
Function
set_user_namespaces
(enable: bool)
e2e/rust/tests/user_namespaces.rs:43
↓ 4 callers
Function
short_id
(id: &str)
crates/openshell-driver-podman/src/container.rs:157
↓ 4 callers
Function
sibling_temp_dir
(dir: &Path)
crates/openshell-server/src/certgen.rs:769
↓ 4 callers
Function
signed_request
(raw: &str, host: &str, service: &str)
crates/openshell-supervisor-network/tests/sigv4_localstack.rs:57
↓ 4 callers
Function
sqlite_sidecar_paths
Compute the WAL/SHM sidecar paths `SQLite` derives from a main database file (e.g. `foo.db` -> [`foo.db-wal`, `foo.db-shm`]).
crates/openshell-server/src/persistence/sqlite.rs:888
↓ 4 callers
Function
ssh_socket_path
()
crates/openshell-supervisor-process/src/supervisor_session.rs:780
↓ 4 callers
Method
start
(response_body: &str)
e2e/rust/tests/host_gateway_alias.rs:52
↓ 4 callers
Function
start_auth_server
(bind_addr: SocketAddr)
crates/openshell-server/tests/auth_endpoint_integration.rs:168
↓ 4 callers
Method
start_container
Start a container by name or ID.
crates/openshell-driver-podman/src/client.rs:414
↓ 4 callers
Function
start_http_server_with_middleware
()
crates/openshell-server/src/multiplex.rs:839
↓ 4 callers
Function
start_tls_gateway_listener
( bind_addr: &str, enable_loopback_service_http: bool, )
crates/openshell-server/src/lib.rs:977
↓ 4 callers
Method
stop
Stop the gateway if it is running.
e2e/rust/src/harness/gateway.rs:101
↓ 4 callers
Method
stop_container
Stop a container with a grace period in seconds.
crates/openshell-driver-podman/src/client.rs:425
↓ 4 callers
Function
stop_listener
(shutdown: watch::Sender<bool>, handle: tokio::task::JoinHandle<()>)
crates/openshell-server/src/lib.rs:1045
↓ 4 callers
Function
stored_profile_resource_version
(stored: &StoredProviderProfile)
crates/openshell-server/src/grpc/provider.rs:1833
↓ 4 callers
Function
struct_to_json_object
( config: &prost_types::Struct, )
crates/openshell-core/src/proto_struct.rs:10
↓ 4 callers
Function
summary_container_target
(summary: &ContainerSummary)
crates/openshell-driver-docker/src/lib.rs:2868
↓ 4 callers
Function
supervisor_cache_path_with_base
(base: &Path, digest: &str)
crates/openshell-driver-docker/src/lib.rs:3376
↓ 4 callers
Method
take_sender
(&self)
crates/openshell-cli/src/oidc_auth.rs:337
↓ 4 callers
Function
teardown_table_name
Return the nftables table name for a TAP device.
crates/openshell-driver-vm/src/nft_ruleset.rs:13
↓ 4 callers
Function
test_driver
(socket_path: PathBuf)
crates/openshell-driver-podman/src/driver.rs:1264
↓ 4 callers
Function
test_env_with
( fake_ssh_dir: &TempDir, xdg_dir: &TempDir, extra: &[(&'static str, String)], )
crates/openshell-cli/tests/sandbox_create_lifecycle_integration.rs:1051
↓ 4 callers
Function
test_provider_with_credential_key
( name: &str, provider_type: &str, credential_key: &str, )
crates/openshell-server/src/grpc/sandbox.rs:2244
↓ 4 callers
Function
test_runtime_with_resume
( driver: SharedComputeDriver, startup_resume: Option<Arc<dyn StartupResume>>, )
crates/openshell-server/src/compute/mod.rs:2347
↓ 4 callers
Function
text
(res, status, body)
examples/spiffe-token-grant-demo/k8s/protected-service.js:74
↓ 4 callers
Function
tls_config
()
crates/openshell-server/src/service_routing.rs:826
↓ 4 callers
Function
tls_env_vars
( ca_cert_path: &Path, combined_bundle_path: &Path, )
crates/openshell-supervisor-process/src/child_env.rs:24
↓ 4 callers
Method
tls_paths
(&self)
crates/openshell-driver-vm/src/driver.rs:304
↓ 4 callers
Function
try_record_activity
Non-blocking emit. Drops the event if the queue is full. Returns whether the event was enqueued.
crates/openshell-core/src/activity.rs:36
↓ 4 callers
Function
unique_bucket
()
crates/openshell-supervisor-network/tests/sigv4_localstack.rs:21
↓ 4 callers
Function
unique_query_value
( params: &HashMap<String, Vec<String>>, key: &str, )
crates/openshell-supervisor-network/src/l7/graphql.rs:325
↓ 4 callers
Function
unpack_into
(archive_bytes: &[u8], staging: &Path)
crates/openshell-cli/src/ssh.rs:2036
↓ 4 callers
Function
unregister
Remove `pid` from the supervised-child set. Non-positive or out-of-range values are silently ignored.
crates/openshell-supervisor-process/src/managed_children.rs:35
↓ 4 callers
Method
update_config
( &self, request: Request<UpdateConfigRequest>, )
crates/openshell-server/src/grpc/mod.rs:507
↓ 4 callers
Function
user_principal
(subject: &str)
crates/openshell-server/src/auth/authenticator.rs:140
↓ 4 callers
Function
validate_absolute_mount_source
Validate a bind mount source as an absolute host path.
crates/openshell-core/src/driver_mounts.rs:50
↓ 4 callers
Function
validate_capability_bounding_set_clear
( clear_result: capctl::Result<()>, remaining: capctl::caps::CapSet, clear_unknown: impl FnOnce()
crates/openshell-supervisor-process/src/process.rs:171
↓ 4 callers
Function
validate_declared_endpoint_resolved_addrs
( host: &str, port: u16, addrs: &[SocketAddr], )
crates/openshell-supervisor-network/src/proxy.rs:2569
↓ 4 callers
Function
validate_guest_init_dropins
(dropins: &[GuestInitDropin])
crates/openshell-driver-vm/src/driver.rs:4747
↓ 4 callers
Function
validate_merge_operations_for_server
(operations: &[PolicyMergeOp])
crates/openshell-server/src/grpc/policy.rs:3471
↓ 4 callers
Function
validate_no_reserved_provider_policy_keys
Validate that user-authored policy does not use provider-derived rule keys.
crates/openshell-server/src/grpc/validation.rs:634
↓ 4 callers
Function
validate_optional_endpoint_name
(field: &str, value: &str, max_len: usize)
crates/openshell-server/src/grpc/service.rs:235
↓ 4 callers
Function
validate_provider_environment_keys_unique
( store: &Store, provider_names: &[String], )
crates/openshell-server/src/grpc/provider.rs:817
↓ 4 callers
Function
validate_sandbox_owner_reference
( owner: &SandboxOwnerReference, sandbox_id: &str, sandbox_cr: &DynamicObject, )
crates/openshell-server/src/auth/k8s_sa.rs:475
↓ 4 callers
Function
validate_ssh_session_response
Validate a `CreateSshSessionResponse` before any of its fields are used to build a shell command or config file. This is a belt-and-suspenders pair t
crates/openshell-core/src/forward.rs:854
↓ 4 callers
Function
validated_gateway_name
(name: &str)
crates/openshell-bootstrap/src/paths.rs:41
↓ 4 callers
Method
with_desc
(mut self, desc: &str)
crates/openshell-ocsf/src/objects/finding.rs:35
↓ 4 callers
Function
with_isolated_cli_env
(tmp: &std::path::Path, f: F)
crates/openshell-cli/src/completers.rs:162
↓ 4 callers
Method
with_loopback_service_http
(mut self, enabled: bool)
crates/openshell-core/src/config.rs:704
↓ 4 callers
Function
xdg_config_dir
()
crates/openshell-cli/src/tls.rs:162
↓ 4 callers
Function
xdg_config_dir
Resolve the XDG config base directory. Returns `$XDG_CONFIG_HOME` if set, otherwise `$HOME/.config`.
crates/openshell-core/src/paths.rs:19
↓ 3 callers
Function
_asset_url
(release_tag: str, filename: str)
tasks/scripts/release.py:223
↓ 3 callers
Function
_grpc_channel
Create a gRPC channel to the gateway with mTLS transport.
e2e/python/oidc/oidc_auth_test.py:130
↓ 3 callers
Method
_is_fresh
(bundle: dict)
python/openshell/sandbox.py:1106
↓ 3 callers
Function
_required_checksum
( checksums: dict[str, str], filename: str, checksum_path: Path, )
tasks/scripts/release.py:212
↓ 3 callers
Function
_sandbox_ref
(sandbox: openshell_pb2.Sandbox)
python/openshell/sandbox.py:807
↓ 3 callers
Function
_try_write
Return a closure that attempts to write a file and returns the result.
e2e/python/test_sandbox_landlock.py:67
↓ 3 callers
Function
_xdg_config_home
()
e2e/python/test_security_tls.py:31
↓ 3 callers
Function
_xdg_config_home
()
e2e/python/oidc/oidc_auth_test.py:31
↓ 3 callers
Function
active_baseline_enrichment_paths
(include_proxy: bool)
crates/openshell-sandbox/src/lib.rs:811
↓ 3 callers
Method
active_label
Human-readable label for an in-progress step (shown on the spinner).
crates/openshell-cli/src/run.rs:235
↓ 3 callers
Method
adc_credential
(&self)
crates/openshell-providers/src/profiles.rs:403
← previous
next →
1,001–1,100 of 9,017, ranked by callers