PodsMetricStatus class
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
Constructors
- PodsMetricStatus({required MetricValueStatus current, required MetricIdentifier metric})
-
Default constructor.
const
-
PodsMetricStatus.fromJson(Map<
String, dynamic> json) -
Creates a PodsMetricStatus from JSON data.
factory
Properties
- current → MetricValueStatus
-
current contains the current value for the given metric.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metric → MetricIdentifier
-
metric identifies the target metric by name and selector.
final
- 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 PodsMetricStatus instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited