CDApp class

Constructors

CDApp({bool? automated, String? health, String? message, String? name, String? namespace, String? operationMessage, String? path, String? phase, String? project, String? reconciledAt, String? revision, bool? selfHeal, String? sync_})
Returns a new CDApp instance.

Properties

automated ↔ bool?
Automated is whether CD applies git without being asked. It is cd.automated in the values file, rendered by the ApplicationSet's templatePatch — false means the Application reports drift and nothing moves.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
health ↔ String?
Health is the workload's verdict: Healthy, Progressing, Degraded, Missing.
getter/setter pair
message ↔ String?
Message is why, when Health is not Healthy.
getter/setter pair
name ↔ String?
Name is the Application name the generator mints:
getter/setter pair
namespace ↔ String?
Namespace is the DESTINATION namespace as the CR declares it — where the workload lands. For a fleet Application that is the org, but this is the OBSERVED field and not our model of it: the two can disagree, and a board whose whole job is drift must be able to show that they do.
getter/setter pair
operationMessage ↔ 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
path ↔ String?
Path is the values file CD renders against, relative to the chart source.
getter/setter pair
phase ↔ String?
Phase is the last sync operation's phase (Running, Succeeded, Failed) and OperationMessage is its message. A Failed phase with a Synced verdict is the shape a stuck Application takes.
getter/setter pair
project ↔ String?
Project is the AppProject fence the sync is admitted under.
getter/setter pair
reconciledAt ↔ String?
ReconciledAt is when CD last compared this Application.
getter/setter pair
revision ↔ String?
Revision is the universe commit CD last applied. Empty means it has not applied one — never assume it means main.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selfHeal ↔ bool?
SelfHeal is whether CD also corrects drift the cluster introduced.
getter/setter pair
sync_ ↔ String?
Sync is CD's verdict on git-versus-cluster: Synced, OutOfSync, or Unknown.
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) → CDApp?
Returns a new CDApp instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CDApp>
mapFromJson(dynamic json) → Map<String, CDApp>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CDApp>>

Constants

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