WorkerHealthReport class

WorkerHealthReport contains information about the health of a worker.

The VM should be identified by the labels attached to the WorkerMessage that this health ping belongs to.

Constructors

WorkerHealthReport({String? msg, List<Map<String, Object?>>? pods, String? reportInterval, String? vmBrokenCode, bool? vmIsBroken, bool? vmIsHealthy, String? vmStartupTime})
WorkerHealthReport.fromJson(Map json_)

Properties

hashCode → int
The hash code for this object.
no setterinherited
msg ↔ String?
Message describing any unusual health reports.
getter/setter pair
pods ↔ List<Map<String, Object?>>?
The pods running on the worker.
getter/setter pair
reportInterval ↔ String?
The interval at which the worker is sending health reports.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vmBrokenCode ↔ String?
Code to describe a specific reason, if known, that a VM has reported broken state.
getter/setter pair
vmIsBroken ↔ bool?
Whether the VM is in a permanently broken state.
getter/setter pair
vmIsHealthy ↔ bool?
Whether the VM is currently healthy.
getter/setter pair
vmStartupTime ↔ String?
The time the VM was booted.
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.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited