DeployHealth class

Constructors

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

Properties

crd ↔ bool?
CRD reports whether the App custom resource is served and listable. Absent when the apiserver was unreachable, because then it is unknown rather than false.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
k8s ↔ bool?
K8s reports whether the Kubernetes API is reachable. Absent when the probe did not get far enough to find out.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service ↔ String?
Service names the subsystem answering, so a probe response is attributable when several are collected together.
getter/setter pair
status ↔ String?
Status is ok when this deployment can serve the delivery plane, and degraded otherwise. It agrees with the HTTP status by construction — see StatusCode.
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) → DeployHealth?
Returns a new DeployHealth instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<DeployHealth>
mapFromJson(dynamic json) → Map<String, DeployHealth>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<DeployHealth>>

Constants

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