(
&self,
_request: Request<GetCapabilitiesRequest>,
)
| 180 | type WatchSandboxesStream = WatchStream; |
| 181 | |
| 182 | async fn get_capabilities( |
| 183 | &self, |
| 184 | _request: Request<GetCapabilitiesRequest>, |
| 185 | ) -> Result<Response<GetCapabilitiesResponse>, Status> { |
| 186 | let response = self.with_state(|state| { |
| 187 | state.calls.push(FakeComputeDriverCall::GetCapabilities); |
| 188 | GetCapabilitiesResponse { |
| 189 | driver_name: state.driver_name.clone(), |
| 190 | driver_version: state.driver_version.clone(), |
| 191 | default_image: state.default_image.clone(), |
| 192 | } |
| 193 | }); |
| 194 | Ok(Response::new(response)) |
| 195 | } |
| 196 | |
| 197 | async fn validate_sandbox_create( |
| 198 | &self, |
nothing calls this directly
no test coverage detected