Documentation
¶
Index ¶
- type IssuesService
- func (_m *IssuesService) AddLabelsToIssue(owner string, repo string, number int, labels []string) ([]*github.Label, *github.Response, error)
- func (_m *IssuesService) CreateComment(owner string, repo string, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
- func (_m *IssuesService) DeleteComment(owner string, repo string, id int) (*github.Response, error)
- func (_m *IssuesService) Edit(owner string, repo string, number int, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
- func (_m *IssuesService) Get(owner string, repo string, number int) (*github.Issue, *github.Response, error)
- func (_m *IssuesService) ListByRepo(owner string, repo string, opt *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
- func (_m *IssuesService) ListComments(owner string, repo string, number int, opt *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error)
- func (_m *IssuesService) ListMilestones(owner string, repo string, opt *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)
- func (_m *IssuesService) RemoveLabelForIssue(owner string, repo string, number int, label string) (*github.Response, error)
- type PullRequestsService
- func (_m *PullRequestsService) Get(owner string, repo string, number int) (*github.PullRequest, *github.Response, error)
- func (_m *PullRequestsService) List(owner string, repo string, opt *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
- func (_m *PullRequestsService) ListCommits(owner string, repo string, number int, opt *github.ListOptions) ([]*github.RepositoryCommit, *github.Response, error)
- func (_m *PullRequestsService) ListFiles(owner string, repo string, number int, opt *github.ListOptions) ([]*github.CommitFile, *github.Response, error)
- type RepositoriesService
- func (_m *RepositoriesService) CreateStatus(owner string, repo string, ref string, sts *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
- func (_m *RepositoriesService) GetBranch(owner string, repo string, branch string) (*github.Branch, *github.Response, error)
- func (_m *RepositoriesService) ListStatuses(owner string, repo string, ref string, opt *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
- type SearchService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssuesService ¶
IssuesService is an autogenerated mock type for the IssuesService type
func (*IssuesService) AddLabelsToIssue ¶
func (_m *IssuesService) AddLabelsToIssue(owner string, repo string, number int, labels []string) ([]*github.Label, *github.Response, error)
AddLabelsToIssue provides a mock function with given fields: owner, repo, number, labels
func (*IssuesService) CreateComment ¶
func (_m *IssuesService) CreateComment(owner string, repo string, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
CreateComment provides a mock function with given fields: owner, repo, number, comment
func (*IssuesService) DeleteComment ¶
DeleteComment provides a mock function with given fields: owner, repo, id
func (*IssuesService) Edit ¶
func (_m *IssuesService) Edit(owner string, repo string, number int, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
Edit provides a mock function with given fields: owner, repo, number, issue
func (*IssuesService) Get ¶
func (_m *IssuesService) Get(owner string, repo string, number int) (*github.Issue, *github.Response, error)
Get provides a mock function with given fields: owner, repo, number
func (*IssuesService) ListByRepo ¶
func (_m *IssuesService) ListByRepo(owner string, repo string, opt *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
ListByRepo provides a mock function with given fields: owner, repo, opt
func (*IssuesService) ListComments ¶
func (_m *IssuesService) ListComments(owner string, repo string, number int, opt *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error)
ListComments provides a mock function with given fields: owner, repo, number, opt
func (*IssuesService) ListMilestones ¶
func (_m *IssuesService) ListMilestones(owner string, repo string, opt *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)
ListMilestones provides a mock function with given fields: owner, repo, opt
func (*IssuesService) RemoveLabelForIssue ¶
func (_m *IssuesService) RemoveLabelForIssue(owner string, repo string, number int, label string) (*github.Response, error)
RemoveLabelForIssue provides a mock function with given fields: owner, repo, number, label
type PullRequestsService ¶
PullRequestsService is an autogenerated mock type for the PullRequestsService type
func (*PullRequestsService) Get ¶
func (_m *PullRequestsService) Get(owner string, repo string, number int) (*github.PullRequest, *github.Response, error)
Get provides a mock function with given fields: owner, repo, number
func (*PullRequestsService) List ¶
func (_m *PullRequestsService) List(owner string, repo string, opt *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
List provides a mock function with given fields: owner, repo, opt
func (*PullRequestsService) ListCommits ¶
func (_m *PullRequestsService) ListCommits(owner string, repo string, number int, opt *github.ListOptions) ([]*github.RepositoryCommit, *github.Response, error)
ListCommits provides a mock function with given fields: owner, repo, number, opt
func (*PullRequestsService) ListFiles ¶
func (_m *PullRequestsService) ListFiles(owner string, repo string, number int, opt *github.ListOptions) ([]*github.CommitFile, *github.Response, error)
ListFiles provides a mock function with given fields: owner, repo, number, opt
type RepositoriesService ¶
RepositoriesService is an autogenerated mock type for the RepositoriesService type
func (*RepositoriesService) CreateStatus ¶
func (_m *RepositoriesService) CreateStatus(owner string, repo string, ref string, sts *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
CreateStatus provides a mock function with given fields: owner, repo, ref, sts
func (*RepositoriesService) GetBranch ¶
func (_m *RepositoriesService) GetBranch(owner string, repo string, branch string) (*github.Branch, *github.Response, error)
GetBranch provides a mock function with given fields: owner, repo, branch
func (*RepositoriesService) ListStatuses ¶
func (_m *RepositoriesService) ListStatuses(owner string, repo string, ref string, opt *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
ListStatuses provides a mock function with given fields: owner, repo, ref, opt
type SearchService ¶
SearchService is an autogenerated mock type for the SearchService type
func (*SearchService) Issues ¶
func (_m *SearchService) Issues(query string, opt *github.SearchOptions) (*github.IssuesSearchResult, *github.Response, error)
Issues provides a mock function with given fields: query, opt