HealthcheckResult

@Serializable
data class HealthcheckResult(val start: Instant? = null, val end: String? = null, val exitCode: Int? = null, val output: String? = null)

HealthcheckResult stores information about a single run of a healthcheck probe

Parameters

start

Date and time at which this check started in RFC 3339 format with nano-seconds.

end

Date and time at which this check ended in RFC 3339 format with nano-seconds.

exitCode

ExitCode meanings: - 0 healthy - 1 unhealthy - 2 reserved (considered unhealthy) - other values: error running probe

output

Output from last check

Constructors

Link copied to clipboard
constructor(start: Instant? = null, end: String? = null, exitCode: Int? = null, output: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "End")
val end: String?
Link copied to clipboard
@SerialName(value = "ExitCode")
val exitCode: Int?
Link copied to clipboard
@SerialName(value = "Output")
val output: String?
Link copied to clipboard
@SerialName(value = "Start")
val start: Instant?