Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubClient ¶
GitHubClient is an autogenerated mock type for the GitHubClient type
func NewGitHubClient ¶
func NewGitHubClient(t interface {
mock.TestingT
Cleanup(func())
}) *GitHubClient
NewGitHubClient creates a new instance of GitHubClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GitHubClient) GetPullRequests ¶
func (_m *GitHubClient) GetPullRequests(_a0 context.Context, _a1 string) ([]*github.PullRequest, error)
GetPullRequests provides a mock function with given fields: _a0, _a1
func (*GitHubClient) GetRepo ¶
func (_m *GitHubClient) GetRepo(_a0 context.Context, _a1 string) (*github.Repository, error)
GetRepo provides a mock function with given fields: _a0, _a1
func (*GitHubClient) GetUserRepos ¶
func (_m *GitHubClient) GetUserRepos(_a0 context.Context, _a1 string) ([]*github.Repository, error)
GetUserRepos provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.