Documentation
¶
Index ¶
Constants ¶
View Source
const ( RUNNING = "running" CREATED = "created" DONE = "done" )
View Source
const (
FILEPERM = 0755
)
Variables ¶
View Source
var ErrTaskReportNotExist = errors.New("Task Report does not exist")
ErrTaskReportNotExist means the report of specific task id does not exist
Functions ¶
This section is empty.
Types ¶
type Checksum ¶
type Checksum struct { ID int `json:"-"` Sha256sum string `json:"sha256sum"` Path Files `json:"-"` }
type Log ¶
type Report ¶
type Report struct { ID int `json:"id"` Status Status `json:"status"` Result Result `json:"result"` Log Log `json:"log"` Checksum Checksum `json:"checksum"` Path Files `json:"-"` }
Report is composited of Result and Status
type Result ¶
type Result struct { ID int `json:"-"` Result string `json:"result"` Time time.Time `json:"time"` Path Files `json:"-"` }
Result is the object represent the task execution result
Click to show internal directories.
Click to hide internal directories.