Documentation
¶
Overview ¶
Package mock_git is a generated GoMock package.
Index ¶
- type MockGit
- func (m *MockGit) Add(path string) error
- func (m *MockGit) CheckOut(target string) error
- func (m *MockGit) Clone(url string) error
- func (m *MockGit) Close() error
- func (m *MockGit) Commit(message string) error
- func (m *MockGit) EXPECT() *MockGitMockRecorder
- func (m *MockGit) GetDestination() string
- func (m *MockGit) Push(target string) error
- func (m *MockGit) Status() error
- type MockGitMockRecorder
- func (mr *MockGitMockRecorder) Add(path any) *gomock.Call
- func (mr *MockGitMockRecorder) CheckOut(target any) *gomock.Call
- func (mr *MockGitMockRecorder) Clone(url any) *gomock.Call
- func (mr *MockGitMockRecorder) Close() *gomock.Call
- func (mr *MockGitMockRecorder) Commit(message any) *gomock.Call
- func (mr *MockGitMockRecorder) GetDestination() *gomock.Call
- func (mr *MockGitMockRecorder) Push(target any) *gomock.Call
- func (mr *MockGitMockRecorder) Status() *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.
func (*MockGit) GetDestination ¶ added in v1.0.8
GetDestination mocks base method.
type MockGitMockRecorder ¶
type MockGitMockRecorder struct {
// contains filtered or unexported fields
}
MockGitMockRecorder is the mock recorder for MockGit.
func (*MockGitMockRecorder) Add ¶
func (mr *MockGitMockRecorder) Add(path any) *gomock.Call
Add indicates an expected call of Add.
func (*MockGitMockRecorder) CheckOut ¶
func (mr *MockGitMockRecorder) CheckOut(target any) *gomock.Call
CheckOut indicates an expected call of CheckOut.
func (*MockGitMockRecorder) Clone ¶
func (mr *MockGitMockRecorder) Clone(url any) *gomock.Call
Clone indicates an expected call of Clone.
func (*MockGitMockRecorder) Close ¶ added in v1.0.8
func (mr *MockGitMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockGitMockRecorder) Commit ¶
func (mr *MockGitMockRecorder) Commit(message any) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockGitMockRecorder) GetDestination ¶ added in v1.0.8
func (mr *MockGitMockRecorder) GetDestination() *gomock.Call
GetDestination indicates an expected call of GetDestination.
func (*MockGitMockRecorder) Push ¶
func (mr *MockGitMockRecorder) Push(target any) *gomock.Call
Push indicates an expected call of Push.
func (*MockGitMockRecorder) Status ¶
func (mr *MockGitMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.