Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockChecker
- type MockCheckerMockRecorder
- type MockContext
- type MockContextMockRecorder
- type MockExecCommandContext
- type MockExecCommandContextMockRecorder
- type MockOSProcess
- type MockOSProcessMockRecorder
- type MockPacketConnection
- type MockPacketConnectionMockRecorder
- type MockPacketListener
- type MockPacketListenerMockRecorder
- type MockProcess
- type MockProcessMockRecorder
- type MockRunner
- type MockRunnerMockRecorder
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 MockPacketConnection ¶
type MockPacketConnection struct {
// contains filtered or unexported fields
}
MockPacketConnection is a mock of PacketConnection interface.
func NewMockPacketConnection ¶
func NewMockPacketConnection(ctrl *gomock.Controller) *MockPacketConnection
NewMockPacketConnection creates a new mock instance.
func (*MockPacketConnection) Close ¶
func (m *MockPacketConnection) Close() error
Close mocks base method.
func (*MockPacketConnection) EXPECT ¶
func (m *MockPacketConnection) EXPECT() *MockPacketConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPacketConnectionMockRecorder ¶
type MockPacketConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketConnectionMockRecorder is the mock recorder for MockPacketConnection.
func (*MockPacketConnectionMockRecorder) Close ¶
func (mr *MockPacketConnectionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPacketConnectionMockRecorder) ReadFrom ¶
func (mr *MockPacketConnectionMockRecorder) ReadFrom(arg0 interface{}) *gomock.Call
ReadFrom indicates an expected call of ReadFrom.
type MockPacketListener ¶
type MockPacketListener struct {
// contains filtered or unexported fields
}
MockPacketListener is a mock of PacketListener interface.
func NewMockPacketListener ¶
func NewMockPacketListener(ctrl *gomock.Controller) *MockPacketListener
NewMockPacketListener creates a new mock instance.
func (*MockPacketListener) EXPECT ¶
func (m *MockPacketListener) EXPECT() *MockPacketListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPacketListener) ListenPacket ¶
func (m *MockPacketListener) ListenPacket(arg0, arg1 string) (containerrun.PacketConnection, error)
ListenPacket mocks base method.
type MockPacketListenerMockRecorder ¶
type MockPacketListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketListenerMockRecorder is the mock recorder for MockPacketListener.
func (*MockPacketListenerMockRecorder) ListenPacket ¶
func (mr *MockPacketListenerMockRecorder) ListenPacket(arg0, arg1 interface{}) *gomock.Call
ListenPacket indicates an expected call of ListenPacket.
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.
type MockProcessMockRecorder ¶
type MockProcessMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessMockRecorder is the mock recorder for MockProcess.
func (*MockProcessMockRecorder) Pid ¶ added in v0.0.3
func (mr *MockProcessMockRecorder) Pid() *gomock.Call
Pid indicates an expected call of Pid.
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.