#[non_exhaustive]pub struct ContainerdConfig {
pub private_registry_access_config: Option<PrivateRegistryAccessConfig>,
}Expand description
ContainerdConfig contains configuration to customize containerd.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.private_registry_access_config: Option<PrivateRegistryAccessConfig>PrivateRegistryAccessConfig is used to configure access configuration for private container registries.
Implementations§
Source§impl ContainerdConfig
impl ContainerdConfig
Sourcepub fn set_private_registry_access_config<T: Into<Option<PrivateRegistryAccessConfig>>>(
self,
v: T,
) -> Self
pub fn set_private_registry_access_config<T: Into<Option<PrivateRegistryAccessConfig>>>( self, v: T, ) -> Self
Sets the value of private_registry_access_config.
Trait Implementations§
Source§impl Clone for ContainerdConfig
impl Clone for ContainerdConfig
Source§fn clone(&self) -> ContainerdConfig
fn clone(&self) -> ContainerdConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContainerdConfig
impl Debug for ContainerdConfig
Source§impl Default for ContainerdConfig
impl Default for ContainerdConfig
Source§fn default() -> ContainerdConfig
fn default() -> ContainerdConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerdConfigwhere
ContainerdConfig: Default,
impl<'de> Deserialize<'de> for ContainerdConfigwhere
ContainerdConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for ContainerdConfig
impl Message for ContainerdConfig
Source§impl PartialEq for ContainerdConfig
impl PartialEq for ContainerdConfig
Source§impl Serialize for ContainerdConfig
impl Serialize for ContainerdConfig
impl StructuralPartialEq for ContainerdConfig
Auto Trait Implementations§
impl Freeze for ContainerdConfig
impl RefUnwindSafe for ContainerdConfig
impl Send for ContainerdConfig
impl Sync for ContainerdConfig
impl Unpin for ContainerdConfig
impl UnwindSafe for ContainerdConfig
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