ReconcileReport class

Constructors

ReconcileReport({int? declared, int? failed, String? instance, bool? prune, int? pruned, List<AppliedResource> results = const [], String? revision, ReconcileSource? source_, int? synced})
Returns a new ReconcileReport instance.

Properties

declared ↔ int?
Declared is how many objects the rendered source declares — the denominator the three outcome counts below are read against. Zero means the render produced nothing, which trips the prune fuse rather than sweeping the fleet.
getter/setter pair
failed ↔ int?
Failed is how many objects the apply could not reconcile. Non-zero is a PARTIAL run reported at 200: the engine applied what it could and each failure names itself in Results, so a caller reads this number rather than the status code to learn whether the fleet matches the source.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
instance ↔ String?
Instance is the tracking id this run stamps on everything it manages, so a later run can tell the objects it owns from objects another instance declares. DEPLOY_ENGINE_INSTANCE names it; the default is universe.
getter/setter pair
prune ↔ bool?
Prune reports whether DELETION was enabled for this run. False means an object the source no longer declares was left alone rather than removed, so a zero Pruned below means "nothing to delete" only when this is true.
getter/setter pair
pruned ↔ int?
Pruned is how many live objects this run DELETED because the source no longer declares them. Always 0 when Prune is false.
getter/setter pair
results ↔ List<AppliedResource>
Results is one entry per object the run acted on, in the order the engine applied them. Empty (never null) when the run reconciled nothing.
getter/setter pair
revision ↔ String?
Revision is the source commit this run applied, as the source resolved it — a git commit SHA, not an image tag. It is what an operator cites when asking what the cluster was last made to match.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source_ ↔ ReconcileSource?
Source is the git coordinate the run rendered. It is this deployment's own configuration echoed back, never a request parameter, and it is reported so a reader of the answer knows WHICH tree the revision names.
getter/setter pair
synced ↔ int?
Synced is how many objects the run applied successfully.
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) → ReconcileReport?
Returns a new ReconcileReport instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ReconcileReport>
mapFromJson(dynamic json) → Map<String, ReconcileReport>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ReconcileReport>>

Constants

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