()
| 245 | |
| 246 | impl Default for PodmanComputeConfig { |
| 247 | fn default() -> Self { |
| 248 | Self { |
| 249 | socket_path: Self::default_socket_path(), |
| 250 | default_image: openshell_core::image::default_sandbox_image(), |
| 251 | image_pull_policy: ImagePullPolicy::default(), |
| 252 | grpc_endpoint: String::new(), |
| 253 | gateway_port: openshell_core::config::DEFAULT_SERVER_PORT, |
| 254 | sandbox_ssh_socket_path: "/run/openshell/ssh.sock".to_string(), |
| 255 | network_name: DEFAULT_NETWORK_NAME.to_string(), |
| 256 | host_gateway_ip: Self::default_host_gateway_ip(), |
| 257 | stop_timeout_secs: DEFAULT_STOP_TIMEOUT_SECS, |
| 258 | supervisor_image: DEFAULT_SUPERVISOR_IMAGE.to_string(), |
| 259 | guest_tls_ca: None, |
| 260 | guest_tls_cert: None, |
| 261 | guest_tls_key: None, |
| 262 | sandbox_pids_limit: DEFAULT_SANDBOX_PIDS_LIMIT, |
| 263 | enable_bind_mounts: false, |
| 264 | health_check_interval_secs: DEFAULT_HEALTH_CHECK_INTERVAL_SECS, |
| 265 | } |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | impl std::fmt::Debug for PodmanComputeConfig { |
nothing calls this directly
no test coverage detected