lucipoll

package
v0.0.0-...-2f2bd00 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package lucipoll implements a simple polling LUCI client for the possibly-short-term needs of the build dashboard.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(maintCl maintnerClient, buildersCl bbpb.BuildersClient, buildsCl bbpb.BuildsClient) *service

Types

type Build

type Build struct {
	ID          int64
	BuilderName string
	Status      bbpb.Status
}

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.

Jump to

Keyboard shortcuts

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