Documentation ¶
Index ¶
- func GetBadge(c web.C, w http.ResponseWriter, r *http.Request)
- func GetBuild(c web.C, w http.ResponseWriter, r *http.Request)
- func GetBuildLatest(c web.C, w http.ResponseWriter, r *http.Request)
- func GetChannel(c web.C, w http.ResponseWriter, r *http.Request)
- func GetFeed(c web.C, w http.ResponseWriter, r *http.Request)
- func GetOutput(c web.C, w http.ResponseWriter, r *http.Request)
- func GetWorkAssigned(c web.C, w http.ResponseWriter, r *http.Request)
- func GetWorkPending(c web.C, w http.ResponseWriter, r *http.Request)
- func GetWorkStarted(c web.C, w http.ResponseWriter, r *http.Request)
- func GetWorkers(c web.C, w http.ResponseWriter, r *http.Request)
- func PostBuild(c web.C, w http.ResponseWriter, r *http.Request)
- func SetHeaders(c *web.C, h http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBadge ¶
GetBadge accepts a request to retrieve the named package and version build details from the datastore and return an SVG badges representing the build results.
GET /api/badges/:name/:number/channel/:channel/status.svg GET /api/badges/:name/:number/channel/:channel/sdk/:sdk/status.svg
func GetBuild ¶
GetBuild accepts a request to retrieve the build details for the package version, channel and SDK from the datastore in JSON format.
GET /api/packages/:name/:number/channel/:channel/sdk/:sdk
func GetBuildLatest ¶ added in v0.0.2
GetBuildLatest accepts a request to retrieve the build details for the package version, channel and latest SDK from the datastore in JSON format.
GET /api/packages/:name/:number/channel/:channel
func GetChannel ¶
GetChannel accepts a request to retrieve the latest SDK version and revision for the specified channel.
GET /api/channel/:name
func GetFeed ¶ added in v0.0.3
GetFeed accepts a request to retrieve a feed of the latest builds in JSON format.
GET /api/feed
func GetOutput ¶
GetOutput accepts a request to retrieve the named package and version raw build results from the blobstore.
GET /api/packages/:name/:number/channel/:channel/sdk/:sdk/stdout.txt
func GetWorkAssigned ¶ added in v0.0.2
GetWorkAssigned accepts a request to retrieve the list of started work and returns in JSON format.
GET /api/work/assignments
func GetWorkPending ¶ added in v0.0.2
GetWorkPending accepts a request to retrieve the list of pending work and returns in JSON format.
GET /api/work/pending
func GetWorkStarted ¶ added in v0.0.2
GetWorkStarted accepts a request to retrieve the list of started work and returns in JSON format.
GET /api/work/started
func GetWorkers ¶ added in v0.0.2
GetWorkers accepts a request to retrieve the list of registered workers and return the results in JSON format.
GET /api/workers
Types ¶
This section is empty.