MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / default

Method default

crates/openshell-driver-docker/src/lib.rs:195–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193
194impl Default for DockerComputeConfig {
195 fn default() -> Self {
196 Self {
197 default_image: openshell_core::image::default_sandbox_image(),
198 image_pull_policy: String::new(),
199 sandbox_namespace: "default".to_string(),
200 grpc_endpoint: String::new(),
201 supervisor_bin: None,
202 supervisor_image: None,
203 guest_tls_ca: None,
204 guest_tls_cert: None,
205 guest_tls_key: None,
206 network_name: DEFAULT_DOCKER_NETWORK_NAME.to_string(),
207 host_gateway_ip: String::new(),
208 ssh_socket_path: "/run/openshell/ssh.sock".to_string(),
209 sandbox_pids_limit: DEFAULT_SANDBOX_PIDS_LIMIT,
210 enable_bind_mounts: false,
211 }
212 }
213}
214
215#[derive(Debug, Clone, PartialEq, Eq)]

Callers

nothing calls this directly

Calls 1

default_sandbox_imageFunction · 0.85

Tested by

no test coverage detected