ArgoNode class

Constructors

ArgoNode({String? createdAt, String? group, ArgoHealth? health, List<String> images = const [], List<ArgoInfoItem> info = const [], String? kind, String? name, String? namespace, List<ArgoResourceRef> parentRefs = const [], String? resourceVersion, String? uid, String? version})
Returns a new ArgoNode instance.

Properties

createdAt ↔ String?
CreatedAt is the object's creationTimestamp, RFC 3339 UTC to the second. Absent when the object carries none.
getter/setter pair
group ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
health ↔ ArgoHealth?
Health is the node's own derived health. Always present on a node of this tree; a kind with no health signal of its own reports Healthy, since a ConfigMap existing IS its healthy state.
getter/setter pair
images ↔ List<String>
Images are the container images running on this node. Always absent — the tag travels as the "Image Tag" chip in Info instead, which is where the SPA reads it on a node.
getter/setter pair
info ↔ List<ArgoInfoItem>
Info are the chips shown on the node. At most one: the image tag — the RUNNING tag on a Deployment, ReplicaSet or Pod, and the DECLARED tag on the App CR at the root. Absent on a node that carries no image at all.
getter/setter pair
kind ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
name ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
namespace ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
parentRefs ↔ List<ArgoResourceRef>
ParentRefs are the node's edges UPWARD, which is how the SPA draws the DAG from this flat list. Exactly one entry where present: a depth-1 object points at the App CR, a ReplicaSet at its Deployment, a Pod at its ReplicaSet (or at the Deployment whose selector matches it, when the ReplicaSet is gone). Absent on the root.
getter/setter pair
resourceVersion ↔ String?
ResourceVersion is the k8s version a watch would resume from. Always empty: the tree is rebuilt from live reads on every request, including on every frame of the SSE stream, so there is no revision to resume from.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uid ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
version ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
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) → ArgoNode?
Returns a new ArgoNode instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ArgoNode>
mapFromJson(dynamic json) → Map<String, ArgoNode>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ArgoNode>>

Constants

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