ArgoResourceStatus class

Constructors

ArgoResourceStatus({String? group, ArgoHealth? health, String? kind, String? name, String? namespace, String? status, String? version})
Returns a new ArgoResourceStatus instance.

Properties

group ↔ String?
Group is the object's API group: empty for the core group (Pod, Service, ConfigMap), otherwise apps, networking.k8s.io, autoscaling or policy — and hanzo.ai for the App CR itself.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
health ↔ ArgoHealth?
Health is this object's own health, derived from its live state by the same rule the resource tree uses.
getter/setter pair
kind ↔ String?
Kind is the object kind — App, Deployment, ReplicaSet, Pod, Service, Ingress, HorizontalPodAutoscaler, PodDisruptionBudget, ConfigMap. Never Secret: the walk that produces these does not visit them.
getter/setter pair
name ↔ String?
Name is the object's metadata.name.
getter/setter pair
namespace ↔ String?
Namespace is the namespace the object was found in — the same one for every entry of an application, since the walk is confined to it.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is the APPLICATION's sync verdict repeated on every row, not a per-object one. The operator owns these children, so no child has a desired state of its own to compare against.
getter/setter pair
version ↔ String?
Version is the object's API version as the live object reports it: v1 for every kind here except the HorizontalPodAutoscaler, which is autoscaling/v2.
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) → ArgoResourceStatus?
Returns a new ArgoResourceStatus instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ArgoResourceStatus>
mapFromJson(dynamic json) → Map<String, ArgoResourceStatus>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ArgoResourceStatus>>

Constants

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