MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 4 callersFunctionfinding_with
(category_name: &str, paths: Vec<ExfilPath>)
crates/openshell-prover/src/report.rs:288
↓ 4 callersMethodfinish_error
Finish with an error message shown on the last step line.
crates/openshell-cli/src/run.rs:362
↓ 4 callersFunctionfmt_seconds
(value: float | None)
scripts/baseline_workflow_metrics.py:284
↓ 4 callersFunctionformat_timestamp
Format a total elapsed time for non-interactive mode timestamps.
crates/openshell-cli/src/run.rs:397
↓ 4 callersFunctionforward_pid_dir
Base directory for forward PID files.
crates/openshell-core/src/forward.rs:20
↓ 4 callersFunctiongateway_ocsf_ctx
(sandbox_id: &str, sandbox_name: &str)
crates/openshell-server/src/service_routing.rs:739
↓ 4 callersFunctiongateway_select_with
( name: Option<&str>, gateway_flag: &Option<String>, interactive: bool, choose_gateway: F, )
crates/openshell-cli/src/run.rs:817
↓ 4 callersFunctiongateway_type_label
(gateway: &GatewayMetadata)
crates/openshell-cli/src/run.rs:685
↓ 4 callersFunctiongenerate_stub_resources
(out_dir: &Path, names: &[&str])
crates/openshell-driver-vm/build.rs:144
↓ 4 callersFunctionget_comment_style
Return the comment prefix for a file, or None if unsupported.
scripts/update_license_headers.py:165
↓ 4 callersFunctionget_object_bool
Extract a bool value from a regorus object. Returns `None` when the key is absent or not a boolean.
crates/openshell-supervisor-network/src/l7/mod.rs:310
↓ 4 callersFunctionget_quantity
(s: &prost_types::Struct, section: &str, key: &str)
crates/openshell-server/src/compute/mod.rs:1632
↓ 4 callersMethodget_sandbox
( &self, sandbox_id: &str, sandbox_name: &str, )
crates/openshell-driver-vm/src/driver.rs:1115
↓ 4 callersMethodhandle
( &self, method: &str, path: &str, request: &[u8], stream: &mut S,
crates/openshell-sandbox/src/google_cloud_metadata.rs:52
↓ 4 callersFunctionhandle_create_provider
( state: &Arc<ServerState>, request: Request<CreateProviderRequest>, )
crates/openshell-server/src/grpc/provider.rs:1150
↓ 4 callersFunctionhandle_create_sandbox
( state: &Arc<ServerState>, request: Request<CreateSandboxRequest>, )
crates/openshell-server/src/grpc/sandbox.rs:61
↓ 4 callersFunctionhandle_create_ssh_session
( state: &Arc<ServerState>, request: Request<CreateSshSessionRequest>, )
crates/openshell-server/src/grpc/sandbox.rs:1330
↓ 4 callersFunctionhandle_get_draft_history
( state: &Arc<ServerState>, request: Request<GetDraftHistoryRequest>, )
crates/openshell-server/src/grpc/policy.rs:3034
↓ 4 callersFunctionhandle_get_service
( state: &Arc<ServerState>, request: Request<GetServiceRequest>, )
crates/openshell-server/src/grpc/service.rs:127
↓ 4 callersFunctionhandle_list_services
( state: &Arc<ServerState>, request: Request<ListServicesRequest>, )
crates/openshell-server/src/grpc/service.rs:142
↓ 4 callersFunctionhandle_undo_draft_chunk
( state: &Arc<ServerState>, request: Request<UndoDraftChunkRequest>, )
crates/openshell-server/src/grpc/policy.rs:2902
↓ 4 callersFunctionhandle_update_provider
( state: &Arc<ServerState>, request: Request<UpdateProviderRequest>, )
crates/openshell-server/src/grpc/provider.rs:1890
↓ 4 callersFunctionharden_child_process
()
crates/openshell-supervisor-process/src/process.rs:58
↓ 4 callersMethodhealth
( &self, _request: tonic::Request<HealthRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:36
↓ 4 callersFunctionhost_pattern_matches
(pattern: &str, host: &str)
crates/openshell-server/src/grpc/provider.rs:680
↓ 4 callersFunctionhost_pattern_matches
(pattern: &str, host: &str)
crates/openshell-providers/src/profiles.rs:1467
↓ 4 callersFunctionhtml_response
(status: StatusCode, message: &str)
crates/openshell-cli/src/oidc_auth.rs:437
↓ 4 callersFunctionhttp1_get
( addr: std::net::SocketAddr, path: &str, headers: &[(&str, &str)], )
crates/openshell-server/src/multiplex.rs:865
↓ 4 callersFunctionhttp_get
Make an HTTP/1.1 GET request and return (status, body).
crates/openshell-server/tests/auth_endpoint_integration.rs:184
↓ 4 callersFunctionimage_cache_dir
(root: &Path, image_identity: &str)
crates/openshell-driver-vm/src/driver.rs:4277
↓ 4 callersFunctionimage_cache_staging_dir
(root: &Path, image_identity: &str)
crates/openshell-driver-vm/src/driver.rs:4285
↓ 4 callersFunctioninject_provider_env
(cmd: &mut Command, provider_env: &HashMap<String, String>)
crates/openshell-supervisor-process/src/process.rs:48
↓ 4 callersFunctioninsert_implicit_platform_build_args
Seed Docker's implicit `BuildKit` platform args without replacing caller values. `target_platform` identifies the output image. `build_platform` iden
crates/openshell-bootstrap/src/build.rs:106
↓ 4 callersFunctioninspected_volume
(driver: &str, options: HashMap<String, String>)
crates/openshell-driver-docker/src/tests.rs:157
↓ 4 callersFunctioninstall_static_skills_at
(root: &Path)
crates/openshell-supervisor-process/src/skills.rs:32
↓ 4 callersFunctionis_cloud_metadata_ip
Returns `true` if `ip` is a known cloud instance metadata endpoint that must never be exempted from SSRF blocking. IPv4-mapped IPv6 addresses (e.g. `
crates/openshell-supervisor-network/src/proxy.rs:2266
↓ 4 callersFunctionis_env_key_char
Characters that are valid in an env var key name (used to extract placeholder boundaries within concatenated strings like path segments).
crates/openshell-core/src/secrets.rs:18
↓ 4 callersFunctionis_excluded
Return True if a path should be skipped.
scripts/update_license_headers.py:102
↓ 4 callersFunctionis_link_local_ip
Check if an IP address is link-local. Covers IPv4 `169.254.0.0/16`, IPv6 `fe80::/10`, and IPv4-mapped IPv6 addresses whose embedded IPv4 address is l
crates/openshell-core/src/net.rs:33
↓ 4 callersFunctionis_token_expired
Check if the stored access token is expired or near expiry. Returns `true` if the token expires within the next 30 seconds.
crates/openshell-bootstrap/src/oidc_token.rs:82
↓ 4 callersFunctionjwt_signing_secret
Build an `Opaque` Secret carrying the gateway-minted sandbox JWT signing material. Mounted only on the gateway pod — sandbox pods receive a per-pod ga
crates/openshell-server/src/certgen.rs:321
↓ 4 callersFunctionkubernetes_config_for_k8s_sa_bootstrap
( file: Option<&config_file::ConfigFile>, )
crates/openshell-server/src/compute/driver_config.rs:57
↓ 4 callersFunctionl7_jsonrpc_response_input
(host: &str, port: u16, path: &str)
crates/openshell-supervisor-network/src/opa.rs:2157
↓ 4 callersFunctionl7_matchers_to_json
( matchers: &std::collections::HashMap<String, openshell_core::proto::L7QueryMatcher>, )
crates/openshell-supervisor-network/src/opa.rs:1084
↓ 4 callersFunctionl7_websocket_graphql_input
(host: &str, operations: serde_json::Value)
crates/openshell-supervisor-network/src/opa.rs:2217
↓ 4 callersMethodlist_containers
List containers matching a label filter (e.g. `"openshell.managed=true"`).
crates/openshell-driver-podman/src/client.rs:471
↓ 4 callersMethodlist_messages
List and decode protobuf messages, hydrating `resource_version` from the authoritative DB row (mirrors `get_message`).
crates/openshell-server/src/persistence/mod.rs:394
↓ 4 callersFunctionlist_refresh_states_for_provider
( store: &Store, provider_id: &str, )
crates/openshell-server/src/provider_refresh.rs:50
↓ 4 callersMethodload
(runtime_dir: &Path)
crates/openshell-driver-vm/src/ffi.rs:120
↓ 4 callersFunctionload_credential_set_embedded
Load credentials with API registries from the embedded registry.
crates/openshell-prover/src/credentials.rs:346
↓ 4 callersFunctionload_oidc_token
Load a stored OIDC token bundle for a gateway. Returns `None` if the token file does not exist or cannot be parsed.
crates/openshell-bootstrap/src/oidc_token.rs:59
↓ 4 callersFunctionlookup
(method: &str)
crates/openshell-server/src/auth/method_authz.rs:61
↓ 4 callersFunctionmatcher_def_to_proto
(matcher: QueryMatcherDef)
crates/openshell-policy/src/lib.rs:370
↓ 4 callersFunctionmatcher_proto_to_def
(matcher: L7QueryMatcher)
crates/openshell-policy/src/lib.rs:380
↓ 4 callersFunctionmcp_rule_has_tool_selector
(rule: &serde_json::Value)
crates/openshell-supervisor-network/src/l7/mod.rs:758
↓ 4 callersMethodname
(&self)
crates/openshell-server/src/lib.rs:828
↓ 4 callersMethodname
(&self)
crates/openshell-driver-vm/src/driver.rs:6834
↓ 4 callersFunctionnew_test_runtime
(store: Arc<Store>)
crates/openshell-server/src/compute/mod.rs:2096
↓ 4 callersMethodnext_device_ids
Return the next default device IDs and advance the cursor.
crates/openshell-core/src/gpu.rs:192
↓ 4 callersFunctionnon_empty_or
(value: &'a str, fallback: &'a str)
crates/openshell-cli/src/run.rs:7818
↓ 4 callersFunctionnormalize_compute_driver_name
Normalize a configured compute driver name. Built-in driver names and custom remote driver names share the same selection namespace. The normalized v
crates/openshell-core/src/config.rs:78
↓ 4 callersFunctionnormalize_host
(host: &str)
crates/openshell-prover/src/credentials.rs:169
↓ 4 callersFunctionnormalize_mount_target
Normalize a validated container-side mount target for semantic comparison.
crates/openshell-core/src/driver_mounts.rs:118
↓ 4 callersFunctionnormalize_protocols
Normalize a list of protocol strings: trim, lowercase, deduplicate, skip empty.
crates/openshell-core/src/inference.rs:311
↓ 4 callersFunctionnow_secs
()
crates/openshell-server/src/auth/sandbox_jwt.rs:236
↓ 4 callersFunctionobtain_provider_token_with_grant
( input: ObtainProviderTokenInput<'_>, grant: F, )
crates/openshell-supervisor-network/src/token_grant.rs:207
↓ 4 callersFunctionopenshell_config_dir
The top-level `OpenShell` config directory: `$XDG_CONFIG_HOME/openshell/`.
crates/openshell-core/src/paths.rs:30
↓ 4 callersFunctionopenshell_state_dir
The top-level `OpenShell` state directory: `$XDG_STATE_HOME/openshell/`.
crates/openshell-core/src/paths.rs:48
↓ 4 callersFunctionparse_credential_expiry_pairs
(items: &[String])
crates/openshell-cli/src/run.rs:4101
↓ 4 callersFunctionparse_iso
(value: str | None)
scripts/baseline_workflow_metrics.py:130
↓ 4 callersFunctionparse_upload_spec
Parse an upload spec like `<local>[:<remote>]` into (`local_path`, `optional_sandbox_path`).
crates/openshell-cli/src/main.rs:3170
↓ 4 callersFunctionpending_sandbox_snapshot
( sandbox: &DriverSandbox, namespace: &str, condition: DriverCondition, deleting: bool, )
crates/openshell-driver-docker/src/lib.rs:1568
↓ 4 callersFunctionpercent_decode
Percent-decode a URL-encoded string.
crates/openshell-core/src/secrets.rs:621
↓ 4 callersMethodping
Ping the Podman API to verify connectivity.
crates/openshell-driver-podman/src/client.rs:607
↓ 4 callersFunctionplatform_config_struct
Extract a nested Struct value from the template's `platform_config`, converting it to `serde_json::Value`.
crates/openshell-driver-kubernetes/src/driver.rs:2112
↓ 4 callersFunctionpolicy_payload_from_record
(record: &PolicyRecord)
crates/openshell-server/src/policy_store.rs:288
↓ 4 callersFunctionpolled_health_router
Build a [`health_router`] that has already observed its first probe outcome. Test-only — production code must not block the listener on the first poll
crates/openshell-server/src/http.rs:441
↓ 4 callersFunctionprepare
Phase 1: Prepare sandbox restrictions **as root** (before `drop_privileges`). Opens Landlock `PathFds` while the process still has root privileges, e
crates/openshell-supervisor-process/src/sandbox/linux/mod.rs:25
↓ 4 callersFunctionprint_output_direct
Print pre-formatted output in specified format (json/yaml/table). Use this when converter functions return `Result<String>` instead of `serde_json::V
crates/openshell-cli/src/output.rs:142
↓ 4 callersFunctionprint_timeout
(timeout_secs: u64)
crates/openshell-cli/src/run.rs:5952
↓ 4 callersFunctionprobe_host_nvidia_vfio_readiness
Scan sysfs for NVIDIA GPUs eligible for VFIO passthrough.
crates/openshell-vfio/src/gpu.rs:27
↓ 4 callersFunctionprofile_response_payload
( mut profile: ProviderProfile, resource_version: u64, )
crates/openshell-server/src/grpc/provider.rs:1825
↓ 4 callersFunctionproposed_curl_rule_for_github
Helpers — synthetic proposed rule + policy with that rule already merged. Both reused across reload-readiness tests.
crates/openshell-supervisor-network/src/policy_local.rs:1843
↓ 4 callersMethodpublish_external
Publish a log line from an external source (e.g., sandbox push). Injects the line into the same broadcast channel and tail buffer used by the tracing
crates/openshell-server/src/tracing_bus.rs:105
↓ 4 callersMethodpublish_prepared_cache_hit
( &self, sandbox_id: &str, image_ref: &str, image_source: &str, image_
crates/openshell-driver-vm/src/driver.rs:2498
↓ 4 callersFunctionqemu_config
()
crates/openshell-driver-vm/src/runtime.rs:1405
↓ 4 callersMethodquery_sandbox_config
Query static sandbox configuration from the OPA data module. Extracts `filesystem_policy`, `landlock`, and `process` from the Rego data and converts
crates/openshell-supervisor-network/src/opa.rs:454
↓ 4 callersFunctionread_forward_pid
Read the PID from a forward PID file. Returns `None` if the file does not exist or cannot be parsed.
crates/openshell-core/src/forward.rs:77
↓ 4 callersFunctionreap_expired_sessions
(store: &Store)
crates/openshell-server/src/ssh_sessions.rs:36
↓ 4 callersFunctionredact_query_strings
Replace any `?<query>` substring with `?[redacted]` to keep query-string secrets out of the agent's view. Walks per Unicode scalar value so multi-byte
crates/openshell-supervisor-network/src/policy_local.rs:389
↓ 4 callersMethodrefresh
Replace the cached inventory snapshot without resetting the cursor.
crates/openshell-core/src/gpu.rs:166
↓ 4 callersFunctionrefresh_data
(app: &mut App)
crates/openshell-tui/src/lib.rs:1904
↓ 4 callersFunctionrefresh_providers
(app: &mut App)
crates/openshell-tui/src/lib.rs:1911
↓ 4 callersFunctionregister
Add `pid` to the supervised-child set. Non-positive or out-of-range values are silently ignored.
crates/openshell-supervisor-process/src/managed_children.rs:21
↓ 4 callersFunctionregister_session
( registry: &SupervisorSessionRegistry, sandbox_id: &str, )
crates/openshell-server/tests/supervisor_relay_integration.rs:450
↓ 4 callersFunctionreject_control_chars
Reject null bytes and newlines in a user-supplied value.
crates/openshell-server/src/grpc/validation.rs:72
↓ 4 callersFunctionreject_subpath
(subpath: Option<&str>, mount_type: &str)
crates/openshell-driver-podman/src/container.rs:702
↓ 4 callersFunctionrelay_client_to_server
( reader: &mut R, writer: &mut W, host: &str, port: u16, options: &RelayOptions<'_>, )
crates/openshell-supervisor-network/src/l7/websocket.rs:113
↓ 4 callersFunctionrelay_http_request_with_resolver_guarded
( req: &L7Request, client: &mut C, upstream: &mut U, resolver: Option<&SecretResolver>, ge
crates/openshell-supervisor-network/src/l7/rest.rs:382
↓ 4 callersMethodrelease
Release a GPU assignment. The `GpuBindGuard` is dropped, restoring the GPU.
crates/openshell-driver-vm/src/gpu.rs:118
← previousnext →901–1,000 of 9,017, ranked by callers