bugs

package
v0.0.0-...-b433dbc Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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