pub struct ContainerdConfig {
pub private_registry_access_config: Option<PrivateRegistryAccessConfig>,
pub registry_hosts: Option<Vec<RegistryHostConfig>>,
pub writable_cgroups: Option<WritableCgroups>,
}Expand description
ContainerdConfig contains configuration to customize containerd.
This type is not used in any activity, and only used as part of another schema.
Fields§
§private_registry_access_config: Option<PrivateRegistryAccessConfig>PrivateRegistryAccessConfig is used to configure access configuration for private container registries.
registry_hosts: Option<Vec<RegistryHostConfig>>RegistryHostConfig configures containerd registry host configuration. Each registry_hosts represents a hosts.toml file. At most 25 registry_hosts are allowed.
writable_cgroups: Option<WritableCgroups>Optional. WritableCgroups defines writable cgroups configuration for the node pool.
Trait Implementations§
Source§impl Clone for ContainerdConfig
impl Clone for ContainerdConfig
Source§fn clone(&self) -> ContainerdConfig
fn clone(&self) -> ContainerdConfig
Returns a duplicate 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 ContainerdConfig
impl<'de> Deserialize<'de> for ContainerdConfig
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 Serialize for ContainerdConfig
impl Serialize for ContainerdConfig
impl Part 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