MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 8 callersMethodfrom
(gpu: GpuCliRequest)
crates/openshell-cli/src/main.rs:39
↓ 8 callersMethodget_by_name
Fetch an object by name within an object type.
crates/openshell-server/src/persistence/mod.rs:287
↓ 8 callersMethodget_draft_chunk
(&self, id: &str)
crates/openshell-server/src/persistence/sqlite.rs:687
↓ 8 callersFunctionget_object_str
Extract a string value from a regorus object.
crates/openshell-supervisor-network/src/l7/mod.rs:333
↓ 8 callersFunctionhandle_detach_sandbox_provider
( state: &Arc<ServerState>, request: Request<DetachSandboxProviderRequest>, )
crates/openshell-server/src/grpc/sandbox.rs:404
↓ 8 callersFunctionidentity_with_roles
(roles: &[&str])
crates/openshell-server/src/auth/authz.rs:151
↓ 8 callersFunctionimage_cache_rootfs_image
(root: &Path, image_identity: &str)
crates/openshell-driver-vm/src/driver.rs:4281
↓ 8 callersFunctionjson
(res, status, body)
examples/spiffe-token-grant-demo/k8s/token-issuer.js:124
↓ 8 callersFunctionlist_gateways_with_source
List all gateways that have stored metadata, along with the config layer that supplied each record.
crates/openshell-bootstrap/src/metadata.rs:312
↓ 8 callersMethodlist_with_selector
List objects by type with label selector filtering. Label selector format: "key1=value1,key2=value2" (comma-separated equality matches).
crates/openshell-server/src/persistence/mod.rs:328
↓ 8 callersFunctionmake_route
(name: &str, provider_name: &str, model_id: &str)
crates/openshell-server/src/inference.rs:1025
↓ 8 callersFunctionmake_test_provider
( name: &str, provider_type: &str, credentials: HashMap<String, String>, confi
crates/openshell-server/src/grpc/validation.rs:1129
↓ 8 callersMethodname
(&self)
crates/openshell-driver-vm/src/lifecycle.rs:836
↓ 8 callersFunctionnetwork_activity
(event: &OcsfEvent)
crates/openshell-supervisor-process/src/supervisor_session.rs:752
↓ 8 callersFunctionnormalize_profile_id
(input: &str)
crates/openshell-providers/src/profiles.rs:1061
↓ 8 callersFunctionparse_kmsg_line
Parse a nftables log line from `/dev/kmsg`. Expected format (from the kernel LOG target): ```text ...,;openshell:bypass:<ns-id>:IN= OUT=veth-s-... SR
crates/openshell-supervisor-process/src/bypass_monitor/mod.rs:56
↓ 8 callersFunctionprint_output_collection
Print collection output in specified format (json/yaml/table). # Returns - `Ok(true)` if format was handled (json/yaml), caller should return - `Ok(f
crates/openshell-cli/src/output.rs:54
↓ 8 callersFunctionprocess_inference_keepalive
Read and process HTTP requests from a TLS-terminated inference connection. Each request is matched against inference patterns and routed locally. Any
crates/openshell-supervisor-network/src/proxy.rs:1718
↓ 8 callersFunctionprovider_to_json
(provider: &Provider)
crates/openshell-cli/src/run.rs:4892
↓ 8 callersFunctionpush_unique_path
(paths: &mut Vec<PathBuf>, path: PathBuf)
crates/openshell-server/src/compute/vm.rs:248
↓ 8 callersMethodremove
Remove the session for a sandbox.
crates/openshell-server/src/supervisor_session.rs:147
↓ 8 callersMethodremove_container
Force-remove a container and its anonymous volumes.
crates/openshell-driver-podman/src/client.rs:449
↓ 8 callersMethodremove_volume
Remove a named volume. Idempotent (not-found is ignored).
crates/openshell-driver-podman/src/client.rs:495
↓ 8 callersFunctionresolve_and_reject_internal
Resolve a host:port using sandbox `/etc/hosts` first (when available), then reject if any resolved address is internal. Returns the resolved `SocketA
crates/openshell-supervisor-network/src/proxy.rs:2604
↓ 8 callersFunctionresolve_route_by_name
( store: &Store, route_name: &str, )
crates/openshell-server/src/inference.rs:933
↓ 8 callersMethodresolver
(&self)
crates/openshell-supervisor-network/src/l7/token_grant_injection.rs:447
↓ 8 callersFunctionsave_active_gateway
Save the active gateway name to persistent storage.
crates/openshell-bootstrap/src/metadata.rs:232
↓ 8 callersFunctionscoped_policy
()
crates/openshell-server/src/auth/authz.rs:143
↓ 8 callersFunctiontest_driver_startup
( config: &'a Config, file: Option<&'a super::config_file::ConfigFile>, )
crates/openshell-server/src/lib.rs:921
↓ 8 callersFunctionto_u16
(value: u32)
crates/openshell-supervisor-process/src/ssh.rs:1229
↓ 8 callersFunctionupsert_setting_value
( map: &mut BTreeMap<String, StoredSettingValue>, key: &str, value: StoredSettingValue, )
crates/openshell-server/src/grpc/policy.rs:3702
↓ 8 callersFunctionuser_gateway_metadata_path
(name: &str)
crates/openshell-bootstrap/src/metadata.rs:100
↓ 8 callersFunctionvalid_session_response
()
crates/openshell-core/src/forward.rs:1064
↓ 8 callersFunctionvalidate_gpu_request
(sandbox: &Sandbox, gpu_enabled: bool)
crates/openshell-driver-vm/src/driver.rs:3172
↓ 8 callersFunctionvalidate_rule_not_always_blocked
(rule: &NetworkPolicyRule)
crates/openshell-server/src/grpc/policy.rs:3297
↓ 8 callersMethodvalidate_tls_config
Validate TLS configuration consistency. Returns `Ok(())` when either all three TLS paths are set (full mTLS) or none are set (plaintext). Returns an
crates/openshell-driver-podman/src/config.rs:154
↓ 8 callersMethodverify_or_cache
(&self, path: &Path)
crates/openshell-supervisor-network/src/identity.rs:102
↓ 8 callersMethodvfio_pci_remove_id
(&self)
crates/openshell-vfio/src/sysfs.rs:58
↓ 8 callersFunctionwait_for_healthy
(timeout: Duration)
e2e/rust/src/harness/cli.rs:27
↓ 8 callersMethodwith_grpc_rate_limit
( mut self, requests: Option<u64>, window_secs: Option<u64>, )
crates/openshell-core/src/config.rs:658
↓ 8 callersMethodwith_server_sans
(mut self, sans: I)
crates/openshell-core/src/config.rs:692
↓ 8 callersFunctionwrite_rootfs_image_file
( image_path: &Path, guest_path: &str, contents: &[u8], )
crates/openshell-driver-vm/src/rootfs.rs:156
↓ 8 callersFunctionwrite_tmp
(contents: &str)
crates/openshell-server/src/config_file.rs:327
↓ 7 callersFunction_get_token
Get an access token from Keycloak via password grant.
e2e/python/oidc/oidc_auth_test.py:96
↓ 7 callersFunction_read_oidc_token_bundle
Read and parse `oidc_token.json` for a gateway. Returns the parsed dict, or `None` if the file is absent or unreadable. See `openshell-bootst
python/openshell/sandbox.py:841
↓ 7 callersMethodactive_for
Extensions active for `sandbox`, preserving registration order. [`ExtensionActivation::Global`] extensions are always included; [`ExtensionActivation
crates/openshell-driver-vm/src/lifecycle.rs:543
↓ 7 callersFunctionbuild_proxy_command
Build the SSH `ProxyCommand` string used to tunnel to a sandbox. Every interpolated argument is shell-escaped so that server-supplied values (gateway
crates/openshell-core/src/forward.rs:786
↓ 7 callersMethodchild_env_with_gcp_resolved
Return `child_env` with GCP static config vars resolved to real values. The credential pipeline placeholderizes ALL env values, but GCP SDKs and codi
crates/openshell-core/src/provider_credentials.rs:115
↓ 7 callersFunctionchunk_state_payload
Build the agent-facing response for a chunk. Selection rule: include the fields the agent needs to decide what to do next on the redraft loop — ident
crates/openshell-supervisor-network/src/policy_local.rs:790
↓ 7 callersFunctioncontainer_name
(sandbox_name: &str)
crates/openshell-driver-podman/src/container.rs:145
↓ 7 callersMethodcreate
Create a new isolated network namespace with veth pair. Sets up: - A new network namespace named `sandbox-{uuid}` - A veth pair connecting host and s
crates/openshell-supervisor-process/src/netns/mod.rs:63
↓ 7 callersFunctioncreate_empty_token_grant_provider
( store: &Store, name: &str, provider_type: &str, )
crates/openshell-server/src/grpc/provider.rs:2515
↓ 7 callersFunctiondefault_policy
()
crates/openshell-server/src/auth/authz.rs:135
↓ 7 callersFunctiondelete_sandbox
(name: &str)
e2e/rust/tests/sandbox_labels.rs:109
↓ 7 callersFunctiondeterministic_policy_hash
Compute a deterministic SHA-256 hash of a `SandboxPolicy`.
crates/openshell-server/src/grpc/policy.rs:3097
↓ 7 callersFunctiondiscover_policy_from_path
Try to read a sandbox policy YAML from `path`, falling back to the hardcoded restrictive default if the file is missing or invalid.
crates/openshell-sandbox/src/lib.rs:1526
↓ 7 callersFunctiondriver_status_from_summary
( summary: &ContainerSummary, sandbox_name: &str, supervisor_connected: bool, )
crates/openshell-driver-docker/src/lib.rs:2790
↓ 7 callersFunctioneffective_driver_gpu_count
Return the effective compute-driver GPU count. A present GPU requirement with an omitted count requests one GPU. # Errors Returns an error when a GP
crates/openshell-core/src/gpu.rs:40
↓ 7 callersFunctionemit_activity
(tx: &Option<ActivitySender>, denied: bool, deny_group: &'static str)
crates/openshell-supervisor-network/src/proxy.rs:346
↓ 7 callersFunctionemit_denial
Emit a denial event to the aggregator channel (if configured). Used by `handle_tcp_connection` which owns `Option<Sender>`.
crates/openshell-supervisor-network/src/proxy.rs:480
↓ 7 callersFunctionemit_gateway_policy_audit_log
( sandbox_id: &str, sandbox_name: &str, state_label: &str, detail: impl Into<String>, vers
crates/openshell-server/src/grpc/policy.rs:148
↓ 7 callersFunctionemit_metadata_event
( activity: ActivityId, severity: SeverityId, status: StatusId, message: &str, )
crates/openshell-sandbox/src/google_cloud_metadata.rs:307
↓ 7 callersFunctionemit_provider_lifecycle
( provider_type: &str, operation: LifecycleOperation, outcome: TelemetryOutcome, )
crates/openshell-server/src/grpc/provider.rs:2289
↓ 7 callersFunctionemit_service_relay_failure
(endpoint: &ServiceEndpoint, target_port: u16, reason: &str)
crates/openshell-server/src/service_routing.rs:606
↓ 7 callersFunctionexpand_access_presets
Expand `access` presets into explicit `rules` in the policy data. This preprocesses the JSON data so Rego only needs to handle explicit rules.
crates/openshell-supervisor-network/src/l7/mod.rs:1460
↓ 7 callersFunctionformat_http_response
Format an HTTP/1.1 response from status, headers, and body.
crates/openshell-supervisor-network/src/l7/inference.rs:401
↓ 7 callersFunctionformat_sse_error
Format an SSE error event for injection into a streaming response. Sent just before the chunked terminator when the proxy truncates a stream due to t
crates/openshell-supervisor-network/src/l7/inference.rs:474
↓ 7 callersFunctionforward_pid_path
PID file path for a specific sandbox + port forward.
crates/openshell-core/src/forward.rs:25
↓ 7 callersFunctiongenerate_jwt_key
Generate a fresh Ed25519 JWT signing key. Output PEM is in the formats `jsonwebtoken` consumes via `EncodingKey::from_ed_pem` (signing) and `Decoding
crates/openshell-bootstrap/src/jwt.rs:41
↓ 7 callersFunctionget_gateway_metadata
Load gateway metadata if available.
crates/openshell-bootstrap/src/metadata.rs:227
↓ 7 callersMethodget_message_by_name
Fetch and decode a protobuf message by name.
crates/openshell-server/src/persistence/mod.rs:382
↓ 7 callersFunctionget_provider_type_profile
( store: &Store, id: &str, )
crates/openshell-server/src/grpc/provider.rs:1468
↓ 7 callersFunctionget_refresh_state
( store: &Store, provider_id: &str, credential_key: &str, )
crates/openshell-server/src/provider_refresh.rs:109
↓ 7 callersFunctiongpu_resources
(count: Option<u32>)
crates/openshell-driver-podman/src/container.rs:1167
↓ 7 callersFunctionhandle_expose_service
( state: &Arc<ServerState>, request: Request<ExposeServiceRequest>, )
crates/openshell-server/src/grpc/service.rs:24
↓ 7 callersFunctionhandle_upgrade
Handle an upgraded connection (101 Switching Protocols). Forwards any overflow bytes from the upgrade response to the client, then either switches to
crates/openshell-supervisor-network/src/l7/relay.rs:591
↓ 7 callersFunctionimage_cache_root_dir
(root: &Path)
crates/openshell-driver-vm/src/driver.rs:4273
↓ 7 callersFunctionimport_token_grant_profile
( state: &Arc<ServerState>, id: &str, host: &str, port: u32, path: &st
crates/openshell-server/src/grpc/provider.rs:2486
↓ 7 callersFunctioninferred_provider_type
Return the provider type inferred from the trailing command, if any.
crates/openshell-cli/src/run.rs:3688
↓ 7 callersMethodinject_env
Inject provider-specific env vars via the registered plugin. Normalizes the provider type and delegates to the plugin's `inject_env`. No-op if the pr
crates/openshell-providers/src/lib.rs:168
↓ 7 callersMethodinstall_environment
( &self, revision: u64, env: HashMap<String, String>, credential_expires_at_ms
crates/openshell-core/src/provider_credentials.rs:201
↓ 7 callersFunctionis_benign_connection_error
Check if a miette error represents a benign connection close. TLS handshake EOF, missing `close_notify`, connection resets, and broken pipes are all
crates/openshell-supervisor-network/src/l7/relay.rs:1476
↓ 7 callersFunctionis_provider_rule_name
(rule_name: &str)
crates/openshell-policy/src/compose.rs:17
↓ 7 callersFunctionis_valid_env_key
(key: &str)
crates/openshell-server/src/grpc/provider.rs:1104
↓ 7 callersFunctionjson_response
( status: StatusCode, allowed_origin: Option<&str>, body: &'static str, )
crates/openshell-cli/src/auth.rs:289
↓ 7 callersFunctionjson_struct
(value: serde_json::Value)
crates/openshell-driver-kubernetes/src/driver.rs:2202
↓ 7 callersFunctionkubectl
(args: &[&str])
e2e/rust/tests/user_namespaces.rs:24
↓ 7 callersFunctionlast_sandbox_path
Path to the file that stores the last-used sandbox name for a gateway. Location: `$XDG_CONFIG_HOME/openshell/gateways/<gateway>/last_sandbox`
crates/openshell-bootstrap/src/paths.rs:94
↓ 7 callersFunctionload_pem_certs_into_store
Load PEM-encoded certificates from a string into a root certificate store. Returns `(added, ignored)` counts. Invalid or unparseable certificates are
crates/openshell-supervisor-network/src/l7/tls.rs:269
↓ 7 callersFunctionmac_from_sandbox_id
Generate a locally-administered MAC from sandbox ID using FNV-1a.
crates/openshell-driver-vm/src/gpu.rs:240
↓ 7 callersFunctionmake_log
(message: &str, fields: Vec<(&str, &str)>)
crates/openshell-tui/src/ui/sandbox_logs.rs:429
↓ 7 callersFunctionmark_progress_complete
( metadata: &mut HashMap<String, String, S>, step: &'static str, label: impl Into<String>, )
crates/openshell-core/src/progress.rs:18
↓ 7 callersFunctionmock_response
Generate a canned HTTP response appropriate for the route's protocol. The response is protocol-aware: for `openai_chat_completions` it returns a vali
crates/openshell-router/src/mock.rs:20
↓ 7 callersFunctionnew_refresh_state
( provider: &Provider, credential_key: &str, config: NewRefreshStateConfig, )
crates/openshell-server/src/provider_refresh.rs:182
↓ 7 callersFunctionparse_bool_like
(raw: &str)
crates/openshell-core/src/settings.rs:160
↓ 7 callersFunctionparse_cli_setting_value
(key: &str, raw_value: &str)
crates/openshell-cli/src/run.rs:6211
↓ 7 callersFunctionparse_policy_str
Parse a policy YAML string into a [`PolicyModel`].
crates/openshell-prover/src/policy.rs:348
↓ 7 callersFunctionprepare_pci_group_for_passthrough
Atomically bind every `PCIe` device in a shared IOMMU group to `vfio-pci`. Use this when a single sandbox needs to claim multiple devices that occupy
crates/openshell-vfio/src/pci.rs:447
↓ 7 callersFunctionprofile_provider_policy_layers
( store: &Store, provider_names: &[String], )
crates/openshell-server/src/grpc/policy.rs:1322
↓ 7 callersFunctionprofile_to_yaml
(profile: &ProviderTypeProfile)
crates/openshell-providers/src/profiles.rs:984
← previousnext →401–500 of 9,017, ranked by callers