ScaleStatus class
ScaleStatus represents the current status of a scale subresource.
Constructors
- ScaleStatus({required int replicas, String? selector})
-
Default constructor.
const
-
ScaleStatus.fromJson(Map<
String, dynamic> json) -
Creates a ScaleStatus from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- replicas → int
-
replicas is the 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?
-
selector is the 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/.
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