Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.