pub struct PodCgroupConfig {
pub cgroup_parent: Option<String>,
}
Expand description
PodCgroupConfig : 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.
Implementations§
Source§impl PodCgroupConfig
impl PodCgroupConfig
Sourcepub fn new() -> PodCgroupConfig
pub fn new() -> PodCgroupConfig
This will be expanded in future updates to pods.
Trait Implementations§
Source§impl Clone for PodCgroupConfig
impl Clone for PodCgroupConfig
Source§fn clone(&self) -> PodCgroupConfig
fn clone(&self) -> PodCgroupConfig
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 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
Source§impl PartialEq for PodCgroupConfig
impl PartialEq for PodCgroupConfig
Source§impl Serialize for PodCgroupConfig
impl Serialize for PodCgroupConfig
impl StructuralPartialEq for PodCgroupConfig
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