Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueHandler ¶
type IssueHandler struct {
// contains filtered or unexported fields
}
IssueHandler handles methods for github issues
func Setup ¶
func Setup(org, repo, githubTokenPath string, dryrun bool) (*IssueHandler, error)
Setup creates the necessary setup to make calls to work with github issues
func (*IssueHandler) CloseIssueForTest ¶
func (gih *IssueHandler) CloseIssueForTest(testName string) error
CloseIssueForTest will try to close the issue for the given testName. If there is no issue related to the test or the issue is already closed, the function will do nothing.
func (*IssueHandler) CreateIssueForTest ¶
func (gih *IssueHandler) CreateIssueForTest(testName, desc string) error
CreateIssueForTest will try to add an issue with the given testName and description. If there is already an issue related to the test, it will try to update that issue.
Click to show internal directories.
Click to hide internal directories.