StatefulSetStatus class
StatefulSetStatus represents the current state of a StatefulSet.
Constructors
-
StatefulSetStatus({int? availableReplicas, int? collisionCount, List<
StatefulSetCondition> ? conditions, int? currentReplicas, String? currentRevision, int? observedGeneration, int? readyReplicas, required int replicas, String? updateRevision, int? updatedReplicas}) -
Default constructor.
const
-
StatefulSetStatus.fromJson(Map<
String, dynamic> json) -
Creates a StatefulSetStatus from JSON data.
factory
Properties
- availableReplicas → int?
-
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
final
- collisionCount → int?
-
collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
final
-
conditions
→ List<
StatefulSetCondition> ? -
Represents the latest available observations of a statefulset's current state.
final
- currentReplicas → int?
-
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
final
- currentRevision → String?
-
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- observedGeneration → int?
-
observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
final
- readyReplicas → int?
-
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
final
- replicas → int
-
replicas is the number of Pods created by the StatefulSet controller.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedReplicas → int?
-
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
final
- updateRevision → String?
-
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a StatefulSetStatus instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited