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
↓ 2 callers
Function
terminate_vm_process
(child: &mut Child)
crates/openshell-driver-vm/src/driver.rs:4960
↓ 2 callers
Function
test_event
()
crates/openshell-ocsf/src/tracing_layers/event_bridge.rs:74
↓ 2 callers
Function
test_health_store
Build an in-memory store sufficient for wiring `health_router` in tests where the persistence layer itself is not under test.
crates/openshell-server/tests/multiplex_integration.rs:146
↓ 2 callers
Function
test_health_store
Build an in-memory store sufficient for wiring `health_router` in tests where the persistence layer itself is not under test.
crates/openshell-server/tests/ws_tunnel_integration.rs:554
↓ 2 callers
Function
test_store
()
crates/openshell-server/src/supervisor_session.rs:825
↓ 2 callers
Function
timestamp
()
crates/openshell-core/src/telemetry.rs:360
↓ 2 callers
Function
tls_terminate_client
Accept TLS from a sandbox client, presenting a dynamic cert for the hostname. Returns a TLS stream that can be used for plaintext HTTP inspection.
crates/openshell-supervisor-network/src/l7/tls.rs:173
↓ 2 callers
Method
to_json_line
Serialize as a single JSONL line (no pretty-printing, trailing newline).
crates/openshell-ocsf/src/format/jsonl.rs:17
↓ 2 callers
Function
token_grant_header
( credential: &ProviderProfileCredential, access_token: &str, )
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:274
↓ 2 callers
Function
token_grant_override_matches_endpoint
( override_config: &ProviderCredentialTokenGrantAudienceOverride, endpoint_host: &str, endpoint_po
crates/openshell-server/src/grpc/provider.rs:668
↓ 2 callers
Function
token_grant_profile
(token_endpoint: &str)
crates/openshell-server/src/grpc/policy.rs:5124
↓ 2 callers
Function
trim_container_name_tail
Docker container names may not end with `-`, `.`, or `_`. Truncation can leave one of those trailing, so strip them before returning.
crates/openshell-driver-docker/src/lib.rs:2993
↓ 2 callers
Function
truncate_at_char_boundary
Truncate `s` at the largest UTF-8 char boundary <= `max_bytes`, appending a `...[truncated]` suffix. Returning a `String` (not `&str`) avoids surprisi
crates/openshell-supervisor-network/src/policy_local.rs:414
↓ 2 callers
Function
truncate_display
(value: &str, max_width: usize)
crates/openshell-cli/src/run.rs:5629
↓ 2 callers
Function
truncate_str
Truncate a string to `max_len` chars, appending "..." if truncated.
crates/openshell-tui/src/ui/sandbox_draft.rs:451
↓ 2 callers
Function
try_validation_request
Send a single validation request and classify the response.
crates/openshell-router/src/backend.rs:542
↓ 2 callers
Function
unauthenticated_dev_user_principal
()
crates/openshell-server/src/multiplex.rs:518
↓ 2 callers
Function
unique_provider_name
Generate a unique provider name by appending `-1`, `-2`, etc. if needed.
crates/openshell-tui/src/app.rs:2800
↓ 2 callers
Method
unmapped
(mut self, key: &str, value: impl Into<serde_json::Value>)
crates/openshell-ocsf/src/builders/config.rs:61
↓ 2 callers
Method
update_spinner
(&self)
crates/openshell-cli/src/run.rs:352
↓ 2 callers
Function
upper_hex_nibble
(n: u8)
crates/openshell-supervisor-network/src/l7/path.rs:334
↓ 2 callers
Function
user_entry_shadows_system
(metadata_path: &Path)
crates/openshell-bootstrap/src/metadata.rs:130
↓ 2 callers
Function
user_extra_one
(user: &UserInfo, key: &str)
crates/openshell-server/src/auth/k8s_sa.rs:379
↓ 2 callers
Function
user_gateways_dir
Base directory for all gateway metadata files. Location: `$XDG_CONFIG_HOME/openshell/gateways/`
crates/openshell-bootstrap/src/paths.rs:69
↓ 2 callers
Function
uses_local_podman_inventory
(engine: &ContainerEngine)
e2e/rust/tests/gpu/device_selection.rs:101
↓ 2 callers
Function
uses_reserved_revision_namespace
(key: &str)
crates/openshell-core/src/secrets.rs:498
↓ 2 callers
Function
valid_methods_for_protocol
(protocol: &str)
crates/openshell-supervisor-network/src/l7/mod.rs:1572
↓ 2 callers
Method
validate
Validate the policy configuration. Returns an error if only one of admin/user role is set — either both must be set (RBAC mode) or both empty (auth-o
crates/openshell-server/src/auth/authz.rs:45
↓ 2 callers
Function
validate_allowed_ips_for_resolved_addrs
( host: &str, port: u16, addrs: &[SocketAddr], allowed_ips: &[ipnet::IpNet], )
crates/openshell-supervisor-network/src/proxy.rs:2527
↓ 2 callers
Function
validate_bridge_network
( network_name: &str, network: &bollard::models::NetworkInspect, )
crates/openshell-driver-docker/src/lib.rs:2595
↓ 2 callers
Function
validate_docker_driver_mounts
( mounts: &[DockerDriverMountConfig], enable_bind_mounts: bool, )
crates/openshell-driver-docker/src/lib.rs:1893
↓ 2 callers
Function
validate_dynamic_token_grant_bindings_unambiguous
( bindings: &[DynamicTokenGrantBinding], )
crates/openshell-server/src/grpc/provider.rs:1030
↓ 2 callers
Function
validate_env_entries
( map: &std::collections::HashMap<String, String>, field_name: &str, )
crates/openshell-server/src/grpc/validation.rs:262
↓ 2 callers
Function
validate_env_entries_inner
( map: &std::collections::HashMap<String, String>, field_name: &str, allowed_openshell_keys: &[&st
crates/openshell-server/src/grpc/validation.rs:282
↓ 2 callers
Function
validate_extension_identifier
(value: &str)
crates/openshell-driver-vm/src/lifecycle.rs:756
↓ 2 callers
Function
validate_header_name
(header_name: &str)
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:304
↓ 2 callers
Method
validate_host_gateway_ip
Validate optional host gateway override.
crates/openshell-driver-podman/src/config.rs:193
↓ 2 callers
Function
validate_host_not_always_blocked
Reject proposed rules whose endpoints or `allowed_ips` target always-blocked addresses (loopback, link-local, unspecified). This is defense-in-depth:
crates/openshell-server/src/grpc/policy.rs:3265
↓ 2 callers
Function
validate_jsonrpc_rule_fields
Validate the shared JSON-RPC-family rule surface. Generic JSON-RPC requires an explicit method but does not support authored params matchers yet. MCP
crates/openshell-supervisor-network/src/l7/mod.rs:659
↓ 2 callers
Function
validate_matcher_map
Validate a matcher map when it exists. Null is treated like omission because policy loading normalizes absent optional maps the same way.
crates/openshell-supervisor-network/src/l7/mod.rs:562
↓ 2 callers
Function
validate_mcp_tool_name_wildcard_policy
( errors: &mut Vec<String>, loc: &str, matcher: &serde_json::Value, mcp_strict_tool_names: boo
crates/openshell-supervisor-network/src/l7/mod.rs:843
↓ 2 callers
Function
validate_mount_subpath
Validate a relative subpath inside a runtime-managed mount source.
crates/openshell-core/src/driver_mounts.rs:59
↓ 2 callers
Function
validate_non_empty_endpoint_name
( field: &str, value: &str, max_len: usize, )
crates/openshell-server/src/grpc/service.rs:243
↓ 2 callers
Function
validate_optional_integral_i64
(value: Option<f64>, field: &str)
crates/openshell-driver-podman/src/container.rs:736
↓ 2 callers
Function
validate_optional_integral_i64
(value: Option<f64>, field: &str)
crates/openshell-driver-docker/src/lib.rs:1991
↓ 2 callers
Function
validate_optional_nonnegative_integral_i64
( value: Option<f64>, field: &str, )
crates/openshell-driver-podman/src/container.rs:723
↓ 2 callers
Function
validate_optional_nonnegative_integral_i64
( value: Option<f64>, field: &str, )
crates/openshell-driver-docker/src/lib.rs:1976
↓ 2 callers
Function
validate_optional_positive_integral_i64
( value: Option<f64>, field: &str, )
crates/openshell-driver-podman/src/container.rs:710
↓ 2 callers
Function
validate_optional_positive_integral_i64
( value: Option<f64>, field: &str, )
crates/openshell-driver-docker/src/lib.rs:1961
↓ 2 callers
Function
validate_provider_mutable_fields
Validate field sizes on a `Provider` before persisting an update. Skips the immutable `name` and `type` fields, which are carried forward from the ex
crates/openshell-server/src/grpc/validation.rs:331
↓ 2 callers
Method
validate_provider_spiffe_workload_api_socket_path
(&self)
crates/openshell-driver-kubernetes/src/config.rs:333
↓ 2 callers
Function
validate_provider_spiffe_workload_api_socket_path_value
( socket_path: &str, )
crates/openshell-driver-kubernetes/src/config.rs:418
↓ 2 callers
Function
validate_restored_sandbox_state
( root: &Path, state_dir: &Path, sandbox: &Sandbox, )
crates/openshell-driver-vm/src/driver.rs:4462
↓ 2 callers
Function
validate_runtime_dir
(dir: &Path)
crates/openshell-driver-vm/src/runtime.rs:892
↓ 2 callers
Method
validate_runtime_limits
Validate runtime resource-limit configuration.
crates/openshell-driver-podman/src/config.rs:183
↓ 2 callers
Method
validate_sandbox_create
( &self, request: Request<ValidateSandboxCreateRequest>, )
crates/openshell-server/src/compute/mod.rs:192
↓ 2 callers
Function
validate_sandbox_rootfs
(rootfs: &Path)
crates/openshell-driver-vm/src/rootfs.rs:394
↓ 2 callers
Function
validate_sandbox_state_dir
(root: &Path, state_dir: &Path)
crates/openshell-driver-vm/src/driver.rs:4213
↓ 2 callers
Function
validate_tmpfs_options
(options: &[String])
crates/openshell-driver-podman/src/container.rs:750
↓ 2 callers
Method
validate_user_volume_mounts_available
( &self, driver_config: &DockerSandboxDriverConfig, )
crates/openshell-driver-docker/src/lib.rs:556
↓ 2 callers
Function
validate_vertex_model_id
(value: &str)
crates/openshell-server/src/inference.rs:419
↓ 2 callers
Method
validated_sandbox_create
( &self, sandbox: &'a DriverSandbox, )
crates/openshell-driver-podman/src/driver.rs:361
↓ 2 callers
Function
value_looks_like_local_source
(value: &str)
crates/openshell-cli/src/run.rs:2476
↓ 2 callers
Function
value_to_json
(value: &prost_types::Value)
crates/openshell-core/src/proto_struct.rs:28
↓ 2 callers
Function
verify_descriptor_digest
(path: &Path, expected_digest: &str)
crates/openshell-driver-vm/src/driver.rs:3758
↓ 2 callers
Function
vm_config_from_context
Build the selected VM config from TOML plus runtime defaults.
crates/openshell-server/src/compute/driver_config.rs:92
↓ 2 callers
Function
vm_gpu_device_id
(sandbox: &Sandbox)
crates/openshell-driver-vm/src/driver.rs:3200
↓ 2 callers
Function
wait_for_container_running
( engine: &ContainerEngine, container_id: &str, expected: bool, timeout: Duration, )
e2e/rust/tests/local_driver_token_restart.rs:151
↓ 2 callers
Function
wait_for_forward_start
Wait for the local listener, racing the probe against the `ssh` child exiting. An early exit (e.g. `ExitOnForwardFailure=yes` tearing down the session
crates/openshell-cli/src/ssh.rs:410
↓ 2 callers
Function
wait_for_token
(sb: Sandbox, expected: str)
e2e/python/test_sandbox_providers.py:225
↓ 2 callers
Function
warn_on_singleton_overwrite
( extension_name: &str, field: &str, prev: Option<T>, next: Option<T>, )
crates/openshell-driver-vm/src/lifecycle.rs:689
↓ 2 callers
Method
watch_loop
(self: Arc<Self>, mut cancel: watch::Receiver<bool>)
crates/openshell-server/src/compute/mod.rs:974
↓ 2 callers
Method
watch_sandbox
( &self, _request: tonic::Request<openshell_core::proto::WatchSandboxRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:304
↓ 2 callers
Method
with_default_paths
(&self, server: &str)
crates/openshell-cli/src/tls.rs:79
↓ 2 callers
Method
with_health_bind_address
(mut self, addr: SocketAddr)
crates/openshell-core/src/config.rs:598
↓ 2 callers
Method
with_parent
(mut self, parent: Self)
crates/openshell-ocsf/src/objects/process.rs:47
↓ 2 callers
Function
with_tmp_xdg_and_system
(tmp: &Path, system: &Path, f: F)
crates/openshell-cli/src/run.rs:7929
↓ 2 callers
Function
workspace_root
Locate the workspace root by walking up from the crate's manifest directory.
e2e/rust/src/harness/binary.rs:13
↓ 2 callers
Function
write_bad_gateway_response
(client: &mut W)
crates/openshell-supervisor-network/src/l7/relay.rs:1816
↓ 2 callers
Function
write_ca_files
Write CA certificate files for the sandbox trust store. Writes: 1. Standalone CA cert PEM (for `NODE_EXTRA_CA_CERTS` which is additive) 2. Combined b
crates/openshell-supervisor-network/src/l7/tls.rs:241
↓ 2 callers
Function
write_fake_runtime_binaries
(rootfs: &Path)
crates/openshell-driver-vm/src/rootfs.rs:1147
↓ 2 callers
Function
write_forward_pid
Write a PID file for a background forward. File format: `<pid>\t<sandbox_id>\t<bind_addr>`
crates/openshell-core/src/forward.rs:32
↓ 2 callers
Function
write_gateway_metadata
( root: &Path, name: &str, endpoint: &str, gateway_port: u16, is_remote: bool, auth_mo
e2e/rust/tests/cli_smoke.rs:53
↓ 2 callers
Function
write_inference_router_error
Emit an OCSF failure event and write a buffered JSON error response for a router error hit while proxying an inference request. Shared by the streami
crates/openshell-supervisor-network/src/proxy.rs:2019
↓ 2 callers
Function
write_local_jwt_bundle
(bundle: &PkiBundle, paths: &LocalPaths)
crates/openshell-server/src/certgen.rs:730
↓ 2 callers
Function
write_local_tls_bundle
(bundle: &PkiBundle, paths: &LocalPaths)
crates/openshell-server/src/certgen.rs:689
↓ 2 callers
Function
write_masked_frame_with_rsv
( writer: &mut W, opcode: u8, rsv: u8, payload: &[u8], )
crates/openshell-supervisor-network/src/l7/websocket.rs:824
↓ 2 callers
Function
write_policy_with_l7_rules
(host: &str, port: u16)
e2e/rust/tests/forward_proxy_l7_bypass.rs:40
↓ 2 callers
Function
write_sandbox_request
(state_dir: &Path, sandbox: &Sandbox)
crates/openshell-driver-vm/src/driver.rs:4427
↓ 2 callers
Function
write_test_payload_len
(frame: &mut Vec<u8>, mask_bit: u8, payload_len: usize)
crates/openshell-supervisor-network/src/l7/rest.rs:2503
↓ 2 callers
Function
write_upload_archive
(writer: W, source: UploadSource)
crates/openshell-cli/src/ssh.rs:605
↓ 2 callers
Function
xdg_state_dir
Resolve the XDG state base directory. Returns `$XDG_STATE_HOME` if set, otherwise `$HOME/.local/state`.
crates/openshell-core/src/paths.rs:37
↓ 2 callers
Function
yaml_mcp_method
( protocol: &str, method: &str, has_tool: bool, mcp_allow_all_known_mcp_methods: bool, )
crates/openshell-policy/src/lib.rs:657
↓ 1 callers
Method
ExecSandbox
( self, request: openshell_pb2.ExecSandboxRequest, timeout: float | None = None, )
python/openshell/sandbox_test.py:35
↓ 1 callers
Method
SetClusterInference
(self, request: Any, timeout: float | None = None)
python/openshell/sandbox_test.py:51
↓ 1 callers
Function
_check_user_owns_path
Return a closure that checks if the current user owns a path.
e2e/python/test_sandbox_landlock.py:102
↓ 1 callers
Function
_classify_registry
Return the registry group for a component.
deploy/sbom/resolve_licenses.py:363
↓ 1 callers
Function
_client_verify_is_disabled
Inspect an httpx.Client for verify=False. httpx surfaces verify either on the client directly (older) or via the default transport (newer).
python/openshell/sandbox_test.py:1062
↓ 1 callers
Function
_cluster_config_lock
()
e2e/python/test_inference_routing.py:136
↓ 1 callers
Function
_cluster_metadata
(cluster_name: str)
e2e/python/test_security_tls.py:48
← previous
next →
2,201–2,300 of 9,017, ranked by callers