Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(githubClient GithubClient, issuesTriage IssuesTriage, answeringLabels []githubstructures.Label, OUR_LABEL_TEXT string, ANSWERED_LABEL_TEXT string, NOT_ANSWERED_LABEL_TEXT string, defaultLabels []githubstructures.Label, manualLabelConfigs []githubstructures.ManualLabelConfig) *githuboperator
Types ¶
type GithubClient ¶
type GithubClient interface { FindRepos() []string FindLabels(repoName string) []githubstructures.Label DeleteLabel(repoName string, labelName string) CreateLabel(repoName string, label githubstructures.Label) RemoveLabel(issueUrl string, labelName string) AddLabel(issueUrl string, labelName string) RenameLabel(repoName string, oldLabelName string, newLabelName string) FindIssues(repoName string) []githubstructures.Issue }
type IssuesTriage ¶
type IssuesTriage interface { GroupByAnswering(issues []githubstructures.Issue) ([]githubstructures.Issue, []githubstructures.Issue, []githubstructures.Issue) GroupByManualLabel(issues []githubstructures.Issue, config githubstructures.ManualLabelConfig) ([]githubstructures.Issue, []githubstructures.Issue) }
Click to show internal directories.
Click to hide internal directories.