Versions in this module Expand all Collapse all v0 v0.0.3 Apr 15, 2022 v0.0.1 Apr 15, 2022 Changes in this version + type FakeGithubClient struct + BaseURL string + Branches map[string][]*github.Branch + Comments map[int]map[int64]*github.IssueComment + CommitFiles map[string][]*github.CommitFile + Issues map[string]map[int]*github.Issue + NextNumber int + PRCommits map[int][]*github.RepositoryCommit + PullRequests map[string]map[int]*github.PullRequest + Repos []string + User *github.User + func NewFakeGithubClient() *FakeGithubClient + func (fgc *FakeGithubClient) AddCommitToPullRequest(org, repo string, ID int, SHA string) error + func (fgc *FakeGithubClient) AddFileToCommit(org, repo, SHA, filename, patch string) error + func (fgc *FakeGithubClient) AddLabelsToIssue(org, repo string, issueNumber int, labels []string) error + func (fgc *FakeGithubClient) CloseIssue(org, repo string, issueNumber int) error + func (fgc *FakeGithubClient) CreateComment(org, repo string, issueNumber int, commentBody string) (*github.IssueComment, error) + func (fgc *FakeGithubClient) CreateIssue(org, repo, title, body string) (*github.Issue, error) + func (fgc *FakeGithubClient) CreatePullRequest(org, repo, head, base, title, body string) (*github.PullRequest, error) + func (fgc *FakeGithubClient) DeleteComment(org, repo string, commentID int64) error + func (fgc *FakeGithubClient) EditComment(org, repo string, commentID int64, commentBody string) error + func (fgc *FakeGithubClient) EditPullRequest(org, repo string, ID int, title, body string) (*github.PullRequest, error) + func (fgc *FakeGithubClient) GetComment(org, repo string, commentID int64) (*github.IssueComment, error) + func (fgc *FakeGithubClient) GetGithubUser() (*github.User, error) + func (fgc *FakeGithubClient) GetPullRequest(org, repo string, ID int) (*github.PullRequest, error) + func (fgc *FakeGithubClient) GetPullRequestByCommitID(org, repo string, commitID string) (*github.PullRequest, error) + func (fgc *FakeGithubClient) ListBranches(org, repo string) ([]*github.Branch, error) + func (fgc *FakeGithubClient) ListComments(org, repo string, issueNumber int) ([]*github.IssueComment, error) + func (fgc *FakeGithubClient) ListCommits(org, repo string, ID int) ([]*github.RepositoryCommit, error) + func (fgc *FakeGithubClient) ListFiles(org, repo string, ID int) ([]*github.CommitFile, error) + func (fgc *FakeGithubClient) ListIssuesByRepo(org, repo string, labels []string) ([]*github.Issue, error) + func (fgc *FakeGithubClient) ListPullRequests(org, repo, head, base string) ([]*github.PullRequest, error) + func (fgc *FakeGithubClient) ListRepos(org string) ([]string, error) + func (fgc *FakeGithubClient) RemoveLabelForIssue(org, repo string, issueNumber int, label string) error + func (fgc *FakeGithubClient) ReopenIssue(org, repo string, issueNumber int) error