mocks

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

func (m *MockIExec) CreateFolderIfDoesNotExist(dir string) error

CreateFolderIfDoesNotExist mocks base method.

func (*MockIExec) DoGit

func (m *MockIExec) DoGit(dir string, args ...string) (string, error)

DoGit mocks base method.

func (*MockIExec) DoGitClone

func (m *MockIExec) DoGitClone(dir string, args ...string) (string, error)

DoGitClone mocks base method.

func (*MockIExec) DoGitPush

func (m *MockIExec) DoGitPush(dir string, args ...string) (string, error)

DoGitPush 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

func (m *MockIExec) OpenEditor(editor string, args ...string) error

OpenEditor mocks base method.

func (*MockIExec) Run

func (m *MockIExec) Run(dir, command string, args ...string) ([]byte, error)

Run mocks base method.

func (*MockIExec) RunInteractive

func (m *MockIExec) RunInteractive(command string, args ...string) error

RunInteractive 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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL