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
↓ 6 callers
Function
load_certs
Load certificates from a PEM file.
crates/openshell-server/src/tls.rs:299
↓ 6 callers
Function
load_embedded_binary_registry
Load binary registry from the compile-time embedded registry data.
crates/openshell-prover/src/registry.rs:236
↓ 6 callers
Function
make_provider
(config: HashMap<String, String>)
crates/openshell-providers/src/providers/google_cloud.rs:76
↓ 6 callers
Function
material_value
(material: &HashMap<String, String>, keys: &[&str])
crates/openshell-server/src/provider_refresh.rs:668
↓ 6 callers
Function
merge_chunk_into_policy
( store: &Store, sandbox_id: &str, chunk: &DraftChunkRecord, )
crates/openshell-server/src/grpc/policy.rs:3592
↓ 6 callers
Function
merge_effective_settings
( global: &StoredSettings, sandbox: &StoredSettings, )
crates/openshell-server/src/grpc/policy.rs:3834
↓ 6 callers
Method
mint
`tonic::Status` is the natural error here
crates/openshell-server/src/auth/sandbox_jwt.rs:102
↓ 6 callers
Function
mock_candidates
(base_url: &str)
crates/openshell-router/tests/backend_integration.rs:9
↓ 6 callers
Function
normalize_compute_driver_socket_args
(args: &mut RunArgs, matches: &ArgMatches)
crates/openshell-server/src/cli.rs:684
↓ 6 callers
Method
object_labels
(&self)
crates/openshell-core/src/metadata.rs:53
↓ 6 callers
Function
obtain_counted_test_token
(input: CountedTokenGrantInput<'_>)
crates/openshell-supervisor-network/src/token_grant.rs:770
↓ 6 callers
Function
ocsf_gateway_endpoint
Parse a gRPC endpoint URI into an OCSF `Endpoint` (host + port). Falls back to treating the whole string as a domain if parsing fails.
crates/openshell-supervisor-process/src/supervisor_session.rs:40
↓ 6 callers
Function
one_credential
()
crates/openshell-server/src/grpc/validation.rs:1125
↓ 6 callers
Function
overlay_upper_path
(guest_path: &str)
crates/openshell-driver-vm/src/driver.rs:4773
↓ 6 callers
Function
parse_credential_pairs
(items: &[String])
crates/openshell-cli/src/run.rs:4021
↓ 6 callers
Function
path_to_cstring
(path: &Path)
crates/openshell-driver-vm/src/runtime.rs:1383
↓ 6 callers
Function
pod_with_owner_refs
(owner_references: Vec<OwnerReference>)
crates/openshell-server/src/auth/k8s_sa.rs:632
↓ 6 callers
Function
prepare_pci_for_passthrough
Bind an arbitrary VFIO-capable `PCIe` device to `vfio-pci`, returning an RAII guard that restores it to the host driver on drop. Unlike [`crate::gpu:
crates/openshell-vfio/src/pci.rs:321
↓ 6 callers
Function
probe_host_vfio_candidates
Enumerate every PCI device on the host that is structurally eligible for VFIO passthrough. "Structurally eligible" means the device has a populated I
crates/openshell-vfio/src/pci.rs:223
↓ 6 callers
Function
provider
(name: &str, provider_type: &str)
crates/openshell-server/src/provider_refresh.rs:1167
↓ 6 callers
Function
provider_name
(provider: &openshell_core::proto::Provider)
crates/openshell-tui/src/app.rs:692
↓ 6 callers
Function
provider_profile_export
( server: &str, id: &str, output: &str, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5063
↓ 6 callers
Method
publish_pulled_event
Emit a `Pulled` platform event with progress metadata for the CLI.
crates/openshell-driver-vm/src/driver.rs:3599
↓ 6 callers
Function
read_gcloud_adc
Read gcloud Application Default Credentials from disk. Returns `(client_id, client_secret, refresh_token)`. Checks `GOOGLE_APPLICATION_CREDENTIALS`
crates/openshell-cli/src/run.rs:4342
↓ 6 callers
Method
read_trimmed
(&self, name: &str)
crates/openshell-vfio/src/sysfs.rs:112
↓ 6 callers
Function
refresh_provider_credential
( store: &Store, provider_name: &str, credential_key: &str, )
crates/openshell-server/src/provider_refresh.rs:295
↓ 6 callers
Function
relay_http_request_with_resolver
( req: &L7Request, client: &mut C, upstream: &mut U, resolver: Option<&SecretResolver>, )
crates/openshell-supervisor-network/src/l7/rest.rs:369
↓ 6 callers
Function
relay_rewritten_forward_request
( method: &str, path: &str, rewritten: Vec<u8>, client: &mut C, upstream: &mut U, opti
crates/openshell-supervisor-network/src/proxy.rs:3060
↓ 6 callers
Method
renew
Renew the lease by CAS-writing the same payload to bump `updated_at_ms` and `resource_version`.
crates/openshell-server/src/compute/lease.rs:170
↓ 6 callers
Method
request_json
Perform a request and deserialize the JSON response.
crates/openshell-driver-podman/src/client.rs:362
↓ 6 callers
Method
require_backend_feature
(&mut self, feature: BackendFeature)
crates/openshell-driver-vm/src/lifecycle.rs:244
↓ 6 callers
Function
required_material
(material: &HashMap<String, String>, key: &str)
crates/openshell-server/src/provider_refresh.rs:663
↓ 6 callers
Method
resolver
(&self)
crates/openshell-core/src/provider_credentials.rs:74
↓ 6 callers
Function
route_headers_for_provider_type
Derive routing header policy for a provider type string. Returns the auth injection mode, route-level default headers, and the allowed client-supplie
crates/openshell-core/src/inference.rs:263
↓ 6 callers
Function
run_all_queries
Run all queries (single entry point for end-to-end callers).
crates/openshell-prover/src/queries.rs:271
↓ 6 callers
Function
run_cli
(args: &[&str])
e2e/rust/tests/host_gateway_alias.rs:22
↓ 6 callers
Function
s3_host
()
crates/openshell-supervisor-network/tests/sigv4_localstack.rs:26
↓ 6 callers
Function
sample_plan
(backend: VmBackend)
crates/openshell-driver-vm/src/lifecycle.rs:924
↓ 6 callers
Function
sandbox_principal
(sandbox_id: &str)
crates/openshell-server/src/supervisor_session.rs:866
↓ 6 callers
Method
scroll_policy
Scroll policy pane by a delta (positive = down, negative = up). Clamps so at least one viewport of content remains visible.
crates/openshell-tui/src/app.rs:1802
↓ 6 callers
Method
set_current_policy_version
(&mut self, version: u32)
crates/openshell-core/src/metadata.rs:85
↓ 6 callers
Function
spawn_gateway
(registry: Arc<SupervisorSessionRegistry>)
crates/openshell-server/tests/supervisor_relay_integration.rs:422
↓ 6 callers
Function
ssh_base_command
(proxy_command: &str)
crates/openshell-cli/src/ssh.rs:142
↓ 6 callers
Function
ssh_session_config
( server: &str, name: &str, tls: &TlsOptions, )
crates/openshell-cli/src/ssh.rs:75
↓ 6 callers
Method
state
(mut self, id: StateId, label: &str)
crates/openshell-ocsf/src/builders/config.rs:42
↓ 6 callers
Function
state_with_issuer
()
crates/openshell-server/src/grpc/auth_rpc.rs:163
↓ 6 callers
Function
store_oidc_token
Store an OIDC token bundle for a gateway.
crates/openshell-bootstrap/src/oidc_token.rs:43
↓ 6 callers
Function
stored_provider_profile
(profile: ProviderProfile)
crates/openshell-server/src/grpc/provider.rs:1804
↓ 6 callers
Function
stored_setting_to_proto
(value: &StoredSettingValue)
crates/openshell-server/src/grpc/policy.rs:3680
↓ 6 callers
Method
subscribe
(&self, sandbox_id: &str)
crates/openshell-server/src/tracing_bus.rs:74
↓ 6 callers
Method
supersede_older_policies
( &self, sandbox_id: &str, before_version: i64, )
crates/openshell-server/src/persistence/sqlite.rs:624
↓ 6 callers
Method
supported_agent_sandbox_api
(&self, client: Client)
crates/openshell-driver-kubernetes/src/driver.rs:280
↓ 6 callers
Method
tail
(&self, sandbox_id: &str, max: usize)
crates/openshell-server/src/tracing_bus.rs:88
↓ 6 callers
Method
take_sender
(&self)
crates/openshell-cli/src/auth.rs:237
↓ 6 callers
Function
test_context
(file: Option<&config_file::ConfigFile>)
crates/openshell-server/src/compute/driver_config.rs:246
↓ 6 callers
Function
test_driver_with_extensions
(extensions: LifecycleExtensionRegistry)
crates/openshell-driver-vm/src/driver.rs:6803
↓ 6 callers
Function
token_review_identity
( status: &TokenReviewStatus, expected_audience: &str, sandbox_namespace: &str, expected_servi
crates/openshell-server/src/auth/k8s_sa.rs:327
↓ 6 callers
Method
try_steal_expired
Steal an expired lease from another replica via CAS.
crates/openshell-server/src/compute/lease.rs:120
↓ 6 callers
Function
unique_temp_dir
()
crates/openshell-driver-vm/src/rootfs.rs:1134
↓ 6 callers
Method
update_policy_status
( &self, sandbox_id: &str, version: i64, status: &str, load_error: Opt
crates/openshell-server/src/persistence/sqlite.rs:587
↓ 6 callers
Function
upgrade_options
( config: &L7EndpointConfig, ctx: &'a L7EvalContext, websocket_request: bool, target: &str,
crates/openshell-supervisor-network/src/l7/relay.rs:679
↓ 6 callers
Function
valid_count
(value: u64)
crates/openshell-core/src/telemetry.rs:589
↓ 6 callers
Function
validate_bdf
Validate a PCI BDF address (format `DDDD:BB:DD.F`).
crates/openshell-vfio/src/sysfs.rs:165
↓ 6 callers
Function
validate_linux_elf_binary
(path: &Path)
crates/openshell-driver-docker/src/lib.rs:3407
↓ 6 callers
Function
validate_mount_source
Validate a non-empty driver mount source.
crates/openshell-core/src/driver_mounts.rs:36
↓ 6 callers
Function
validate_sandbox_source_path
Validate that a sandbox-side source path passed to `sandbox download` resolves under the sandbox writable root. Returns the cleaned, traversal-resolv
crates/openshell-cli/src/ssh.rs:865
↓ 6 callers
Function
validate_string_map
Validate a `map<string, string>` field: entry count, key length, value length.
crates/openshell-server/src/grpc/validation.rs:222
↓ 6 callers
Function
validate_vertex_base_url
(value: &str)
crates/openshell-server/src/inference.rs:461
↓ 6 callers
Method
vfio_pci_new_id
(&self)
crates/openshell-vfio/src/sysfs.rs:54
↓ 6 callers
Function
volume_name
(sandbox_id: &str)
crates/openshell-driver-podman/src/container.rs:151
↓ 6 callers
Function
websocket_extension_mode
(config: &L7EndpointConfig)
crates/openshell-supervisor-network/src/l7/relay.rs:720
↓ 6 callers
Method
with_bind_address
(mut self, addr: SocketAddr)
crates/openshell-core/src/config.rs:592
↓ 6 callers
Function
with_tmp_xdg
(tmp: &std::path::Path, f: F)
crates/openshell-cli/src/main.rs:3202
↓ 5 callers
Function
_baseline_policy
()
e2e/python/test_inference_routing.py:48
↓ 5 callers
Function
_is_placeholder_for_env_key
Return true when value is an OpenShell credential placeholder for key.
e2e/python/test_sandbox_providers.py:34
↓ 5 callers
Function
_landlock_policy
( *, filesystem: sandbox_pb2.FilesystemPolicy | None = None, landlock: sandbox_pb2.LandlockPolicy
e2e/python/test_sandbox_landlock.py:48
↓ 5 callers
Function
_load_cluster_bearer_token
Read a single (possibly expired) access token from disk. Lower-level helper used by both the legacy single-shot path and the refreshing provi
python/openshell/sandbox.py:868
↓ 5 callers
Function
_make_cluster_bearer_provider
Build a per-RPC token provider for a gateway directory. Returns `(token_provider, close_fn_or_none)`. `close_fn` is non-None only when an `_O
python/openshell/sandbox.py:1316
↓ 5 callers
Function
_proxy_connect_then_http_with_server
Return a closure that starts a local HTTP server and sends CONNECT+HTTP.
e2e/python/test_sandbox_policy.py:279
↓ 5 callers
Function
_read_openshell_log
Return a closure that reads the openshell log file(s). Since the sandbox uses a rolling file appender, logs are written to date-stamped files
e2e/python/test_sandbox_policy.py:177
↓ 5 callers
Method
acquire_or_steal
Try to acquire a fresh lease; if one already exists and is expired, attempt to steal it.
crates/openshell-server/src/compute/lease.rs:160
↓ 5 callers
Function
apply_mask
(payload: &mut [u8], mask_key: [u8; 4])
crates/openshell-supervisor-network/src/l7/websocket.rs:948
↓ 5 callers
Function
attach_vm_progress_metadata
(event: &mut PlatformEvent)
crates/openshell-driver-vm/src/driver.rs:5055
↓ 5 callers
Function
auth_for_provider_type
Derive the [`AuthHeader`] and default headers for a provider type string. This is a convenience wrapper around [`profile_for`] for callers that only
crates/openshell-core/src/inference.rs:254
↓ 5 callers
Method
authenticate
Run the chain. Returns the first principal produced. If every authenticator returns `Ok(None)`, the result is `Ok(None)` — the router translates that
crates/openshell-server/src/auth/authenticator.rs:71
↓ 5 callers
Function
bearer_headers
(token: &str)
crates/openshell-server/src/auth/k8s_sa.rs:552
↓ 5 callers
Function
build_clone3_filter
Build a minimal BPF filter that blocks clone3 with ENOSYS. This is a separate filter from the main one because seccomp BPF cannot dereference the `st
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:162
↓ 5 callers
Function
build_environment
(sandbox: &DriverSandbox, config: &DockerDriverRuntimeConfig)
crates/openshell-driver-docker/src/lib.rs:2162
↓ 5 callers
Function
build_filter_rules
(allow_inet: bool)
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:184
↓ 5 callers
Function
build_inference_context
( sandbox_id: Option<&str>, openshell_endpoint: Option<&str>, inference_routes: Option<&str>, )
crates/openshell-supervisor-network/src/inference_routes.rs:105
↓ 5 callers
Function
build_platform_config
Build the opaque `platform_config` Struct from platform-specific public template fields (`runtime_class_name`, annotations) plus any resource fields b
crates/openshell-server/src/compute/mod.rs:1671
↓ 5 callers
Function
bundle_to_resolved_routes
Convert a proto bundle response into resolved routes for the router.
crates/openshell-supervisor-network/src/inference_routes.rs:304
↓ 5 callers
Function
cdi_devices_config
(device_ids: &[&str])
crates/openshell-driver-podman/src/container.rs:1751
↓ 5 callers
Function
check_port_available
Check whether a local port is available for forwarding. Uses a two-pronged check: 1. Attempts to bind `<bind_addr>:<port>` — catches same-family conf
crates/openshell-core/src/forward.rs:626
↓ 5 callers
Function
clamp_limit
Clamp a client-provided page `limit`. Returns `default` when `raw` is 0 (the protobuf zero-value convention), otherwise returns the smaller of `raw`
crates/openshell-server/src/grpc/mod.rs:71
↓ 5 callers
Function
clone_current_event
Clone the current thread-local OCSF event, if any. Multiple layers can call this for the same event — each receives an independent clone. The thread-
crates/openshell-ocsf/src/tracing_layers/event_bridge.rs:27
↓ 5 callers
Function
compute_driver_listen_mode
(args: &Args)
crates/openshell-driver-vm/src/main.rs:267
↓ 5 callers
Function
compute_refresh_delay
Compute the next refresh delay: 80 % of the time remaining until the current token's `exp`, plus up to 10 % jitter, with a small lower bound for alrea
crates/openshell-core/src/grpc_client.rs:406
↓ 5 callers
Function
create_build_context_tar
Create a tar archive of a directory for use as a Docker build context. Walks `context_dir` recursively, respects a `.dockerignore` file if present, a
crates/openshell-bootstrap/src/build.rs:269
↓ 5 callers
Method
create_container
Create a container from a JSON spec.
crates/openshell-driver-podman/src/client.rs:408
← previous
next →
601–700 of 9,017, ranked by callers