Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrTaskTerminal ¶
type ErrTaskTerminal struct {
// contains filtered or unexported fields
}
func (ErrTaskTerminal) Error ¶
func (e ErrTaskTerminal) Error() string
type State ¶
type State struct {
// contains filtered or unexported fields
}
State is an in-memory structure for keeping track of tasks. The State is updated when provided a mesos.TaskStatus via the Update method. If a task is encounted that was not specified during the creation of State it will panic.
func (*State) Append ¶
func (s *State) Append(task *mesos.TaskInfo)
Append pushes the task into the pending chan.
Click to show internal directories.
Click to hide internal directories.