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 FixedTerminalLines ¶
type FixedTerminalLines struct {
// contains filtered or unexported fields
}
FixedTerminalLines displays a fixed array of lines.
func (*FixedTerminalLines) Replace ¶
func (fixed *FixedTerminalLines) Replace(lines []string) error
Replace replaces the array of lines in the console terminal. Previous lines are erased.
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.