dcc

package
v0.0.0-...-6ac6f58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL