Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyResource ¶
func ApplyResource(req *restful.Request, resp *restful.Response)
ApplyResource handle the http request for applying a new task. it return immediately after the task created into database with status staging.
func GetCmakeArgs ¶
func GetCmakeArgs(req *restful.Request, resp *restful.Response)
GetCmakeArgs handle the http request for getting the cmake args according to send project message to distcc engine.
func InitStorage ¶
func InitStorage() (err error)
InitStorage let outside be able to init the default manager. it should be called after the manager is created, and before the http-handler start working.
func QueryTaskInfo ¶
func QueryTaskInfo(req *restful.Request, resp *restful.Response)
QueryTaskInfo handle the http request for querying a existing task
func ReleaseResource ¶
func ReleaseResource(req *restful.Request, resp *restful.Response)
ReleaseResource handle the http request for releasing a existing task it return immediately after the task saved into database with status finish or failed.
Types ¶
This section is empty.