Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, repoOwner, repoName, credPath string, openIssues *bugs.OpenIssues, queryConfig *GithubQueryConfig) (bugs.BugFramework, error)
New returns an instance of the github implementation of bugs.BugFramework.
Types ¶
type GithubQueryConfig ¶
type GithubQueryConfig struct { // Slice of labels to look for in Github issues. Labels []string // Slice of labels to exclude. ExcludeLabels []string // Return only open issues. Open bool // If an issues has no priority label then do not include it in results. PriorityRequired bool // Which client's issues we are looking for. Client types.RecognizedClient }
GithubQueryConfig is the config that will be used when querying github API.
Click to show internal directories.
Click to hide internal directories.