Struct docker_api::opts::PullOptsBuilder
source · pub struct PullOptsBuilder { /* private fields */ }
Implementations§
source§impl PullOptsBuilder
impl PullOptsBuilder
sourcepub fn image(self, image: impl Serialize) -> Self
pub fn image(self, image: impl Serialize) -> Self
Name of the image to pull. The name may include a tag or digest.
This parameter may only be used when pulling an image.
If an untagged value is provided and no tag
is provided, all
tags will be pulled
The pull is cancelled if the HTTP connection is closed.
pub fn src(self, src: impl Serialize) -> Self
sourcepub fn repo(self, repo: impl Serialize) -> Self
pub fn repo(self, repo: impl Serialize) -> Self
Repository name given to an image when it is imported. The repo may include a tag. This parameter may only be used when importing an image.
By default a latest
tag is added when calling
PullOptsBuilder::default.
sourcepub fn tag(self, tag: impl Serialize) -> Self
pub fn tag(self, tag: impl Serialize) -> Self
Tag or digest. If empty when pulling an image, this causes all tags for the given image to be pulled.