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
Auto Trait Implementations§
impl Freeze for PullOptsBuilder
impl RefUnwindSafe for PullOptsBuilder
impl Send for PullOptsBuilder
impl Sync for PullOptsBuilder
impl Unpin for PullOptsBuilder
impl UnwindSafe for PullOptsBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more