Readiness class

Constructors

Readiness({bool? crd, String? error, bool? k8s, String? service, String? status})
Returns a new Readiness instance.

Properties

crd ↔ bool?
CRD is whether the operator App CRD was found, and is absent when no cluster client resolved and the question could not be asked.
getter/setter pair
error ↔ String?
Error is the real reason the plane is degraded; absent when it is not.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
k8s ↔ bool?
K8s is whether a cluster client resolved at all. False means no kubeconfig.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service ↔ String?
Service is always "platform" — which control plane answered.
getter/setter pair
status ↔ String?
Status is "ok" when this plane can deploy, "degraded" when it cannot.
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) → Readiness?
Returns a new Readiness instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Readiness>
mapFromJson(dynamic json) → Map<String, Readiness>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Readiness>>

Constants

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