MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / build_image

Method build_image

src/docker/proxy_manager.rs:977–986  ·  view source on GitHub ↗
(
                &self,
                _options: BuildImageOptions,
                _tar_archive: Vec<u8>,
            )

Source from the content-addressed store, hash-verified

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())

Callers 1

build_proxyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected