Documentation ¶
Overview ¶
Package githubpullrequests_mock is a generated GoMock package.
Index ¶
- type GithubPullRequests
- func (m *GithubPullRequests) CreateComment(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequestComment, *github.Response, error)
- func (m *GithubPullRequests) EXPECT() *GithubPullRequestsMockRecorder
- func (m *GithubPullRequests) ListComments(ctx context.Context, owner, repo string, number int, ...) ([]*github.PullRequestComment, *github.Response, error)
- type GithubPullRequestsMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubPullRequests ¶
type GithubPullRequests struct {
// contains filtered or unexported fields
}
GithubPullRequests is a mock of GithubPullRequests interface
func NewGithubPullRequests ¶
func NewGithubPullRequests(ctrl *gomock.Controller) *GithubPullRequests
NewGithubPullRequests creates a new mock instance
func (*GithubPullRequests) CreateComment ¶
func (m *GithubPullRequests) CreateComment(ctx context.Context, owner, repo string, number int, comment *github.PullRequestComment) (*github.PullRequestComment, *github.Response, error)
CreateComment mocks base method
func (*GithubPullRequests) EXPECT ¶
func (m *GithubPullRequests) EXPECT() *GithubPullRequestsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*GithubPullRequests) ListComments ¶
func (m *GithubPullRequests) ListComments(ctx context.Context, owner, repo string, number int, opts *github.PullRequestListCommentsOptions) ([]*github.PullRequestComment, *github.Response, error)
ListComments mocks base method
type GithubPullRequestsMockRecorder ¶
type GithubPullRequestsMockRecorder struct {
// contains filtered or unexported fields
}
GithubPullRequestsMockRecorder is the mock recorder for GithubPullRequests
func (*GithubPullRequestsMockRecorder) CreateComment ¶
func (mr *GithubPullRequestsMockRecorder) CreateComment(ctx, owner, repo, number, comment interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment
func (*GithubPullRequestsMockRecorder) ListComments ¶
func (mr *GithubPullRequestsMockRecorder) ListComments(ctx, owner, repo, number, opts interface{}) *gomock.Call
ListComments indicates an expected call of ListComments
Click to show internal directories.
Click to hide internal directories.