HorizontalPodAutoscalerCondition class
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
Constructors
- HorizontalPodAutoscalerCondition({DateTime? lastTransitionTime, String? message, String? reason, required String status, required String type})
-
The main constructor.
const
-
HorizontalPodAutoscalerCondition.fromJson(Map<
String, dynamic> json) - Creates a HorizontalPodAutoscalerCondition from JSON data.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastTransitionTime → DateTime?
-
LastTransitionTime is the last time the condition transitioned from one status to another.
final
- message → String?
-
Message is a human-readable explanation containing details about the transition.
final
- reason → String?
-
Reason is the reason for the condition's last transition.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
Status is the status of the condition (True, False, Unknown).
final
- type → String
-
Type describes the current condition.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a HorizontalPodAutoscalerCondition 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< list) → List<String, dynamic> >HorizontalPodAutoscalerCondition> - Creates a list of HorizontalPodAutoscalerCondition from JSON data.