VolumeNodeResources class
VolumeNodeResources is a set of resource limits for scheduling of volumes.
Constructors
- VolumeNodeResources({int? count})
-
Default constructor.
const
-
VolumeNodeResources.fromJson(Map<
String, dynamic> json) -
Creates a VolumeNodeResources from JSON data.
factory
Properties
- count → int?
-
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a VolumeNodeResources instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited