Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TitusTaskState ¶
type TitusTaskState uint32
TitusTaskState represents the current state of a task
const ( Starting TitusTaskState = iota Running Finished // successfully Failed // terminated by itself Killed // stopped by request Lost // terminated because of us )
Possible Task states
func (TitusTaskState) IsTerminalStatus ¶
func (s TitusTaskState) IsTerminalStatus() bool
IsTerminalStatus indicates whether or not a given status is the last status a task should end up in
func (TitusTaskState) String ¶
func (s TitusTaskState) String() string
Click to show internal directories.
Click to hide internal directories.