luci: go.chromium.org/luci/milo/buildsource/buildbot Index | Files | Directories

package buildbot

import "go.chromium.org/luci/milo/buildsource/buildbot"

Index

Package Files

build.go builder.go html_data.go

Variables

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?

func CIService Uses

func CIService(c context.Context) (*ui.CIService, error)

CIService returns a *ui.CIService containing all known masters and builders.

func GetBuild Uses

func GetBuild(c context.Context, id buildbotapi.BuildID) (*ui.MiloBuildLegacy, error)

GetBuild fetches a buildbot build and translates it into a MiloBuildLegacy.

func GetBuilder Uses

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.

type Prop Uses

type Prop struct {
    Value interface{}
    Group string
}

Prop is a struct used to store a value and group so that we can make a map of key:Prop to pass into parseProp() for the purpose of cross referencing one prop while working on another.

Directories

PathSynopsis
buildbotapipackage buildbotapi defines types used in Buildbot build protocol, e.g.
buildstorePackage buildstore implements storage of //milo/buildsource/buildbot/buildbotapi/* types.

Package buildbot imports 20 packages (graph) and is imported by 5 packages. Updated 2019-10-17. Refresh now. Tools for package owners.