Documentation ¶
Index ¶
Constants ¶
View Source
const ( ELLIPSES = "..." MAX_ERROR_CHARS = 1000 MAX_ERROR_LINES = 20 )
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" go2ts:"ignorenil"` Started time.Time `json:"started,omitempty"` Finished time.Time `json:"finished,omitempty"` Data []*db.StepData `json:"data,omitempty" go2ts:"ignorenil"` Steps []*StepDisplay `json:"steps,omitempty" go2ts:"ignorenil"` }
StepDisplay represents one step in a single run of a Task Driver.
type TaskDriverRunDisplay ¶
type TaskDriverRunDisplay struct { Id string `json:"id" go2ts:"ignore"` 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.