ArgoResourceRef class

Constructors

ArgoResourceRef({String? group, String? kind, String? name, String? namespace, String? uid, String? version})
Returns a new ArgoResourceRef 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 at the root.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
kind ↔ String?
Kind is the object kind. The root is the App CR; below it come Deployment, ReplicaSet, Pod, Service, Ingress, HorizontalPodAutoscaler, PodDisruptionBudget and ConfigMap. Never Secret — the walk does not visit them, so no materialized environment can reach the tree.
getter/setter pair
name ↔ String?
Name is the object's metadata.name.
getter/setter pair
namespace ↔ String?
Namespace is the namespace the walk ran in, the same for every node of one tree.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uid ↔ String?
UID is the object's metadata.uid. Absent on a PARENT reference, which addresses its target by kind and name rather than by identity.
getter/setter pair
version ↔ String?
Version is the object's API version as the live object reports it: v1 for every kind the walk reaches 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) → ArgoResourceRef?
Returns a new ArgoResourceRef instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ArgoResourceRef>
mapFromJson(dynamic json) → Map<String, ArgoResourceRef>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ArgoResourceRef>>

Constants

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