Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Initial is the state an allocation is initially in. Initial State = "initial" // Started is the state an allocation is in after // work has started. Started = "started" // Completed is the state an allocation is in after // work is complete. Completed = "completed" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SetStateEvent ¶
type SetStateEvent struct { // Name is the name of the allocation. Name string // State is the next state of the allocation. State State // Stage further qualifies the state. Stage string }
SetStateEvent reports the setting of the state of an allocation.
Click to show internal directories.
Click to hide internal directories.