mock_job

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_job is a generated GoMock package.

Package mock_job is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLog

type MockLog struct {
	// contains filtered or unexported fields
}

MockLog is a mock of Log interface

func NewMockLog

func NewMockLog(ctrl *gomock.Controller) *MockLog

NewMockLog creates a new mock instance

func (*MockLog) EXPECT

func (m *MockLog) EXPECT() *MockLogMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLog) ReadLine

func (m *MockLog) ReadLine() (*job.LogLine, error)

ReadLine mocks base method

type MockLogMockRecorder

type MockLogMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogMockRecorder is the mock recorder for MockLog

func (*MockLogMockRecorder) ReadLine

func (mr *MockLogMockRecorder) ReadLine() *gomock.Call

ReadLine indicates an expected call of ReadLine

type MockRepository

type MockRepository struct {
	// contains filtered or unexported fields
}

MockRepository is a mock of Repository interface

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance

func (*MockRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRepository) FindBy

func (m *MockRepository) FindBy(arg0 job.ID) (*job.Job, error)

FindBy mocks base method

func (*MockRepository) Save

func (m *MockRepository) Save(arg0 job.Job) error

Save mocks base method

type MockRepositoryMockRecorder

type MockRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) FindBy

func (mr *MockRepositoryMockRecorder) FindBy(arg0 interface{}) *gomock.Call

FindBy indicates an expected call of FindBy

func (*MockRepositoryMockRecorder) Save

func (mr *MockRepositoryMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save

Jump to

Keyboard shortcuts

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