buganalysis

package
v0.0.0-...-e5f4e3c Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJobKey

func GetJobKey(jobName string) string

Types

type BugCache

type BugCache interface {
	ListJobBlockingBugs(job string) []bugsv1.Bug
	ListBugs(release, variant, testName string) []bugsv1.Bug
	// ListAssociatedBugs lists bugs that match the testname or variant, but do not match the specified release
	ListAssociatedBugs(release, variant, testName string) []bugsv1.Bug
	UpdateForFailedTests(failedTestNames ...string) error
	UpdateJobBlockers(jobNames ...string) error

	Clear()
	// LastUpdateError returns the last update error, if one exists
	LastUpdateError() error
}

BugCache is a thread-safe way to query about bug status. It is stateful though, so for a time after clearing the data will not be up to date until the Update is called

func NewBugCache

func NewBugCache() BugCache

func NewNoOpBugCache

func NewNoOpBugCache() BugCache

Directories

Path Synopsis
These types are used to decode information from ci-search, but we don't want to expose these for anyone else.
These types are used to decode information from ci-search, but we don't want to expose these for anyone else.

Jump to

Keyboard shortcuts

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