ScaleStatus class

ScaleStatus represents the current status of a scale subresource.

Constructors

ScaleStatus({required int replicas, String? selector})
The main constructor.
const
ScaleStatus.fromJson(Map<String, dynamic> json)
Creates a ScaleStatus from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
replicas int
Actual number of observed instances of the scaled object.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector String?
Label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a ScaleStatus instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<ScaleStatus>
Creates a list of ScaleStatus from JSON data.