Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { ID int64 DirPath string Status JobStatus GoTestOptions []string CreatedAt, StartedAt, FinishedAt time.Time TaskSets []*TaskSet Tasks []*Task // contains filtered or unexported fields }
Job represents the job to test one package.
type Server ¶
Server serves the APIs for the cli client.
type TaskSet ¶
type TaskSet struct { // this id must be the valid index of the Job.TaskSets. ID int Status TaskSetStatus StartedAt, FinishedAt time.Time Tasks []*Task // contains filtered or unexported fields }
TaskSet represents the set of tasks handled by one worker.
type TaskSetStatus ¶
type TaskSetStatus int
TaskSetStatus represents the status of the task set.
const ( TaskSetStatusCreated TaskSetStatus = iota TaskSetStatusStarted TaskSetStatusSuccessful TaskSetStatusFailed )
Click to show internal directories.
Click to hide internal directories.