pub struct VolumeNodeResources {
pub count: Option<i32>,
}
Expand description
VolumeNodeResources is a set of resource limits for scheduling of volumes.
Fields§
§count: Option<i32>
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
Trait Implementations§
Source§impl Clone for VolumeNodeResources
impl Clone for VolumeNodeResources
Source§fn clone(&self) -> VolumeNodeResources
fn clone(&self) -> VolumeNodeResources
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 VolumeNodeResources
impl Debug for VolumeNodeResources
Source§impl DeepMerge for VolumeNodeResources
impl DeepMerge for VolumeNodeResources
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for VolumeNodeResources
impl Default for VolumeNodeResources
Source§fn default() -> VolumeNodeResources
fn default() -> VolumeNodeResources
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeNodeResources
impl<'de> Deserialize<'de> for VolumeNodeResources
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 VolumeNodeResources
impl PartialEq for VolumeNodeResources
Source§impl Serialize for VolumeNodeResources
impl Serialize for VolumeNodeResources
impl StructuralPartialEq for VolumeNodeResources
Auto Trait Implementations§
impl Freeze for VolumeNodeResources
impl RefUnwindSafe for VolumeNodeResources
impl Send for VolumeNodeResources
impl Sync for VolumeNodeResources
impl Unpin for VolumeNodeResources
impl UnwindSafe for VolumeNodeResources
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