()
| 193 | |
| 194 | impl 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)] |
nothing calls this directly
no test coverage detected