Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StepDisplay ¶
type StepDisplay struct { *td.StepProperties Result td.StepResult `json:"result,omitempty"` Errors []string `json:"errors,omitempty"` Started time.Time `json:"started,omitempty"` Finished time.Time `json:"finished,omitempty"` Data []*db.StepData `json:"data,omitempty"` Steps []*StepDisplay `json:"steps,omitempty"` }
StepDisplay represents one step in a single run of a Task Driver.
type TaskDriverRunDisplay ¶
type TaskDriverRunDisplay struct { Id string `json:"id"` Properties *td.RunProperties `json:"properties"` *StepDisplay }
TaskDriverRunDisplay represents a single run of a Task Driver.
func TaskDriverForDisplay ¶
func TaskDriverForDisplay(t *db.TaskDriverRun) (*TaskDriverRunDisplay, error)
TaskDriverForDisplay converts a db.TaskDriver into a TaskDriver, which is more human-friendly for display purposes.
Click to show internal directories.
Click to hide internal directories.