Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockIExec
- func (m *MockIExec) CreateFolderIfDoesNotExist(dir string) error
- func (m *MockIExec) DoGit(dir string, args ...string) (string, error)
- func (m *MockIExec) DoGitClone(dir string, args ...string) (string, error)
- func (m *MockIExec) DoGitPush(dir string, args ...string) (string, error)
- func (m *MockIExec) EXPECT() *MockIExecMockRecorder
- func (m *MockIExec) OpenEditor(editor string, args ...string) error
- func (m *MockIExec) Run(dir, command string, args ...string) ([]byte, error)
- func (m *MockIExec) RunInteractive(command string, args ...string) error
- type MockIExecMockRecorder
- func (mr *MockIExecMockRecorder) CreateFolderIfDoesNotExist(dir interface{}) *gomock.Call
- func (mr *MockIExecMockRecorder) DoGit(dir interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIExecMockRecorder) DoGitClone(dir interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIExecMockRecorder) DoGitPush(dir interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIExecMockRecorder) OpenEditor(editor interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIExecMockRecorder) Run(dir, command interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIExecMockRecorder) RunInteractive(command interface{}, args ...interface{}) *gomock.Call
- type MockIPrinters
- type MockIPrintersMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIExec ¶
type MockIExec struct {
// contains filtered or unexported fields
}
MockIExec is a mock of IExec interface.
func NewMockIExec ¶
func NewMockIExec(ctrl *gomock.Controller) *MockIExec
NewMockIExec creates a new mock instance.
func (*MockIExec) CreateFolderIfDoesNotExist ¶
CreateFolderIfDoesNotExist mocks base method.
func (*MockIExec) DoGitClone ¶
DoGitClone mocks base method.
func (*MockIExec) EXPECT ¶
func (m *MockIExec) EXPECT() *MockIExecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIExec) OpenEditor ¶ added in v0.2.33
OpenEditor mocks base method.
type MockIExecMockRecorder ¶
type MockIExecMockRecorder struct {
// contains filtered or unexported fields
}
MockIExecMockRecorder is the mock recorder for MockIExec.
func (*MockIExecMockRecorder) CreateFolderIfDoesNotExist ¶
func (mr *MockIExecMockRecorder) CreateFolderIfDoesNotExist(dir interface{}) *gomock.Call
CreateFolderIfDoesNotExist indicates an expected call of CreateFolderIfDoesNotExist.
func (*MockIExecMockRecorder) DoGit ¶
func (mr *MockIExecMockRecorder) DoGit(dir interface{}, args ...interface{}) *gomock.Call
DoGit indicates an expected call of DoGit.
func (*MockIExecMockRecorder) DoGitClone ¶
func (mr *MockIExecMockRecorder) DoGitClone(dir interface{}, args ...interface{}) *gomock.Call
DoGitClone indicates an expected call of DoGitClone.
func (*MockIExecMockRecorder) DoGitPush ¶
func (mr *MockIExecMockRecorder) DoGitPush(dir interface{}, args ...interface{}) *gomock.Call
DoGitPush indicates an expected call of DoGitPush.
func (*MockIExecMockRecorder) OpenEditor ¶ added in v0.2.33
func (mr *MockIExecMockRecorder) OpenEditor(editor interface{}, args ...interface{}) *gomock.Call
OpenEditor indicates an expected call of OpenEditor.
func (*MockIExecMockRecorder) Run ¶
func (mr *MockIExecMockRecorder) Run(dir, command interface{}, args ...interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockIExecMockRecorder) RunInteractive ¶
func (mr *MockIExecMockRecorder) RunInteractive(command interface{}, args ...interface{}) *gomock.Call
RunInteractive indicates an expected call of RunInteractive.
type MockIPrinters ¶ added in v0.2.33
type MockIPrinters struct {
// contains filtered or unexported fields
}
MockIPrinters is a mock of IPrinters interface.
func NewMockIPrinters ¶ added in v0.2.33
func NewMockIPrinters(ctrl *gomock.Controller) *MockIPrinters
NewMockIPrinters creates a new mock instance.
func (*MockIPrinters) Confirm ¶ added in v0.2.33
func (m *MockIPrinters) Confirm(message string) bool
Confirm mocks base method.
func (*MockIPrinters) EXPECT ¶ added in v0.2.33
func (m *MockIPrinters) EXPECT() *MockIPrintersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPrinters) SelectScriptEntry ¶ added in v0.2.33
func (m *MockIPrinters) SelectScriptEntry(scripts []store.Script, entryType string) (int, string, error)
SelectScriptEntry mocks base method.
type MockIPrintersMockRecorder ¶ added in v0.2.33
type MockIPrintersMockRecorder struct {
// contains filtered or unexported fields
}
MockIPrintersMockRecorder is the mock recorder for MockIPrinters.
func (*MockIPrintersMockRecorder) Confirm ¶ added in v0.2.33
func (mr *MockIPrintersMockRecorder) Confirm(message interface{}) *gomock.Call
Confirm indicates an expected call of Confirm.
func (*MockIPrintersMockRecorder) SelectScriptEntry ¶ added in v0.2.33
func (mr *MockIPrintersMockRecorder) SelectScriptEntry(scripts, entryType interface{}) *gomock.Call
SelectScriptEntry indicates an expected call of SelectScriptEntry.