(
endpoint: AcquiredRemoteDriverEndpoint,
store: Arc<Store>,
sandbox_index: SandboxIndex,
sandbox_watch_bus: SandboxWatchBus,
tracing_log_bus: TracingLogBus,
| 399 | } |
| 400 | |
| 401 | pub(crate) async fn new_remote_driver( |
| 402 | endpoint: AcquiredRemoteDriverEndpoint, |
| 403 | store: Arc<Store>, |
| 404 | sandbox_index: SandboxIndex, |
| 405 | sandbox_watch_bus: SandboxWatchBus, |
| 406 | tracing_log_bus: TracingLogBus, |
| 407 | supervisor_sessions: Arc<SupervisorSessionRegistry>, |
| 408 | ) -> Result<Self, ComputeError> { |
| 409 | let driver: SharedComputeDriver = Arc::new(RemoteComputeDriver::new(endpoint.channel)); |
| 410 | Self::from_driver( |
| 411 | endpoint.name, |
| 412 | driver, |
| 413 | None, |
| 414 | None, |
| 415 | endpoint.driver_process, |
| 416 | store, |
| 417 | sandbox_index, |
| 418 | sandbox_watch_bus, |
| 419 | tracing_log_bus, |
| 420 | supervisor_sessions, |
| 421 | Vec::new(), |
| 422 | ) |
| 423 | .await |
| 424 | } |
| 425 | |
| 426 | pub async fn new_podman( |
| 427 | config: PodmanComputeConfig, |
nothing calls this directly
no outgoing calls
no test coverage detected