Documentation ¶
Overview ¶
Package harness is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Shutdown ¶
func (m *MockRunner) Shutdown(exitType ExitType)
Shutdown mocks base method.
type MockRunnerMockRecorder ¶
type MockRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerMockRecorder is the mock recorder for MockRunner.
func (*MockRunnerMockRecorder) Name ¶
func (mr *MockRunnerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockRunnerMockRecorder) OnError ¶
func (mr *MockRunnerMockRecorder) OnError(err interface{}) *gomock.Call
OnError indicates an expected call of OnError.
func (*MockRunnerMockRecorder) Run ¶
func (mr *MockRunnerMockRecorder) Run(ctx interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockRunnerMockRecorder) Shutdown ¶
func (mr *MockRunnerMockRecorder) Shutdown(exitType interface{}) *gomock.Call
Shutdown indicates an expected call of Shutdown.
type Option ¶
type Option func(o *options)
func OnCompleted ¶
func OnCompleted(fnOnCompleted func()) Option
Click to show internal directories.
Click to hide internal directories.