HorizontalPodAutoscalerStatus class
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
Constructors
-
HorizontalPodAutoscalerStatus({List<
HorizontalPodAutoscalerCondition> ? conditions, List<MetricStatus> ? currentMetrics, int? currentReplicas, required int desiredReplicas, DateTime? lastScaleTime, int? observedGeneration}) -
Default constructor.
const
-
HorizontalPodAutoscalerStatus.fromJson(Map<
String, dynamic> json) -
Creates a HorizontalPodAutoscalerStatus from JSON data.
factory
Properties
-
conditions
→ List<
HorizontalPodAutoscalerCondition> ? -
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
final
-
currentMetrics
→ List<
MetricStatus> ? -
currentMetrics is the last read state of the metrics used by this autoscaler.
final
- currentReplicas → int?
-
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
final
- desiredReplicas → int
-
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastScaleTime → DateTime?
-
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
final
- observedGeneration → int?
-
observedGeneration is the most recent generation observed by this autoscaler.
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 HorizontalPodAutoscalerStatus instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited