Documentation
¶
Index ¶
Constants ¶
View Source
const ( TaskStatusRunning = "Running" TaskStatusSucceed = "Succeeded" TaskStatusFailed = "Failed" )
View Source
const ( TaskTypeUp = "up" TaskTypeStop = "stop" TaskTypeDelete = "delete" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct {
Type MessageType `json:"type"`
ExitCode int `json:"exitCode,omitempty"`
Bytes []byte `json:"bytes,omitempty"`
}
type MessageType ¶
type MessageType byte
const ( StdoutData MessageType = 0 StderrData MessageType = 2 ExitCode MessageType = 6 )
Click to show internal directories.
Click to hide internal directories.