Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogFileTypes = []string{ string(LogFileTypeToolbox), string(LogFileTypeCapture), string(LogFileTypeSummary), string(LogFileTypeRecipe), string(LogFileTypeResult), } )
Functions ¶
Types ¶
type History ¶
type History interface {
JobId() string
JobPath() string
RecipeName() string
Recipe() (r rc_recipe.Spec, found bool)
AppName() string
AppVersion() string
TimeStart() (t time.Time, found bool)
TimeFinish() (t time.Time, found bool)
StartLog() StartLog
ResultLog() ResultLog
Job() app_workspace.Job
// True when the job is nested job.
IsNested() bool
// True when the job is isolated from workspace.
IsOrphaned() bool
// Log files. logs are guaranteed sorted by their file names.
Logs() (logs []LogFile, err error)
}
type HistoryOperation ¶
type Launcher ¶
type Launcher interface {
Up() (ctl app_control.Control, err error)
// Shutdown job. Please specify err for result of the execution.
Down(err error, ctl app_control.Control)
}
type LogFileType ¶
type LogFileType string
const ( LogFileTypeToolbox LogFileType = "toolbox" LogFileTypeCapture LogFileType = "capture" LogFileTypeSummary LogFileType = "summary" LogFileTypeRecipe LogFileType = "recipe" LogFileTypeResult LogFileType = "result" )
type ResultLog ¶
type StartLog ¶
type StartLog struct {
TimingLog
Name string `json:"name"`
ValueObject map[string]interface{} `json:"value_object"`
CommonOpts map[string]interface{} `json:"common_opts"`
TimeStart string `json:"time_start,omitempty"`
JobId string `json:"job_id"`
AppName string `json:"app_name"`
AppHash string `json:"app_hash"`
AppVersion string `json:"app_version"`
RecipeValues interface{} `json:"recipe_values"`
}
Click to show internal directories.
Click to hide internal directories.