metal-api icon indicating copy to clipboard operation
metal-api copied to clipboard

Expose Machine Liveliness in OpenAPI/Swagger

Open vknabel opened this issue 1 year ago • 1 comments

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
)

vknabel avatar Nov 14 '24 08:11 vknabel

Related: https://github.com/metal-stack/metal-lib/pull/57

majst01 avatar Jan 08 '25 07:01 majst01