mock_services

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Index

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) AddJob

func (m *MockJobSubscriber) AddJob(arg0 models.JobSpec, arg1 *models.Head) error

AddJob mocks base method

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL