MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 5 callersFunctioncreate_sandbox_mountpoint
(path: &Path)
crates/openshell-driver-vm/src/rootfs.rs:417
↓ 5 callersFunctiondefault_profiles
()
crates/openshell-providers/src/profiles.rs:1702
↓ 5 callersFunctiondiscover
Discover OIDC endpoints from the issuer's well-known configuration. Validates that the discovery document's `issuer` field matches the configured iss
crates/openshell-cli/src/oidc_auth.rs:45
↓ 5 callersFunctiondiscover_with_spec
( spec: &ProviderDiscoverySpec, context: &dyn DiscoveryContext, )
crates/openshell-providers/src/discovery.rs:9
↓ 5 callersFunctiondraw_text_field
( frame: &mut Frame<'_>, label: &str, value: &str, placeholder: &str, focused: bool, a
crates/openshell-tui/src/ui/mod.rs:585
↓ 5 callersFunctiondriver_config_from_context
(context: DriverStartupContext<'_>, driver_name: &str)
crates/openshell-server/src/compute/driver_config.rs:115
↓ 5 callersMethoddrivers_probe
(&self)
crates/openshell-vfio/src/sysfs.rs:50
↓ 5 callersMethoddynamic_credentials
( &self, )
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:441
↓ 5 callersFunctionedge_metadata
(name: &str, endpoint: &str)
crates/openshell-cli/src/main.rs:3219
↓ 5 callersFunctionemit_event
(name: &'static str, event: Value)
crates/openshell-core/src/telemetry.rs:453
↓ 5 callersFunctionendpoint_key
(sandbox: &str, service: &str)
crates/openshell-server/src/service_routing.rs:41
↓ 5 callersFunctionenforce_sandbox_scope
( request: &tonic::Request<T>, claimed_sandbox_id: &str, )
crates/openshell-server/src/auth/guard.rs:57
↓ 5 callersFunctionextract_field
Extract a single space-delimited field value from a nftables log line. Given `"DST="` and a string like `"...DST=93.184.216.34 LEN=60..."`, returns `
crates/openshell-supervisor-process/src/bypass_monitor/mod.rs:84
↓ 5 callersMethodextract_roles
Extract roles from the JWT claims using a dot-separated path. Supports paths like: - `realm_access.roles` (Keycloak) - `roles` (Entra ID) - `groups`
crates/openshell-server/src/auth/oidc.rs:119
↓ 5 callersFunctionformat_gateway_url
Format a gateway URL, bracketing IPv6 literals when needed.
crates/openshell-core/src/forward.rs:751
↓ 5 callersMethodgcp_token_response
Return the GCP token placeholder and its remaining lifetime in seconds. Searches `google_cloud::TOKEN_ENV_KEYS` in priority order (SA before ADC) ato
crates/openshell-core/src/provider_credentials.rs:174
↓ 5 callersFunctiongenerate_name
Generate a random 6-character lowercase alphabetic name.
crates/openshell-server/src/persistence/mod.rs:132
↓ 5 callersFunctiongenerate_server_cert
Generate a new server cert + key in `dir`, signed by the given CA. Overwrites `server-cert.pem` and `server-key.pem`.
crates/openshell-server/src/tls.rs:360
↓ 5 callersMethodget_sandbox_policy_status
( &self, _request: tonic::Request<openshell_core::proto::GetSandboxPolicyStatusRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:340
↓ 5 callersFunctiongit_sync_files
(local_path: &Path)
crates/openshell-cli/src/run.rs:6004
↓ 5 callersFunctiongoogle_cloud_provider
(config: HashMap<String, String>)
crates/openshell-server/src/grpc/provider.rs:6032
↓ 5 callersFunctionhandle_reject_draft_chunk
( state: &Arc<ServerState>, request: Request<RejectDraftChunkRequest>, )
crates/openshell-server/src/grpc/policy.rs:2620
↓ 5 callersFunctionheader_map_with_bearer
(token: &str)
crates/openshell-server/src/auth/sandbox_jwt.rs:250
↓ 5 callersFunctionimport_test_graph_refresh_profile
(state: &Arc<ServerState>)
crates/openshell-server/src/grpc/provider.rs:3080
↓ 5 callersFunctionin_memory_store
()
crates/openshell-server/src/http.rs:430
↓ 5 callersMethodincludes_policy
(self)
crates/openshell-cli/src/run.rs:100
↓ 5 callersMethodinject_env
(&self, provider: &Provider, env: &mut HashMap<String, String>)
crates/openshell-providers/src/providers/vertex.rs:48
↓ 5 callersFunctioninject_if_needed
Checks for endpoint-bound token grant credentials and injects an Authorization header before forwarding the request upstream.
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:67
↓ 5 callersFunctioninstall_executable_script
( dir: &TempDir, name: &str, contents: impl AsRef<[u8]>, )
crates/openshell-cli/tests/sandbox_create_lifecycle_integration.rs:717
↓ 5 callersMethodiommu_group_devices
Enumerate all PCI BDFs in the given IOMMU group.
crates/openshell-vfio/src/sysfs.rs:82
↓ 5 callersFunctionis_alias_token_char
(b: u8)
crates/openshell-core/src/secrets.rs:22
↓ 5 callersFunctionis_always_blocked_ip
Check if an IP address is always blocked regardless of policy. Loopback, link-local, and unspecified addresses are never allowed even when an endpoin
crates/openshell-core/src/net.rs:55
↓ 5 callersFunctionis_http_token
(value: &str)
crates/openshell-supervisor-network/src/l7/rest.rs:1468
↓ 5 callersFunctionis_mcp_protocol
(protocol: &str)
crates/openshell-policy/src/lib.rs:568
↓ 5 callersFunctionkid_from_public_key_der
Stable `kid` derived from the SHA-256 of the public-key DER. First 16 bytes hex-encoded — collision-resistant for the small N of signing keys a singl
crates/openshell-bootstrap/src/jwt.rs:60
↓ 5 callersMethodlist_draft_chunks
( &self, sandbox_id: &str, status_filter: Option<&str>, )
crates/openshell-server/src/persistence/sqlite.rs:704
↓ 5 callersFunctionlist_forwards
List all tracked forwards.
crates/openshell-core/src/forward.rs:478
↓ 5 callersFunctionlist_sandboxes_with_selector
(selector: &str)
e2e/rust/tests/sandbox_labels.rs:60
↓ 5 callersFunctionlog
(message: str)
e2e/mcp-conformance/host-bridge.py:74
↓ 5 callersFunctionmake_driver_condition
(reason: &str, message: &str)
crates/openshell-server/src/compute/mod.rs:2412
↓ 5 callersFunctionmake_driver_status
(condition: DriverCondition)
crates/openshell-server/src/compute/mod.rs:2422
↓ 5 callersFunctionmake_provider
(config: HashMap<String, String>)
crates/openshell-providers/src/providers/vertex.rs:86
↓ 5 callersFunctionmake_route
(endpoint: &str, protocols: &[&str], model: &str)
crates/openshell-router/src/mock.rs:146
↓ 5 callersFunctionmake_session
(id: &str, sandbox_id: &str, expires_at_ms: i64, revoked: bool)
crates/openshell-server/src/ssh_sessions.rs:81
↓ 5 callersMethodnetwork_label
(self)
crates/openshell-ocsf/src/enums/activity.rs:52
↓ 5 callersFunctionnormalize_host_lookup_key
(host: &str)
crates/openshell-supervisor-network/src/proxy.rs:2245
↓ 5 callersFunctionpair
()
crates/openshell-server/src/auth/sandbox_jwt.rs:259
↓ 5 callersFunctionparse_env_pairs
(items: &[String])
crates/openshell-cli/src/run.rs:3993
↓ 5 callersFunctionparse_jsonrpc_body_with_options
Parse a JSON-RPC-family body using the endpoint's inspection options.
crates/openshell-supervisor-network/src/l7/jsonrpc.rs:165
↓ 5 callersFunctionparse_key_value_pairs
(items: &[String], flag: &str)
crates/openshell-cli/src/run.rs:3974
↓ 5 callersFunctionparse_policy
Parse an `OpenShell` policy YAML file into a [`PolicyModel`].
crates/openshell-prover/src/policy.rs:340
↓ 5 callersMethodparse_request
( &self, client: &mut C, )
crates/openshell-supervisor-network/src/l7/rest.rs:75
↓ 5 callersFunctionplace_downloaded_file
Move a single file extracted by `stream_sandbox_tar` into its final position on the host. `staging_dir` must contain a single regular-file entry name
crates/openshell-cli/src/ssh.rs:1264
↓ 5 callersFunctionpolicy_for_view
(policy: &SandboxPolicy, view: PolicyGetView)
crates/openshell-cli/src/run.rs:7299
↓ 5 callersFunctionprepare_gpu_for_passthrough
Bind a GPU to `vfio-pci`, returning an RAII guard that restores it on drop. Also binds all companion devices in the same IOMMU group (e.g. the HD Aud
crates/openshell-vfio/src/gpu.rs:84
↓ 5 callersFunctionprint_profile_diagnostics
(diagnostics: &[ProviderProfileDiagnostic])
crates/openshell-cli/src/run.rs:5536
↓ 5 callersFunctionprocfs_root_accessible
()
crates/openshell-supervisor-network/src/opa.rs:6133
↓ 5 callersFunctionprovider
()
python/openshell/sandbox_test.py:196
↓ 5 callersFunctionprovider
Create a provider for the duration of the block, then delete it.
e2e/python/test_sandbox_providers.py:67
↓ 5 callersFunctionprovider_delete
(server: &str, names: &[String], tls: &TlsOptions)
crates/openshell-cli/src/run.rs:5722
↓ 5 callersFunctionprovider_list
( server: &str, limit: u32, offset: u32, names_only: bool, output: &str, tls: &TlsOpti
crates/openshell-cli/src/run.rs:4946
↓ 5 callersFunctionprovider_profile_import
( server: &str, file: Option<&Path>, from: Option<&Path>, tls: &TlsOptions, )
crates/openshell-cli/src/run.rs:5105
↓ 5 callersFunctionprovisioning_timeout_message
( timeout_secs: u64, resource_requirements: Option<&ResourceRequirements>, condition_message: Opti
crates/openshell-cli/src/run.rs:147
↓ 5 callersFunctionproxy_env_vars
(proxy_url: &str)
crates/openshell-supervisor-process/src/child_env.rs:8
↓ 5 callersFunctionpush_section
( lines: &mut Vec<Line<'_>>, title: &'static str, values: &[String], t: &crate::theme::Theme,
crates/openshell-tui/src/ui/create_provider.rs:646
↓ 5 callersFunctionpush_unique
(paths: &mut Vec<String>, path: String)
crates/openshell-sandbox/src/lib.rs:768
↓ 5 callersMethodquery_allowed_ips
Query `allowed_ips` from the matched endpoint config for a given request. Returns the list of CIDR/IP strings from the endpoint's `allowed_ips` field
crates/openshell-supervisor-network/src/opa.rs:557
↓ 5 callersFunctionread_local_bundle
(paths: &LocalPaths)
crates/openshell-server/src/certgen.rs:606
↓ 5 callersFunctionread_ppid
(pid: u32)
crates/openshell-supervisor-network/src/procfs.rs:175
↓ 5 callersMethodreadable_paths
All readable paths (union of `read_only` and `read_write`), with workdir added when `include_workdir` is true and not already present.
crates/openshell-prover/src/policy.rs:263
↓ 5 callersFunctionrecent_denials_response
( ctx: &PolicyLocalContext, query: &str, )
crates/openshell-supervisor-network/src/policy_local.rs:289
↓ 5 callersMethodreconcile_store_with_backend
(&self, grace_period: Duration)
crates/openshell-server/src/compute/mod.rs:1036
↓ 5 callersFunctionrelay_passthrough_with_credentials
Relay HTTP traffic with credential injection only (no L7 OPA evaluation). Used when TLS is auto-terminated but no L7 policy (`protocol` + `access`/`r
crates/openshell-supervisor-network/src/l7/relay.rs:1672
↓ 5 callersFunctionrelay_with_route_selection
Run HTTP L7 inspection with per-request protocol selection. This is used when multiple L7 endpoints share a host:port, for example a REST API under `
crates/openshell-supervisor-network/src/l7/relay.rs:230
↓ 5 callersFunctionremote_driver_config_from_context
( context: DriverStartupContext<'_>, name: &str, )
crates/openshell-server/src/compute/driver_config.rs:98
↓ 5 callersFunctionremove_path_if_exists
(path: &Path)
crates/openshell-driver-vm/src/driver.rs:3951
↓ 5 callersFunctionrequest_host
(req: &Request<B>)
crates/openshell-server/src/service_routing.rs:481
↓ 5 callersFunctionrequest_is_websocket_upgrade
(raw_header: &[u8])
crates/openshell-supervisor-network/src/l7/rest.rs:1163
↓ 5 callersFunctionrequire_any_rootfs_path
(rootfs: &Path, candidates: &[&str])
crates/openshell-driver-vm/src/rootfs.rs:886
↓ 5 callersFunctionresolve_binary_in_container
(policy_path: &str, entrypoint_pid: u32)
crates/openshell-supervisor-network/src/opa.rs:989
↓ 5 callersFunctionresolve_community_image
Resolve a user-supplied image string into a fully-qualified reference. Resolution rules (applied in order): 1. If the value contains `/`, `:`, or `.`
crates/openshell-core/src/image.rs:37
↓ 5 callersFunctionresolve_process_identity
( entrypoint_pid: u32, peer_port: u16, identity_cache: &BinaryIdentityCache, )
crates/openshell-supervisor-network/src/proxy.rs:1480
↓ 5 callersMethodresolve_routes
(&self)
crates/openshell-router/src/config.rs:105
↓ 5 callersMethodresume_persisted_sandboxes
Resume sandboxes whose store records say they should be running. Drivers that do not auto-restart compute resources across gateway restarts (currently
crates/openshell-server/src/compute/mod.rs:750
↓ 5 callersMethodrewrite_text_placeholders
( &self, text: &mut String, location: &'static str, )
crates/openshell-core/src/secrets.rs:304
↓ 5 callersFunctionroute_headers_from_provider_type
Derive auth header style, default headers, and passthrough headers from a provider type string. Delegates to [`openshell_core::inference::route_heade
crates/openshell-router/src/config.rs:162
↓ 5 callersFunctionrule
(name: &str, host: &str)
crates/openshell-policy/src/compose.rs:100
↓ 5 callersFunctionrun_engine
(engine: &ContainerEngine, args: &[String])
e2e/rust/tests/local_driver_token_restart.rs:81
↓ 5 callersFunctionsandbox_forward
Forward a local port to a sandbox via SSH. Background mode keeps the spawned `ssh -N` child alive and records that PID for later management via [`sto
crates/openshell-cli/src/ssh.rs:328
↓ 5 callersFunctionsandbox_get
Fetch a sandbox by name. Policy always comes from [`GetSandboxConfig`] (effective active policy, sandbox or global). With `policy_only`, prints only
crates/openshell-cli/src/run.rs:2610
↓ 5 callersFunctionsandbox_upload_plan
(local_path: &Path, git_ignore: bool)
crates/openshell-cli/src/run.rs:6092
↓ 5 callersFunctionsanitize_request_headers
( route: &ResolvedRoute, headers: &[(String, String)], )
crates/openshell-router/src/backend.rs:106
↓ 5 callersFunctionsave_sandbox_settings
( store: &Store, sandbox_name: &str, settings: &StoredSettings, )
crates/openshell-server/src/grpc/policy.rs:3740
↓ 5 callersFunctionselect_driver_config
( config: &Option<prost_types::Struct>, driver_name: &str, )
crates/openshell-server/src/compute/mod.rs:1606
↓ 5 callersMethodset_status_detail
Set status detail.
crates/openshell-ocsf/src/events/base_event.rs:177
↓ 5 callersMethodsnapshot
(&self)
crates/openshell-core/src/provider_credentials.rs:66
↓ 5 callersMethodtls_enabled
(&self)
crates/openshell-driver-podman/src/config.rs:144
↓ 5 callersFunctiontoken_review_status
( authenticated: bool, audiences: Vec<&str>, username: &str, extra: Vec<(&str,
crates/openshell-server/src/auth/k8s_sa.rs:589
↓ 5 callersFunctiontry_open_path
Attempt to open a path for Landlock rule creation. In `BestEffort` mode, inaccessible paths (missing, permission denied, symlink loops, etc.) are ski
crates/openshell-supervisor-process/src/sandbox/linux/landlock.rs:328
↓ 5 callersFunctionupload_archive_entries
(source: UploadSource)
crates/openshell-cli/src/ssh.rs:2171
← previousnext →701–800 of 9,017, ranked by callers