Resource class
Describes the resources available for a container instance.
Constructors
Properties
- doubleValue → double?
-
When the
doubleValue
type is set, the value of the resource must be a double precision floating-point type.final - hashCode → int
-
The hash code for this object.
no setterinherited
- integerValue → int?
-
When the
integerValue
type is set, the value of the resource must be an integer.final - longValue → int?
-
When the
longValue
type is set, the value of the resource must be an extended precision floating-point type.final - name → String?
-
The name of the resource, such as
CPU
,MEMORY
,PORTS
,PORTS_UDP
, or a user-defined resource.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stringSetValue
→ List<
String> ? -
When the
stringSetValue
type is set, the value of the resource must be a string type.final - type → String?
-
The type of the resource, such as
INTEGER
,DOUBLE
,LONG
, orSTRINGSET
.final
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