Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockJobSubscriber
- func (m *MockJobSubscriber) AddJob(arg0 models.JobSpec, arg1 *models.Head) error
- func (m *MockJobSubscriber) Connect(arg0 *models.Head) error
- func (m *MockJobSubscriber) Disconnect()
- func (m *MockJobSubscriber) EXPECT() *MockJobSubscriberMockRecorder
- func (m *MockJobSubscriber) Jobs() []models.JobSpec
- func (m *MockJobSubscriber) OnNewHead(arg0 *models.Head)
- func (m *MockJobSubscriber) RemoveJob(arg0 string) error
- type MockJobSubscriberMockRecorder
- func (mr *MockJobSubscriberMockRecorder) AddJob(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockJobSubscriberMockRecorder) Connect(arg0 interface{}) *gomock.Call
- func (mr *MockJobSubscriberMockRecorder) Disconnect() *gomock.Call
- func (mr *MockJobSubscriberMockRecorder) Jobs() *gomock.Call
- func (mr *MockJobSubscriberMockRecorder) OnNewHead(arg0 interface{}) *gomock.Call
- func (mr *MockJobSubscriberMockRecorder) RemoveJob(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJobSubscriber ¶
type MockJobSubscriber struct {
// contains filtered or unexported fields
}
MockJobSubscriber is a mock of JobSubscriber interface
func NewMockJobSubscriber ¶
func NewMockJobSubscriber(ctrl *gomock.Controller) *MockJobSubscriber
NewMockJobSubscriber creates a new mock instance
func (*MockJobSubscriber) Connect ¶
func (m *MockJobSubscriber) Connect(arg0 *models.Head) error
Connect mocks base method
func (*MockJobSubscriber) Disconnect ¶
func (m *MockJobSubscriber) Disconnect()
Disconnect mocks base method
func (*MockJobSubscriber) EXPECT ¶
func (m *MockJobSubscriber) EXPECT() *MockJobSubscriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockJobSubscriber) Jobs ¶
func (m *MockJobSubscriber) Jobs() []models.JobSpec
Jobs mocks base method
func (*MockJobSubscriber) OnNewHead ¶
func (m *MockJobSubscriber) OnNewHead(arg0 *models.Head)
OnNewHead mocks base method
func (*MockJobSubscriber) RemoveJob ¶
func (m *MockJobSubscriber) RemoveJob(arg0 string) error
RemoveJob mocks base method
type MockJobSubscriberMockRecorder ¶
type MockJobSubscriberMockRecorder struct {
// contains filtered or unexported fields
}
MockJobSubscriberMockRecorder is the mock recorder for MockJobSubscriber
func (*MockJobSubscriberMockRecorder) AddJob ¶
func (mr *MockJobSubscriberMockRecorder) AddJob(arg0, arg1 interface{}) *gomock.Call
AddJob indicates an expected call of AddJob
func (*MockJobSubscriberMockRecorder) Connect ¶
func (mr *MockJobSubscriberMockRecorder) Connect(arg0 interface{}) *gomock.Call
Connect indicates an expected call of Connect
func (*MockJobSubscriberMockRecorder) Disconnect ¶
func (mr *MockJobSubscriberMockRecorder) Disconnect() *gomock.Call
Disconnect indicates an expected call of Disconnect
func (*MockJobSubscriberMockRecorder) Jobs ¶
func (mr *MockJobSubscriberMockRecorder) Jobs() *gomock.Call
Jobs indicates an expected call of Jobs
func (*MockJobSubscriberMockRecorder) OnNewHead ¶
func (mr *MockJobSubscriberMockRecorder) OnNewHead(arg0 interface{}) *gomock.Call
OnNewHead indicates an expected call of OnNewHead
func (*MockJobSubscriberMockRecorder) RemoveJob ¶
func (mr *MockJobSubscriberMockRecorder) RemoveJob(arg0 interface{}) *gomock.Call
RemoveJob indicates an expected call of RemoveJob