Documentation
¶
Overview ¶
These types are used to decode information from ci-search, but we don't want to expose these for anyone else.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// VariantSearchRegex defines the search regex for search.ci
VariantSearchRegex = "sippy-link=\\[variants=(\\S+)\\]"
)
Functions ¶
func FindIssuesForJobs ¶
FindIssuesForJobs queries search.ci for Jira issues mapping based to the given job names.
func FindIssuesForTests ¶
FindIssuesForTests queries search.ci for Jira issues mapping based to the given test names.
Types ¶
type Match ¶
type Match struct {
Bug bugsv1.Bug `json:"bugInfo"`
// Context contains a list of all matched instances for the search regex
Context []string `json:"context"`
// Issues contains data on the jira issue. While plural, it can only contain one result from search.ci.
Issues gojira.Issue `json:"issues"`
}
Click to show internal directories.
Click to hide internal directories.