mocks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 7 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 MockChecker

type MockChecker struct {
	// contains filtered or unexported fields
}

MockChecker is a mock of Checker interface

func NewMockChecker

func NewMockChecker(ctrl *gomock.Controller) *MockChecker

NewMockChecker creates a new mock instance

func (*MockChecker) Check

func (m *MockChecker) Check(arg0 string) bool

Check mocks base method

func (*MockChecker) EXPECT

func (m *MockChecker) EXPECT() *MockCheckerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type MockCheckerMockRecorder

type MockCheckerMockRecorder struct {
	// contains filtered or unexported fields
}

MockCheckerMockRecorder is the mock recorder for MockChecker

func (*MockCheckerMockRecorder) Check

func (mr *MockCheckerMockRecorder) Check(arg0 interface{}) *gomock.Call

Check indicates an expected call of Check

type MockContext

type MockContext struct {
	// contains filtered or unexported fields
}

MockContext is a mock of Context interface

func NewMockContext

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance

func (*MockContext) Deadline

func (m *MockContext) Deadline() (time.Time, bool)

Deadline mocks base method

func (*MockContext) Done

func (m *MockContext) Done() <-chan struct{}

Done mocks base method

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockContext) Err

func (m *MockContext) Err() error

Err mocks base method

func (*MockContext) Value

func (m *MockContext) Value(arg0 interface{}) interface{}

Value mocks base method

type MockContextMockRecorder

type MockContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockContextMockRecorder is the mock recorder for MockContext

func (*MockContextMockRecorder) Deadline

func (mr *MockContextMockRecorder) Deadline() *gomock.Call

Deadline indicates an expected call of Deadline

func (*MockContextMockRecorder) Done

func (mr *MockContextMockRecorder) Done() *gomock.Call

Done indicates an expected call of Done

func (*MockContextMockRecorder) Err

func (mr *MockContextMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err

func (*MockContextMockRecorder) Value

func (mr *MockContextMockRecorder) Value(arg0 interface{}) *gomock.Call

Value indicates an expected call of Value

type MockExecCommandContext

type MockExecCommandContext struct {
	// contains filtered or unexported fields
}

MockExecCommandContext is a mock of ExecCommandContext interface

func NewMockExecCommandContext

func NewMockExecCommandContext(ctrl *gomock.Controller) *MockExecCommandContext

NewMockExecCommandContext creates a new mock instance

func (*MockExecCommandContext) CommandContext

func (m *MockExecCommandContext) CommandContext(arg0 context.Context, arg1 string, arg2 ...string) *exec.Cmd

CommandContext mocks base method

func (*MockExecCommandContext) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockExecCommandContextMockRecorder

type MockExecCommandContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockExecCommandContextMockRecorder is the mock recorder for MockExecCommandContext

func (*MockExecCommandContextMockRecorder) CommandContext

func (mr *MockExecCommandContextMockRecorder) CommandContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CommandContext indicates an expected call of CommandContext

type MockOSProcess

type MockOSProcess struct {
	// contains filtered or unexported fields
}

MockOSProcess is a mock of OSProcess interface

func NewMockOSProcess

func NewMockOSProcess(ctrl *gomock.Controller) *MockOSProcess

NewMockOSProcess creates a new mock instance

func (*MockOSProcess) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOSProcess) Signal

func (m *MockOSProcess) Signal(arg0 os.Signal) error

Signal mocks base method

func (*MockOSProcess) Wait

func (m *MockOSProcess) Wait() (*os.ProcessState, error)

Wait mocks base method

type MockOSProcessMockRecorder

type MockOSProcessMockRecorder struct {
	// contains filtered or unexported fields
}

MockOSProcessMockRecorder is the mock recorder for MockOSProcess

func (*MockOSProcessMockRecorder) Signal

func (mr *MockOSProcessMockRecorder) Signal(arg0 interface{}) *gomock.Call

Signal indicates an expected call of Signal

func (*MockOSProcessMockRecorder) Wait

Wait indicates an expected call of Wait

type MockProcess

type MockProcess struct {
	// contains filtered or unexported fields
}

MockProcess is a mock of Process interface

func NewMockProcess

func NewMockProcess(ctrl *gomock.Controller) *MockProcess

NewMockProcess creates a new mock instance

func (*MockProcess) EXPECT

func (m *MockProcess) EXPECT() *MockProcessMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockProcess) Signal

func (m *MockProcess) Signal(arg0 os.Signal) error

Signal mocks base method

func (*MockProcess) Wait

func (m *MockProcess) Wait() error

Wait mocks base method

type MockProcessMockRecorder

type MockProcessMockRecorder struct {
	// contains filtered or unexported fields
}

MockProcessMockRecorder is the mock recorder for MockProcess

func (*MockProcessMockRecorder) Signal

func (mr *MockProcessMockRecorder) Signal(arg0 interface{}) *gomock.Call

Signal indicates an expected call of Signal

func (*MockProcessMockRecorder) Wait

func (mr *MockProcessMockRecorder) Wait() *gomock.Call

Wait indicates an expected call of Wait

type MockRunner

type MockRunner struct {
	// contains filtered or unexported fields
}

MockRunner is a mock of Runner interface

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRunner) Run

Run mocks base method

func (*MockRunner) RunContext

RunContext mocks base method

type MockRunnerMockRecorder

type MockRunnerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRunnerMockRecorder is the mock recorder for MockRunner

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockRunnerMockRecorder) RunContext

func (mr *MockRunnerMockRecorder) RunContext(arg0, arg1, arg2 interface{}) *gomock.Call

RunContext indicates an expected call of RunContext

Jump to

Keyboard shortcuts

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