pub struct PodCgroupConfig {
pub cgroup_parent: Option<String>,
}
Available on crate feature
v5
only.Expand description
PodCgroupConfig contains configuration options about a pod’s cgroups. This will be expanded in future updates to pods.
Fields§
§cgroup_parent: Option<String>
CgroupParent is the parent for the Cgroup that the pod will create. This pod cgroup will, in turn, be the default cgroup parent for all containers in the pod. Optional.
Trait Implementations§
Source§impl Debug for PodCgroupConfig
impl Debug for PodCgroupConfig
Source§impl Default for PodCgroupConfig
impl Default for PodCgroupConfig
Source§fn default() -> PodCgroupConfig
fn default() -> PodCgroupConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodCgroupConfig
impl<'de> Deserialize<'de> for PodCgroupConfig
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
Auto Trait Implementations§
impl Freeze for PodCgroupConfig
impl RefUnwindSafe for PodCgroupConfig
impl Send for PodCgroupConfig
impl Sync for PodCgroupConfig
impl Unpin for PodCgroupConfig
impl UnwindSafe for PodCgroupConfig
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