ContainerLog class

A single health-check execution record.

Docker stores the most recent ContainerHealth.log entries (up to the configured --health-retries limit). Each entry describes one run of the health-check command.

Constructors

ContainerLog({String? start, String? end, int? exitCode, String? output})
Creates a ContainerLog with the given fields.
const
ContainerLog.fromJson(Map<String, dynamic> json)
Deserialises a ContainerLog from Docker's JSON representation.
factory

Properties

end → String?
RFC 3339 timestamp when the health check finished.
final
exitCode → int?
Exit code returned by the health-check command.
final
hashCode → int
The hash code for this object.
no setterinherited
output → String?
Combined stdout + stderr output from the health-check command.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → String?
RFC 3339 timestamp when the health check started.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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