ArgoTree class

Constructors

ArgoTree({List<Object> hosts = const [], List<ArgoNode> nodes = const [], List<ArgoNode> orphanedNodes = const []})
Returns a new ArgoTree instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
hosts ↔ List<Object>
Hosts is ArgoCD's per-node machine inventory. Always empty: this plane projects applications and serves no cluster-node view.
getter/setter pair
nodes ↔ List<ArgoNode>
Nodes is the FLAT node list, root first: the App CR, then the objects the operator owns, then their ReplicaSets and Pods. The hierarchy is in ParentRefs, not in the ordering.
getter/setter pair
orphanedNodes ↔ List<ArgoNode>
OrphanedNodes are objects in the namespace belonging to no application. Always empty: this walk reaches an object only THROUGH ownership from the App CR, so it can never hold one that is orphaned.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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