ResourceHealth constructor
const
ResourceHealth({})
Creates a new ResourceHealth.
health Health of the resource. can be one of:
message Message provides human-readable context for Health (e.g. "ECC error count exceeded threshold"). This field is populated by the kubelet when ResourceHealthStatusMessage is enabled if the DRA plugin returns a message, and is null otherwise.
resourceID ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
Implementation
const ResourceHealth({
this.health,
this.message,
required this.resourceID,
});