Struct podman_api::opts::PullOptsBuilder
source · pub struct PullOptsBuilder { /* private fields */ }Implementations§
source§impl PullOptsBuilder
impl PullOptsBuilder
Pull all tagged images in the repository.
sourcepub fn credentials(self, credentials: impl Into<String>) -> Self
pub fn credentials(self, credentials: impl Into<String>) -> Self
username:password for the registry.
sourcepub fn policy(self, policy: PullPolicy) -> Self
pub fn policy(self, policy: PullPolicy) -> Self
Image pull policy.
sourcepub fn tls_verify(self, tls_verify: bool) -> Self
pub fn tls_verify(self, tls_verify: bool) -> Self
Require TLS verification.
pub fn auth(&mut self, auth: RegistryAuth) -> &mut Self
pub fn build(&mut self) -> PullOpts
Trait Implementations§
source§impl Debug for PullOptsBuilder
impl Debug for PullOptsBuilder
source§impl Default for PullOptsBuilder
impl Default for PullOptsBuilder
source§fn default() -> PullOptsBuilder
fn default() -> PullOptsBuilder
Returns the “default value” for a type. Read more