Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner struct {
StoppedChan chan struct{}
UpdatesChan chan Update
// contains filtered or unexported fields
}
Runner maintains in memory state for the Task runner
func StartTaskWithRuntime ¶
func StartTaskWithRuntime(ctx context.Context, task Task, m metrics.Reporter, rp runtimeTypes.ContainerRuntimeProvider, cfg config.Config) (*Runner, error)
StartTaskWithRuntime builds an Executor using the provided Runtime factory func, and starts the task
type Update ¶
type Update struct {
ContainerID string
TaskID string
State titusdriver.TitusTaskState
Mesg string
Details *runtimeTypes.Details
ExtraContainerStatuses []v1.ContainerStatus
PlatformSidecarStatuses []v1.ContainerStatus
}
Update encapsulates information on the updatechan about Task status updates
Click to show internal directories.
Click to hide internal directories.