Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockGit
- type MockGitMockRecorder
- func (mr *MockGitMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockGitMockRecorder) Merge(arg0 interface{}) *gomock.Call
- func (mr *MockGitMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitMockRecorder) RevParse(arg0 interface{}) *gomock.Call
- type MockGithub
- func (m *MockGithub) EXPECT() *MockGithubMockRecorder
- func (m *MockGithub) GetPullRequest(arg0, arg1 string) (*github_pr_resource.PullRequest, error)
- func (m *MockGithub) ListModifiedFiles(arg0 int) ([]string, error)
- func (m *MockGithub) ListOpenPullRequests() ([]*github_pr_resource.PullRequest, error)
- func (m *MockGithub) PostComment(arg0, arg1 string) error
- func (m *MockGithub) UpdateCommitStatus(arg0, arg1, arg2 string) error
- type MockGithubMockRecorder
- func (mr *MockGithubMockRecorder) GetPullRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubMockRecorder) ListModifiedFiles(arg0 interface{}) *gomock.Call
- func (mr *MockGithubMockRecorder) ListOpenPullRequests() *gomock.Call
- func (mr *MockGithubMockRecorder) PostComment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGithubMockRecorder) UpdateCommitStatus(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGit ¶
type MockGit struct {
// contains filtered or unexported fields
}
MockGit is a mock of Git interface
func NewMockGit ¶
func NewMockGit(ctrl *gomock.Controller) *MockGit
NewMockGit creates a new mock instance
func (*MockGit) EXPECT ¶
func (m *MockGit) EXPECT() *MockGitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockGitMockRecorder ¶
type MockGitMockRecorder struct {
// contains filtered or unexported fields
}
MockGitMockRecorder is the mock recorder for MockGit
func (*MockGitMockRecorder) Fetch ¶
func (mr *MockGitMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call
Fetch indicates an expected call of Fetch
func (*MockGitMockRecorder) Init ¶
func (mr *MockGitMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockGitMockRecorder) Merge ¶
func (mr *MockGitMockRecorder) Merge(arg0 interface{}) *gomock.Call
Merge indicates an expected call of Merge
func (*MockGitMockRecorder) Pull ¶
func (mr *MockGitMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
Pull indicates an expected call of Pull
func (*MockGitMockRecorder) RevParse ¶
func (mr *MockGitMockRecorder) RevParse(arg0 interface{}) *gomock.Call
RevParse indicates an expected call of RevParse
type MockGithub ¶
type MockGithub struct {
// contains filtered or unexported fields
}
MockGithub is a mock of Github interface
func NewMockGithub ¶
func NewMockGithub(ctrl *gomock.Controller) *MockGithub
NewMockGithub creates a new mock instance
func (*MockGithub) EXPECT ¶
func (m *MockGithub) EXPECT() *MockGithubMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGithub) GetPullRequest ¶ added in v0.5.0
func (m *MockGithub) GetPullRequest(arg0, arg1 string) (*github_pr_resource.PullRequest, error)
GetPullRequest mocks base method
func (*MockGithub) ListModifiedFiles ¶
func (m *MockGithub) ListModifiedFiles(arg0 int) ([]string, error)
ListModifiedFiles mocks base method
func (*MockGithub) ListOpenPullRequests ¶
func (m *MockGithub) ListOpenPullRequests() ([]*github_pr_resource.PullRequest, error)
ListOpenPullRequests mocks base method
func (*MockGithub) PostComment ¶
func (m *MockGithub) PostComment(arg0, arg1 string) error
PostComment mocks base method
func (*MockGithub) UpdateCommitStatus ¶
func (m *MockGithub) UpdateCommitStatus(arg0, arg1, arg2 string) error
UpdateCommitStatus mocks base method
type MockGithubMockRecorder ¶
type MockGithubMockRecorder struct {
// contains filtered or unexported fields
}
MockGithubMockRecorder is the mock recorder for MockGithub
func (*MockGithubMockRecorder) GetPullRequest ¶ added in v0.5.0
func (mr *MockGithubMockRecorder) GetPullRequest(arg0, arg1 interface{}) *gomock.Call
GetPullRequest indicates an expected call of GetPullRequest
func (*MockGithubMockRecorder) ListModifiedFiles ¶
func (mr *MockGithubMockRecorder) ListModifiedFiles(arg0 interface{}) *gomock.Call
ListModifiedFiles indicates an expected call of ListModifiedFiles
func (*MockGithubMockRecorder) ListOpenPullRequests ¶
func (mr *MockGithubMockRecorder) ListOpenPullRequests() *gomock.Call
ListOpenPullRequests indicates an expected call of ListOpenPullRequests
func (*MockGithubMockRecorder) PostComment ¶
func (mr *MockGithubMockRecorder) PostComment(arg0, arg1 interface{}) *gomock.Call
PostComment indicates an expected call of PostComment
func (*MockGithubMockRecorder) UpdateCommitStatus ¶
func (mr *MockGithubMockRecorder) UpdateCommitStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateCommitStatus indicates an expected call of UpdateCommitStatus