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) 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) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockExecCommandContext) EXPECT() *MockExecCommandContextMockRecorder
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 ¶
func (m *MockOSProcess) EXPECT() *MockOSProcessMockRecorder
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 ¶
func (mr *MockOSProcessMockRecorder) Wait() *gomock.Call
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
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 ¶
func (m *MockRunner) Run(arg0 containerrun.Command, arg1 containerrun.Stdio) (containerrun.Process, error)
Run mocks base method
func (*MockRunner) RunContext ¶
func (m *MockRunner) RunContext(arg0 context.Context, arg1 containerrun.Command, arg2 containerrun.Stdio) (containerrun.Process, error)
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