metal-api
metal-api copied to clipboard
Expose Machine Liveliness in OpenAPI/Swagger
Currently the enum for possible liveliness are not exposed and reside within the internal folder. They should be available as enum in metal-go.
const (
MachineLivelinessAlive MachineLiveliness = "Alive"
MachineLivelinessDead MachineLiveliness = "Dead"
MachineLivelinessUnknown MachineLiveliness = "Unknown"
MachineDeadAfter time.Duration = 5 * time.Minute
MachineResurrectAfter time.Duration = time.Hour
)
Related: https://github.com/metal-stack/metal-lib/pull/57