Package presentation implements common method to API and UI serving.
type PublicStateKind ¶
type PublicStateKind string
PublicStateKind defines state of the job which is exposed in UI and API instead of internal states which are kept as an implementation detail.
const ( PublicStateDisabled PublicStateKind = "DISABLED" PublicStatePaused PublicStateKind = "PAUSED" PublicStateRunning PublicStateKind = "RUNNING" PublicStateScheduled PublicStateKind = "SCHEDULED" PublicStateWaiting PublicStateKind = "WAITING" )
When a PublicStateKind is added/removed/updated, update scheduler api proto doc for `JobState`.