Documentation ¶
Overview ¶
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 MockWorker ¶
type MockWorker struct {
// contains filtered or unexported fields
}
MockWorker is a mock of Worker interface.
func NewMockWorker ¶
func NewMockWorker(ctrl *gomock.Controller) *MockWorker
NewMockWorker creates a new mock instance.
func (*MockWorker) EXPECT ¶
func (m *MockWorker) EXPECT() *MockWorkerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWorkerKillCall ¶
MockWorkerKillCall wrap *gomock.Call
func (*MockWorkerKillCall) Do ¶
func (c *MockWorkerKillCall) Do(f func()) *MockWorkerKillCall
Do rewrite *gomock.Call.Do
func (*MockWorkerKillCall) DoAndReturn ¶
func (c *MockWorkerKillCall) DoAndReturn(f func()) *MockWorkerKillCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockWorkerKillCall) Return ¶
func (c *MockWorkerKillCall) Return() *MockWorkerKillCall
Return rewrite *gomock.Call.Return
type MockWorkerMockRecorder ¶
type MockWorkerMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkerMockRecorder is the mock recorder for MockWorker.
func (*MockWorkerMockRecorder) Kill ¶
func (mr *MockWorkerMockRecorder) Kill() *MockWorkerKillCall
Kill indicates an expected call of Kill.
func (*MockWorkerMockRecorder) Wait ¶
func (mr *MockWorkerMockRecorder) Wait() *MockWorkerWaitCall
Wait indicates an expected call of Wait.
type MockWorkerWaitCall ¶
MockWorkerWaitCall wrap *gomock.Call
func (*MockWorkerWaitCall) Do ¶
func (c *MockWorkerWaitCall) Do(f func() error) *MockWorkerWaitCall
Do rewrite *gomock.Call.Do
func (*MockWorkerWaitCall) DoAndReturn ¶
func (c *MockWorkerWaitCall) DoAndReturn(f func() error) *MockWorkerWaitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockWorkerWaitCall) Return ¶
func (c *MockWorkerWaitCall) Return(arg0 error) *MockWorkerWaitCall
Return rewrite *gomock.Call.Return