Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGit
- func (m *MockGit) EXPECT() *MockGitMockRecorder
- func (m *MockGit) Fetch(arg0 *git.Repository) (string, error)
- func (m *MockGit) GetLocation() string
- func (m *MockGit) PlainClone() (string, error)
- func (m *MockGit) PlainOpen() (*git.Repository, error)
- func (m *MockGit) Pull(arg0 *git.Worktree) (string, error)
- type MockGitMockRecorder
- func (mr *MockGitMockRecorder) Fetch(arg0 interface{}) *gomock.Call
- func (mr *MockGitMockRecorder) GetLocation() *gomock.Call
- func (mr *MockGitMockRecorder) PlainClone() *gomock.Call
- func (mr *MockGitMockRecorder) PlainOpen() *gomock.Call
- func (mr *MockGitMockRecorder) Pull(arg0 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
func (*MockGit) Fetch ¶
func (m *MockGit) Fetch(arg0 *git.Repository) (string, error)
Fetch mocks base method
func (*MockGit) PlainClone ¶
PlainClone mocks base method
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 interface{}) *gomock.Call
Fetch indicates an expected call of Fetch
func (*MockGitMockRecorder) GetLocation ¶
func (mr *MockGitMockRecorder) GetLocation() *gomock.Call
GetLocation indicates an expected call of GetLocation
func (*MockGitMockRecorder) PlainClone ¶
func (mr *MockGitMockRecorder) PlainClone() *gomock.Call
PlainClone indicates an expected call of PlainClone
func (*MockGitMockRecorder) PlainOpen ¶
func (mr *MockGitMockRecorder) PlainOpen() *gomock.Call
PlainOpen indicates an expected call of PlainOpen
func (*MockGitMockRecorder) Pull ¶
func (mr *MockGitMockRecorder) Pull(arg0 interface{}) *gomock.Call
Pull indicates an expected call of Pull
Click to show internal directories.
Click to hide internal directories.