Documentation ¶
Overview ¶
Package gittest is a generated GoMock package.
Index ¶
- type MockRepo
- func (m *MockRepo) ChangedFiles(arg0 context.Context, arg1, arg2 string) ([]string, error)
- func (m *MockRepo) Checkout(arg0 context.Context, arg1 string) error
- func (m *MockRepo) CheckoutPullRequest(arg0 context.Context, arg1 int, arg2 string) error
- func (m *MockRepo) Clean() error
- func (m *MockRepo) CleanPath(arg0 context.Context, arg1 string) error
- func (m *MockRepo) CommitChanges(arg0 context.Context, arg1, arg2 string, arg3 bool, arg4 map[string][]byte, ...) error
- func (m *MockRepo) Copy(arg0 string) (git.Repo, error)
- func (m *MockRepo) EXPECT() *MockRepoMockRecorder
- func (m *MockRepo) GetClonedBranch() string
- func (m *MockRepo) GetCommitForRev(arg0 context.Context, arg1 string) (git.Commit, error)
- func (m *MockRepo) GetLatestCommit(arg0 context.Context) (git.Commit, error)
- func (m *MockRepo) GetPath() string
- func (m *MockRepo) ListCommits(arg0 context.Context, arg1 string) ([]git.Commit, error)
- func (m *MockRepo) MergeRemoteBranch(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockRepo) Pull(arg0 context.Context, arg1 string) error
- func (m *MockRepo) Push(arg0 context.Context, arg1 string) error
- type MockRepoMockRecorder
- func (mr *MockRepoMockRecorder) ChangedFiles(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) Checkout(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) CheckoutPullRequest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) Clean() *gomock.Call
- func (mr *MockRepoMockRecorder) CleanPath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) CommitChanges(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) Copy(arg0 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) GetClonedBranch() *gomock.Call
- func (mr *MockRepoMockRecorder) GetCommitForRev(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) GetLatestCommit(arg0 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) GetPath() *gomock.Call
- func (mr *MockRepoMockRecorder) ListCommits(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) MergeRemoteBranch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) Push(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepo ¶
type MockRepo struct {
// contains filtered or unexported fields
}
MockRepo is a mock of Repo interface.
func NewMockRepo ¶
func NewMockRepo(ctrl *gomock.Controller) *MockRepo
NewMockRepo creates a new mock instance.
func (*MockRepo) ChangedFiles ¶
ChangedFiles mocks base method.
func (*MockRepo) CheckoutPullRequest ¶
CheckoutPullRequest mocks base method.
func (*MockRepo) CommitChanges ¶
func (m *MockRepo) CommitChanges(arg0 context.Context, arg1, arg2 string, arg3 bool, arg4 map[string][]byte, arg5 map[string]string) error
CommitChanges mocks base method.
func (*MockRepo) EXPECT ¶
func (m *MockRepo) EXPECT() *MockRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepo) GetClonedBranch ¶
GetClonedBranch mocks base method.
func (*MockRepo) GetCommitForRev ¶ added in v0.48.0
GetCommitForRev mocks base method.
func (*MockRepo) GetLatestCommit ¶
GetLatestCommit mocks base method.
func (*MockRepo) ListCommits ¶
ListCommits mocks base method.
func (*MockRepo) MergeRemoteBranch ¶
MergeRemoteBranch mocks base method.
type MockRepoMockRecorder ¶
type MockRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoMockRecorder is the mock recorder for MockRepo.
func (*MockRepoMockRecorder) ChangedFiles ¶
func (mr *MockRepoMockRecorder) ChangedFiles(arg0, arg1, arg2 interface{}) *gomock.Call
ChangedFiles indicates an expected call of ChangedFiles.
func (*MockRepoMockRecorder) Checkout ¶
func (mr *MockRepoMockRecorder) Checkout(arg0, arg1 interface{}) *gomock.Call
Checkout indicates an expected call of Checkout.
func (*MockRepoMockRecorder) CheckoutPullRequest ¶
func (mr *MockRepoMockRecorder) CheckoutPullRequest(arg0, arg1, arg2 interface{}) *gomock.Call
CheckoutPullRequest indicates an expected call of CheckoutPullRequest.
func (*MockRepoMockRecorder) Clean ¶
func (mr *MockRepoMockRecorder) Clean() *gomock.Call
Clean indicates an expected call of Clean.
func (*MockRepoMockRecorder) CleanPath ¶ added in v0.49.3
func (mr *MockRepoMockRecorder) CleanPath(arg0, arg1 interface{}) *gomock.Call
CleanPath indicates an expected call of CleanPath.
func (*MockRepoMockRecorder) CommitChanges ¶
func (mr *MockRepoMockRecorder) CommitChanges(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CommitChanges indicates an expected call of CommitChanges.
func (*MockRepoMockRecorder) Copy ¶
func (mr *MockRepoMockRecorder) Copy(arg0 interface{}) *gomock.Call
Copy indicates an expected call of Copy.
func (*MockRepoMockRecorder) GetClonedBranch ¶
func (mr *MockRepoMockRecorder) GetClonedBranch() *gomock.Call
GetClonedBranch indicates an expected call of GetClonedBranch.
func (*MockRepoMockRecorder) GetCommitForRev ¶ added in v0.48.0
func (mr *MockRepoMockRecorder) GetCommitForRev(arg0, arg1 interface{}) *gomock.Call
GetCommitForRev indicates an expected call of GetCommitForRev.
func (*MockRepoMockRecorder) GetLatestCommit ¶
func (mr *MockRepoMockRecorder) GetLatestCommit(arg0 interface{}) *gomock.Call
GetLatestCommit indicates an expected call of GetLatestCommit.
func (*MockRepoMockRecorder) GetPath ¶
func (mr *MockRepoMockRecorder) GetPath() *gomock.Call
GetPath indicates an expected call of GetPath.
func (*MockRepoMockRecorder) ListCommits ¶
func (mr *MockRepoMockRecorder) ListCommits(arg0, arg1 interface{}) *gomock.Call
ListCommits indicates an expected call of ListCommits.
func (*MockRepoMockRecorder) MergeRemoteBranch ¶
func (mr *MockRepoMockRecorder) MergeRemoteBranch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
MergeRemoteBranch indicates an expected call of MergeRemoteBranch.
func (*MockRepoMockRecorder) Pull ¶
func (mr *MockRepoMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
Pull indicates an expected call of Pull.
func (*MockRepoMockRecorder) Push ¶
func (mr *MockRepoMockRecorder) Push(arg0, arg1 interface{}) *gomock.Call
Push indicates an expected call of Push.