GitOpsPlane class
Constructors
-
GitOpsPlane({List<
GitOpsApp> applications = const [], bool? installed, String? reason}) - Returns a new GitOpsPlane instance.
Properties
-
applications
↔ List<
GitOpsApp> -
Applications is every CD Application in the cluster, ordered by namespace then name. Empty (never null) when the plane is not installed, and equally empty when it is installed and tracks nothing — Installed is what separates those two.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- installed ↔ bool?
-
Installed is whether this cluster serves the CD Application CRD at all. False is a fact about the cluster, not a failure of the request: the caller says "no CD plane here" rather than rendering an error it cannot act on.
getter/setter pair
- reason ↔ String?
-
Reason says why the plane is absent, in words a caller can show. Empty when Installed.
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) → GitOpsPlane? -
Returns a new GitOpsPlane instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< GitOpsPlane> -
mapFromJson(
dynamic json) → Map< String, GitOpsPlane> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< GitOpsPlane> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.