ArgoHealth class

Constructors

ArgoHealth({String? message, String? status})
Returns a new ArgoHealth instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
message ↔ String?
Message is why the status is what it is — "Running: no replicas ready", "iam: CrashLoopBackOff". A Healthy object carries one too ("Running: all replicas ready"), so this is not a failure signal. Always absent on a CD row, which reports no health message.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is the ArgoCD health vocabulary, Capitalized: Healthy, Progressing, Degraded, Suspended, Missing or Unknown. For an App CR it is derived per object from what the operator reconciled (a workload with every replica ready is Healthy, one scaled to zero is Suspended, a crash-looping pod is Degraded); for a CD row it is the verdict CD wrote.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → ArgoHealth?
Returns a new ArgoHealth instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ArgoHealth>
mapFromJson(dynamic json) → Map<String, ArgoHealth>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ArgoHealth>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.