pub fn export(
        &self,
        names: Vec<&str>,
    ) -> impl Stream<Item = Result<Vec<u8>>> + 'docker {
        let params = names.iter().map(|n| ("names", *n));
        let query = form_urlencoded::Serializer::new(String::new())
            .extend_pairs(params)
            .finish();
        self.docker
            .stream_get(format!("/images/get?{}", query))
            .map_ok(|c| c.to_vec())
    }
/// exports a collection of named images,
/// either by name, name:tag, or image id, into a tarball
exports a collection of named images,
either by name, name:tag, or image id, into a tarball
exports a collection of named images either by name name : tag or image id into a tarball
pub fn export(
        &self,
        names: Vec<&str>,
    ) -> impl Stream<Item = Result<Vec<u8>>> + 'docker {
        let params = names.iter().map(|n| ("names", *n));
        let query = form_urlencoded::Serializer::new(String::new())
            .extend_pairs(params)
            .finish();
        self.docker
            .stream_get(format!("/images/get?{}", query))
            .map_ok(|c| c.to_vec())
    }
pub fn export ( & self , names : Vec < & str > , ) -> impl Stream < Item = Result < Vec < u8 > > > + ' docker { let params = names . iter ( ) . map ( | n | ( " " , * n ) ) ; let query = form_urlencoded :: Serializer :: new ( String :: new ( ) ) . extend_pairs ( params ) . finish ( ) ; self . docker . stream_get ( format ! ( " " query ) ) . map_ok ( | c | c . to_vec ( ) ) }
exports a collection of named images,
either by name, name:tag, or image id, into a tarball
exports a collection of named images either by name name : tag or image id into a tarball
&self
names
Vec<&str>
&self
names
Vec<&str>