package lucipoll
import "golang.org/x/build/cmd/coordinator/internal/lucipoll"
Package lucipoll implements a simple polling LUCI client for the possibly-short-term needs of the build dashboard.
Index ¶
- func NewService(maintCl maintnerClient, buildersCl bbpb.BuildersClient, buildsCl bbpb.BuildsClient) *service
- type Build
- type Builder
- type BuilderConfigProperties
- type Snapshot
Functions ¶
func NewService ¶
func NewService(maintCl maintnerClient, buildersCl bbpb.BuildersClient, buildsCl bbpb.BuildsClient) *service
Types ¶
type Build ¶
type Builder ¶
type Builder struct { Name string *BuilderConfigProperties }
type BuilderConfigProperties ¶
type BuilderConfigProperties struct { Repo string `json:"project"` GoBranch string `json:"go_branch"` Target struct { GOOS string `json:"goos"` GOARCH string `json:"goarch"` } `json:"target"` KnownIssue int `json:"known_issue"` }
type Snapshot ¶
type Snapshot struct { Builders map[string]Builder // Map key is builder name. RepoCommitBuilds map[string]map[string]map[string]Build // Map keys are repo, commit ID, builder name. }
A Snapshot is a consistent snapshot in time holding LUCI post-submit state.
Source Files ¶
lucipoll.go
- Version
- v0.0.0-20250421191922-3619c213cff3 (latest)
- Published
- Apr 21, 2025
- Platform
- linux/amd64
- Imports
- 14 packages
- Last checked
- 2 months ago –
Tools for package owners.