(
&self,
_options: BuildImageOptions,
_tar_archive: Vec<u8>,
)
| 975 | } |
| 976 | |
| 977 | async fn build_image( |
| 978 | &self, |
| 979 | _options: BuildImageOptions, |
| 980 | _tar_archive: Vec<u8>, |
| 981 | ) -> Result<Box<dyn Stream<Item = Result<String, String>> + Send + Unpin>, String> |
| 982 | { |
| 983 | use futures_util::stream; |
| 984 | let stream = stream::once(async { Ok("Building...".to_string()) }); |
| 985 | Ok(Box::new(Box::pin(stream))) |
| 986 | } |
| 987 | |
| 988 | async fn inspect_container(&self, _id: &str) -> Result<String, String> { |
| 989 | Ok(r#"{"State": {"Running": true}}"#.to_string()) |