titusdriver

package
v0.0.0-...-c3677c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 1 Imported by: 4

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL