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

Function test_service

crates/openshell-driver-podman/src/grpc.rs:180–187  ·  view source on GitHub ↗
(socket_path: PathBuf)

Source from the content-addressed store, hash-verified

178 }
179
180 fn test_service(socket_path: PathBuf) -> ComputeDriverService {
181 let config = PodmanComputeConfig {
182 socket_path,
183 stop_timeout_secs: 10,
184 ..PodmanComputeConfig::default()
185 };
186 ComputeDriverService::new(PodmanComputeDriver::for_tests(config))
187 }
188
189 fn api_path(path: &str) -> String {
190 format!("/v5.0.0{path}")

Calls

no outgoing calls

Tested by

no test coverage detected