NodeCondition class

NodeCondition contains condition information for a node.

Constructors

NodeCondition({DateTime? lastHeartbeatTime, DateTime? lastTransitionTime, String? message, String? reason, required String status, required String type})
Default constructor.
const
NodeCondition.fromJson(Map<String, dynamic> json)
Creates a NodeCondition from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lastHeartbeatTime DateTime?
Last time we got an update on a given condition.
final
lastTransitionTime DateTime?
Last time the condition transit from one status to another.
final
message String?
Human readable message indicating details about last transition.
final
reason String?
(brief) reason for the condition's last transition.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
Status of the condition, one of True, False, Unknown.
final
type String
Type of node condition.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a NodeCondition instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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