Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTask ¶
func GetTask(req *restful.Request, resp *restful.Response)
GetTask handle the http request for getting task with conditions.
func GetWorkStats ¶
func GetWorkStats(req *restful.Request, resp *restful.Response)
GetWorkStats handle the http request for getting work with conditions.
func InitStorage ¶
func InitStorage() (err error)
InitStorage After server init, the instances of manager, store ... etc. should be given into api handler.
Types ¶
type WorkStats ¶
type WorkStats struct { disttask.TableWorkStats JobStatsData string `json:"job_stats_data"` }
WorkStats describe the stats info return to web
Click to show internal directories.
Click to hide internal directories.