Documentation ¶
Index ¶
- type BugFramework
- type OpenIssues
- func (o *OpenIssues) GetIssuesOutsideSLO(client types.RecognizedClient, source types.IssueSource, query string) map[types.StandardizedPriority][]*types.Issue
- func (o *OpenIssues) PrettyPrintOpenIssues()
- func (o *OpenIssues) PutOpenIssues(client types.RecognizedClient, source types.IssueSource, query string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BugFramework ¶
type BugFramework interface { // Search calls the bug framework and returns standardized issues. Search(ctx context.Context) ([]*types.Issue, *types.IssueCountsData, error) // SearchClientAndPersist queries issues and puts results into the DB and into the // OpenIssues in-memory object. SearchClientAndPersist(ctx context.Context, dbClient types.BugsDB, runId string) error // GetIssueLink returns a link to the specified issue ID. GetIssueLink(project, id string) string // Sets owner and adds a comment to the specified issue ID. SetOwnerAndAddComment(owner, comment, id string) error }
type OpenIssues ¶
type OpenIssues struct {
// contains filtered or unexported fields
}
func InitOpenIssues ¶
func InitOpenIssues() *OpenIssues
func (*OpenIssues) GetIssuesOutsideSLO ¶
func (o *OpenIssues) GetIssuesOutsideSLO(client types.RecognizedClient, source types.IssueSource, query string) map[types.StandardizedPriority][]*types.Issue
GetIssuesOutsideSLO returns all issues outside Skia's SLO mapped by priority sorted by how far they are outside SLO.
func (*OpenIssues) PrettyPrintOpenIssues ¶
func (o *OpenIssues) PrettyPrintOpenIssues()
PrettyPrintOpenIssues pretty prints the open issues in-memory object.
func (*OpenIssues) PutOpenIssues ¶
func (o *OpenIssues) PutOpenIssues(client types.RecognizedClient, source types.IssueSource, query string, issues []*types.Issue)
PutOpenIssues adds/removes data from the open issues in-memory object.
Click to show internal directories.
Click to hide internal directories.