MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 5 callersFunctionvalidate_access_token
(token: &str)
crates/openshell-supervisor-network/src/token_grant.rs:409
↓ 5 callersFunctionvalidate_endpoint_name
(field: &str, value: &str, max_len: usize)
crates/openshell-server/src/grpc/service.rs:227
↓ 5 callersFunctionvalidate_object_metadata
( metadata: Option<&openshell_core::proto::datamodel::v1::ObjectMeta>, resource_type: &str, )
crates/openshell-server/src/grpc/mod.rs:163
↓ 5 callersFunctionvalidate_pci_for_passthrough
Dry-run validation that [`prepare_pci_for_passthrough`] would accept this BDF right now. Performs every pre-bind check without touching `driver_overri
crates/openshell-vfio/src/pci.rs:282
↓ 5 callersFunctionvalidate_pci_group_for_passthrough
Dry-run validation that [`prepare_pci_group_for_passthrough`] would accept this slice of BDFs as a complete IOMMU group right now. Mirrors the struct
crates/openshell-vfio/src/pci.rs:370
↓ 5 callersFunctionvalidate_sandbox_id
(sandbox_id: &str)
crates/openshell-driver-vm/src/driver.rs:3227
↓ 5 callersFunctionvalidate_static_fields_unchanged
Validate that static policy fields (filesystem, landlock, process) haven't changed from the baseline (version 1) policy.
crates/openshell-server/src/grpc/validation.rs:651
↓ 5 callersMethodvalidate_string_value
Validate a string value against [`allowed_string_values`]. Returns `Ok(())` when the setting has no constraint or when the value is in the allowed lis
crates/openshell-core/src/settings.rs:51
↓ 5 callersFunctionvalue_to_string
Convert a `regorus::Value` to a string, handling various types.
crates/openshell-supervisor-network/src/opa.rs:637
↓ 5 callersFunctionwait_for_local_policy_to_cover
After a chunk is approved upstream, wait until the local supervisor has loaded a policy that semantically contains the chunk's proposed rule. Returns
crates/openshell-supervisor-network/src/policy_local.rs:841
↓ 5 callersFunctionwait_for_sandbox_exec_contains
( sandbox_name: &str, command: &[&str], expected: &str, timeout: Duration, )
e2e/rust/src/harness/cli.rs:69
↓ 5 callersMethodwith_database_url
(mut self, url: impl Into<String>)
crates/openshell-core/src/config.rs:618
↓ 5 callersMethodwith_non_ocsf
(mut self, include: bool)
crates/openshell-ocsf/src/tracing_layers/shorthand_layer.rs:42
↓ 5 callersFunctionwrite_test_file
Write bytes to a file inside `dir`, panicking on failure.
crates/openshell-server/src/tls_test_utils.rs:21
↓ 5 callersFunctionyaml_scalar
(value: &str)
crates/openshell-tui/src/app.rs:839
↓ 4 callersMethod_attach
(self, details: grpc.ClientCallDetails)
python/openshell/sandbox.py:86
↓ 4 callersFunction_forward_proxy_raw
Return a closure that sends a forward proxy request (no server needed). For testing deny cases — sends the request and returns whatever the proxy
e2e/python/test_sandbox_policy.py:255
↓ 4 callersFunction_forward_proxy_with_server
Return a closure that starts an HTTP server and sends a forward proxy request. The closure starts a minimal HTTP server on the given port inside
e2e/python/test_sandbox_policy.py:201
↓ 4 callersFunction_get_json
(url: str, domain: str)
deploy/sbom/resolve_licenses.py:220
↓ 4 callersFunction_git
(cmd: list[str])
tasks/scripts/release.py:51
↓ 4 callersMethod_json
(self, code, body)
examples/bring-your-own-container/app.py:33
↓ 4 callersFunction_normalize_bearer
( bearer: str | Callable[[], str] | None, )
python/openshell/sandbox.py:116
↓ 4 callersFunction_normalize_issuer
Return the bundle's issuer with a trailing slash stripped. Used to detect whether the issuer changed when adopting a bundle re-read from disk
python/openshell/sandbox.py:856
↓ 4 callersFunction_percentile
(values: Iterable[float], p: float)
scripts/baseline_workflow_metrics.py:236
↓ 4 callersFunction_rate_limit
(domain: str, interval: float = 0.15)
deploy/sbom/resolve_licenses.py:209
↓ 4 callersFunction_setup_gateway_dir
( tmp_path: Path, monkeypatch: Any, *, name: str = "g", endpoint: str = "http://127.0.0.1:
python/openshell/sandbox_test.py:298
↓ 4 callersFunctionadd_masked_arg_rule
Block a syscall when a specific bit pattern is set in an argument. Uses `MaskedEq` to check `(arg & flag_bit) == flag_bit`, which triggers EPERM when
crates/openshell-supervisor-process/src/sandbox/linux/seccomp.rs:346
↓ 4 callersFunctionagent_proposals_enabled
Read the current value of the agent proposals feature flag. Returns `false` if the flag has not been initialized (e.g. during unit tests), matching t
crates/openshell-core/src/proposals.rs:26
↓ 4 callersMethodallows_empty_provider_credentials
(&self)
crates/openshell-providers/src/profiles.rs:385
↓ 4 callersFunctionapply_ocsf_json_setting
( enabled: &std::sync::atomic::AtomicBool, settings: &std::collections::HashMap<String, openshell_core
crates/openshell-sandbox/src/lib.rs:1856
↓ 4 callersMethodapply_sandbox_update
(&self, incoming: DriverSandbox)
crates/openshell-server/src/compute/mod.rs:1112
↓ 4 callersFunctionapply_sigv4_headers_only
Apply AWS `SigV4` signing to HTTP headers only, using UNSIGNED-PAYLOAD. Returns signed headers ending with `\r\n\r\n`. The caller is responsible for
crates/openshell-supervisor-network/src/sigv4.rs:305
↓ 4 callersFunctionapply_workspace_persistence
Apply workspace persistence transforms to an already-built pod template. This injects: 1. A volume mount on the agent container at `/sandbox`. 2. An
crates/openshell-driver-kubernetes/src/driver.rs:1245
↓ 4 callersFunctionassert_setting_line_with_scope
(output: &str, key: &str, expected: &str, scope: &str)
e2e/rust/tests/settings_management.rs:85
↓ 4 callersFunctionattach_docker_progress_metadata
( metadata: &mut HashMap<String, String>, reason: &str, message: &str, )
crates/openshell-driver-docker/src/lib.rs:1698
↓ 4 callersFunctionbaseline_enrichment_paths
()
crates/openshell-sandbox/src/lib.rs:824
↓ 4 callersMethodbefore_launch
( &self, _sandbox: &Sandbox, _state_dir: &Path, plan: &mut Lau
crates/openshell-driver-vm/src/driver.rs:6849
↓ 4 callersFunctionbuild_channel
(server: &str, tls: &TlsOptions)
crates/openshell-cli/src/tls.rs:341
↓ 4 callersFunctionbuild_finding
( query: &str, title: &str, description: &str, paths: Vec<ExfilPath>, remediation: Vec<Str
crates/openshell-prover/src/queries.rs:249
↓ 4 callersFunctionbuild_gateway_policy_audit_message
( sandbox_id: &str, sandbox_name: &str, state_label: &str, detail: impl Into<String>, vers
crates/openshell-server/src/grpc/policy.rs:210
↓ 4 callersFunctionbuild_scopes
(scopes: Option<&str>)
crates/openshell-cli/src/oidc_auth.rs:77
↓ 4 callersFunctionbuild_single_file_archive
(entry_path: &str, bytes: &[u8])
crates/openshell-cli/src/ssh.rs:2020
↓ 4 callersFunctionbundle_from_oauth2_response
( resp: &oauth2::basic::BasicTokenResponse, issuer: &str, client_id: &str, )
crates/openshell-cli/src/oidc_auth.rs:289
↓ 4 callersFunctioncalculate_denial_rate_pct
(network_activity_count: u64, denied_action_count: u64)
crates/openshell-server/src/telemetry.rs:38
↓ 4 callersFunctionchown_sandbox_home
(root: &Path, uid: Option<Uid>, gid: Option<Gid>)
crates/openshell-supervisor-process/src/process.rs:1105
↓ 4 callersFunctionclose_payload
(code: u16, reason: &[u8])
crates/openshell-supervisor-network/src/l7/websocket.rs:1211
↓ 4 callersFunctioncmdline_absolute_paths
(pid: u32)
crates/openshell-supervisor-network/src/procfs.rs:224
↓ 4 callersMethodcommand_exists
(&self, command: &str)
e2e/rust/src/harness/container.rs:217
↓ 4 callersFunctioncompose_effective_policy
( source_policy: &SandboxPolicy, provider_layers: &[ProviderPolicyLayer], )
crates/openshell-policy/src/compose.rs:59
↓ 4 callersFunctioncompute_provider_env_revision
( store: &Store, provider_names: &[String], )
crates/openshell-server/src/grpc/policy.rs:1238
↓ 4 callersFunctioncondition_from_state
Derive a `DriverCondition` from Podman container state.
crates/openshell-driver-podman/src/watcher.rs:333
↓ 4 callersMethodconfigure_launch
( &self, sandbox: &Sandbox, state_dir: &Path, plan: &mut LaunchPlan, )
crates/openshell-driver-vm/src/lifecycle.rs:553
↓ 4 callersFunctioncontainer_name_for_sandbox
(sandbox: &DriverSandbox)
crates/openshell-driver-docker/src/lib.rs:2958
↓ 4 callersFunctioncontinuation
(details: Any, request: Any)
python/openshell/sandbox_test.py:210
↓ 4 callersFunctioncount_as_u32
(count: usize)
crates/openshell-server/src/grpc/provider.rs:733
↓ 4 callersFunctioncount_as_u32
(count: usize)
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:260
↓ 4 callersFunctioncount_as_u32
(count: usize)
crates/openshell-providers/src/profiles.rs:1520
↓ 4 callersMethodcreate
Create a sandbox that runs a command to completion (no `--keep`). Captures the full CLI output and parses the sandbox name from it. The sandbox is cr
e2e/rust/src/harness/sandbox.rs:69
↓ 4 callersFunctioncreate_bucket
(bucket: &str)
crates/openshell-supervisor-network/tests/sigv4_localstack.rs:71
↓ 4 callersMethodcreate_sandbox
( &self, request: Request<CreateSandboxRequest>, )
crates/openshell-server/src/compute/mod.rs:221
↓ 4 callersFunctioncreate_sandbox_with_labels
(name: &str, labels: &[(&str, &str)])
e2e/rust/tests/sandbox_labels.rs:34
↓ 4 callersFunctioncredential_expiry_value_error
(key: Option<&str>, detail: &str)
crates/openshell-cli/src/run.rs:4061
↓ 4 callersFunctioncurrent_driver_name
(sysfs: &SysfsRoot, bdf: &str)
crates/openshell-vfio/src/bind.rs:17
↓ 4 callersMethoddata
( &mut self, channel: ChannelId, data: &[u8], _session: &mut Session, )
crates/openshell-supervisor-process/src/ssh.rs:506
↓ 4 callersMethoddefault
()
crates/openshell-cli/src/run.rs:1795
↓ 4 callersFunctiondefault_sandbox_image
()
crates/openshell-core/src/image.rs:21
↓ 4 callersFunctiondefault_template_to_k8s
(enable_user_namespaces: bool)
crates/openshell-driver-kubernetes/src/driver.rs:3223
↓ 4 callersFunctiondelete_bucket
(bucket: &str)
crates/openshell-supervisor-network/tests/sigv4_localstack.rs:105
↓ 4 callersMethoddelete_sandbox
( &self, sandbox_id: &str, sandbox_name: &str, )
crates/openshell-driver-vm/src/driver.rs:1031
↓ 4 callersFunctiondenied_network_shorthand
(status_detail: String)
crates/openshell-ocsf/src/format/shorthand.rs:662
↓ 4 callersFunctionderive_issuer_from_token_endpoint
Derive the issuer/realm URL from a token endpoint URL. For Keycloak token endpoints like: `https://auth.example.com/realms/openshell/protocol/openid-
crates/openshell-supervisor-network/src/token_grant.rs:461
↓ 4 callersFunctiondetect_driver
Auto-detect the appropriate compute driver based on the runtime environment. Priority order: Kubernetes → Podman → Docker. VM is never auto-detected
crates/openshell-core/src/config.rs:123
↓ 4 callersFunctiondiscover_from_profile
( profile: &ProviderTypeProfile, context: &dyn DiscoveryContext, )
crates/openshell-providers/src/discovery.rs:33
↓ 4 callersMethoddisplay_value
(&self)
crates/openshell-tui/src/app.rs:125
↓ 4 callersFunctiondocker_guest_tls_paths
( docker_config: &DockerComputeConfig, )
crates/openshell-driver-docker/src/lib.rs:3436
↓ 4 callersFunctiondocker_resource_limits
( template: &DriverSandboxTemplate, )
crates/openshell-driver-docker/src/lib.rs:2638
↓ 4 callersFunctiondraft_chunk_record_from_parts
( id: String, sandbox_id: String, status: String, hit_count: i64, payload: &[u8], crea
crates/openshell-server/src/policy_store.rs:372
↓ 4 callersFunctiondraw_confirm_popup
Render a bordered confirmation popup centred on `area`. `lines` is the popup body; height is derived from the line count. Use `t.border_focused` for
crates/openshell-tui/src/ui/mod.rs:641
↓ 4 callersMethoddriver_override_path
(&self)
crates/openshell-vfio/src/sysfs.rs:134
↓ 4 callersFunctiondriver_sandbox_from_inspect
Build a `DriverSandbox` from a container inspection result.
crates/openshell-driver-podman/src/watcher.rs:272
↓ 4 callersFunctiondynamic_credential_key_match_score
( key: &str, host: &str, port: u16, request_path: &str, )
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:186
↓ 4 callersFunctionedge_registration
(name: &str, endpoint: &str)
crates/openshell-cli/src/run.rs:7946
↓ 4 callersMethodeffective_ports
The effective list of ports for this endpoint.
crates/openshell-prover/src/policy.rs:195
↓ 4 callersFunctionemit_connect_activity_if_l4_only
( tx: &Option<ActivitySender>, l7_route: Option<&L7RouteSnapshot>, )
crates/openshell-supervisor-network/src/proxy.rs:430
↓ 4 callersFunctionemit_gateway_ocsf_event
(sandbox_id: &str, event: OcsfEvent)
crates/openshell-server/src/service_routing.rs:730
↓ 4 callersFunctionemit_lifecycle
( resource: LifecycleResource, operation: LifecycleOperation, outcome: TelemetryOutcome, )
crates/openshell-core/src/telemetry.rs:479
↓ 4 callersFunctionemit_policy_decision_failure
(operation: PolicyDecisionOperation, rule_count: u64)
crates/openshell-server/src/grpc/policy.rs:140
↓ 4 callersFunctionemit_policy_decision_success
(operation: PolicyDecisionOperation, rule_count: u64)
crates/openshell-server/src/grpc/policy.rs:132
↓ 4 callersFunctionenabled_env_value
()
crates/openshell-core/src/telemetry.rs:310
↓ 4 callersFunctionensure_chunk_belongs_to_sandbox
( chunk: &DraftChunkRecord, sandbox_id: &str, )
crates/openshell-server/src/grpc/policy.rs:285
↓ 4 callersFunctionensure_line_in_file
( path: &Path, line: &str, exists: impl Fn(&str) -> bool, )
crates/openshell-driver-vm/src/rootfs.rs:790
↓ 4 callersFunctionensure_log_stream_sandbox_scope
( state: &Arc<ServerState>, principal: &Principal, sandbox_id: &str, validated_sandbox_id: &mu
crates/openshell-server/src/grpc/policy.rs:2166
↓ 4 callersMethodensure_provisioning_active
(&self, sandbox_id: &str)
crates/openshell-driver-vm/src/driver.rs:1599
↓ 4 callersFunctionensure_sandbox_principal_scope
( principal: &Principal, claimed_sandbox_id: &str, )
crates/openshell-server/src/auth/guard.rs:78
↓ 4 callersFunctionerror_from_response
(status: u16, bytes: &Bytes)
crates/openshell-driver-podman/src/client.rs:725
↓ 4 callersFunctionevaluate_jsonrpc_l7_request_for_log
( engine: &TunnelPolicyEngine, ctx: &L7EvalContext, request: &L7RequestInfo, jsonrpc: &crate::
crates/openshell-supervisor-network/src/l7/relay.rs:1520
↓ 4 callersMethodevaluate_network_action_with_generation
Evaluate network action and return the policy generation used for the evaluation.
crates/openshell-supervisor-network/src/opa.rs:313
↓ 4 callersMethodfile
(&self, name: &str)
crates/openshell-vfio/src/sysfs.rs:108
↓ 4 callersMethodfiles
(&self)
crates/openshell-server/src/defaults.rs:30
↓ 4 callersFunctionfind_crlf
(buf: &[u8], start: usize)
crates/openshell-supervisor-network/src/l7/rest.rs:1893
← previousnext →801–900 of 9,017, ranked by callers