lucipoll

package
v0.0.0-...-a705825 Latest Latest
Warning

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

Go to latest
Published: May 3, 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,omitempty"`
	GoBranch string `json:"go_branch,omitempty"`
	Target   struct {
		GOOS   string `json:"goos,omitempty"`
		GOARCH string `json:"goarch,omitempty"`
	} `json:"target"`
	KnownIssue int `json:"known_issue,omitempty"`
}

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