(
&self,
request: Request<StopSandboxRequest>,
)
| 261 | } |
| 262 | |
| 263 | async fn stop_sandbox( |
| 264 | &self, |
| 265 | request: Request<StopSandboxRequest>, |
| 266 | ) -> Result<Response<StopSandboxResponse>, Status> { |
| 267 | let request = request.into_inner(); |
| 268 | self.with_state(|state| { |
| 269 | state.calls.push(FakeComputeDriverCall::StopSandbox { |
| 270 | sandbox_id: request.sandbox_id, |
| 271 | sandbox_name: request.sandbox_name, |
| 272 | }); |
| 273 | }); |
| 274 | Ok(Response::new(StopSandboxResponse {})) |
| 275 | } |
| 276 | |
| 277 | async fn delete_sandbox( |
| 278 | &self, |
nothing calls this directly
no test coverage detected