ResourceLimit class
Contains information about amount of some resource in the cluster.
For memory, value should be in GB.
Constructors
- ResourceLimit({String? maximum, String? minimum, String? resourceType})
- ResourceLimit.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maximum ↔ String?
-
Maximum amount of the resource in the cluster.
getter/setter pair
- minimum ↔ String?
-
Minimum amount of the resource in the cluster.
getter/setter pair
- resourceType ↔ String?
-
Resource name "cpu", "memory" or gpu-specific string.
getter/setter pair
- 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, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited