pub struct NodeFeatures {
pub supplemental_groups_policy: Option<bool>,
}
Expand description
NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.
Fields§
§supplemental_groups_policy: Option<bool>
SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
Trait Implementations§
Source§impl Clone for NodeFeatures
impl Clone for NodeFeatures
Source§fn clone(&self) -> NodeFeatures
fn clone(&self) -> NodeFeatures
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 NodeFeatures
impl Debug for NodeFeatures
Source§impl DeepMerge for NodeFeatures
impl DeepMerge for NodeFeatures
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for NodeFeatures
impl Default for NodeFeatures
Source§fn default() -> NodeFeatures
fn default() -> NodeFeatures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeFeatures
impl<'de> Deserialize<'de> for NodeFeatures
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 NodeFeatures
impl PartialEq for NodeFeatures
Source§impl Serialize for NodeFeatures
impl Serialize for NodeFeatures
impl StructuralPartialEq for NodeFeatures
Auto Trait Implementations§
impl Freeze for NodeFeatures
impl RefUnwindSafe for NodeFeatures
impl Send for NodeFeatures
impl Sync for NodeFeatures
impl Unpin for NodeFeatures
impl UnwindSafe for NodeFeatures
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