Documentation
¶
Index ¶
- Variables
- func CIService(c context.Context) (*ui.CIService, error)
- func GetBuild(c context.Context, id buildbotapi.BuildID) (*ui.MiloBuildLegacy, error)
- func GetBuilder(c context.Context, masterName, builderName string, limit int, cursor string) (*ui.BuilderLegacy, error)
- func PubSubHandler(ctx *router.Context)
- func StatsHandler(c context.Context) error
- type Prop
Constants ¶
This section is empty.
Variables ¶
View Source
var TestCases = []struct { Builder string Build int }{ {"CrWinGoma", 30608}, {"chromium_presubmit", 426944}, {"newline", 1234}, {"gerritCL", 1234}, {"win_chromium_rel_ng", 246309}, }
TestCases is put here because _test.go files are sometimes not built.
TODO(maruel): What?
Functions ¶
func GetBuild ¶
func GetBuild(c context.Context, id buildbotapi.BuildID) (*ui.MiloBuildLegacy, error)
GetBuild fetches a buildbot build and translates it into a MiloBuildLegacy.
func GetBuilder ¶
func GetBuilder(c context.Context, masterName, builderName string, limit int, cursor string) (*ui.BuilderLegacy, error)
GetBuilder is the implementation for getting a milo builder page from buildbot.
func PubSubHandler ¶
PubSubHandler is a webhook that stores the builds coming in from pubsub.
func StatsHandler ¶
StatsHandler is a cron endpoint that sends stats periodically.
Types ¶
Directories
¶
Path | Synopsis |
---|---|
package buildbotapi defines types used in Buildbot build protocol, e.g.
|
package buildbotapi defines types used in Buildbot build protocol, e.g. |
Package buildstore implements storage of //milo/buildsource/buildbot/buildbotapi/* types.
|
Package buildstore implements storage of //milo/buildsource/buildbot/buildbotapi/* types. |
Click to show internal directories.
Click to hide internal directories.