ArgoMeta class

Constructors

ArgoMeta({String? creationTimestamp, Map<String, String> labels = const {}, String? name, String? namespace, String? uid})
Returns a new ArgoMeta instance.

Properties

creationTimestamp ↔ String?
CreationTimestamp is when the source object was created, RFC 3339 to the second. Empty for a synthesized project.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
labels ↔ Map<String, String>
Labels are the labels this projection puts on the row, not the source object's full label set. An application projected from an App CR carries hanzo.ai/instance (its name), hanzo.ai/env (main, test or dev, from the namespace it was read from) and hanzo.ai/org when the CR declares a tenant. A Hanzo CD Application carries the CR's own labels verbatim. A project reflected from IAM carries hanzo.ai/org alone.
getter/setter pair
name ↔ String?
Name is the projected object's name: the App CR's metadata.name for an application, the CD Application's name for a CD row, and the IAM project name for a project.
getter/setter pair
namespace ↔ String?
Namespace is the namespace the source object was read from — the tenant or platform namespace for an App CR, CD's controller namespace for a CD row. Empty for a project synthesized here, which lives in no namespace.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uid ↔ String?
UID is the k8s metadata.uid of the source object, which is what the SPA keys a row on across refreshes. Empty for a synthesized project — there is no object to take one from.
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) → ArgoMeta?
Returns a new ArgoMeta instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ArgoMeta>
mapFromJson(dynamic json) → Map<String, ArgoMeta>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ArgoMeta>>

Constants

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