domain

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package domain is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJobRepository

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

MockJobRepository is a mock of JobRepository interface.

func NewMockJobRepository

func NewMockJobRepository(ctrl *gomock.Controller) *MockJobRepository

NewMockJobRepository creates a new mock instance.

func (*MockJobRepository) DeleteAllJobs

func (m *MockJobRepository) DeleteAllJobs() api_error.ApiErr

DeleteAllJobs mocks base method.

func (*MockJobRepository) DeleteById

func (m *MockJobRepository) DeleteById(arg0 string) api_error.ApiErr

DeleteById mocks base method.

func (*MockJobRepository) Dequeue

func (m *MockJobRepository) Dequeue(arg0 string) (*domain.Job, api_error.ApiErr)

Dequeue mocks base method.

func (*MockJobRepository) EXPECT

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

func (*MockJobRepository) FindAll

FindAll mocks base method.

func (*MockJobRepository) FindById

func (m *MockJobRepository) FindById(arg0 string) (*domain.Job, api_error.ApiErr)

FindById mocks base method.

func (*MockJobRepository) SetHistoryById

func (m *MockJobRepository) SetHistoryById(arg0, arg1 string) api_error.ApiErr

SetHistoryById mocks base method.

func (*MockJobRepository) SetStatusById

func (m *MockJobRepository) SetStatusById(arg0, arg1, arg2 string) api_error.ApiErr

SetStatusById mocks base method.

func (*MockJobRepository) Store

func (m *MockJobRepository) Store(arg0 domain.Job) api_error.ApiErr

Store mocks base method.

func (*MockJobRepository) Update

Update mocks base method.

type MockJobRepositoryMockRecorder

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

MockJobRepositoryMockRecorder is the mock recorder for MockJobRepository.

func (*MockJobRepositoryMockRecorder) DeleteAllJobs

func (mr *MockJobRepositoryMockRecorder) DeleteAllJobs() *gomock.Call

DeleteAllJobs indicates an expected call of DeleteAllJobs.

func (*MockJobRepositoryMockRecorder) DeleteById

func (mr *MockJobRepositoryMockRecorder) DeleteById(arg0 interface{}) *gomock.Call

DeleteById indicates an expected call of DeleteById.

func (*MockJobRepositoryMockRecorder) Dequeue

func (mr *MockJobRepositoryMockRecorder) Dequeue(arg0 interface{}) *gomock.Call

Dequeue indicates an expected call of Dequeue.

func (*MockJobRepositoryMockRecorder) FindAll

func (mr *MockJobRepositoryMockRecorder) FindAll(arg0 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll.

func (*MockJobRepositoryMockRecorder) FindById

func (mr *MockJobRepositoryMockRecorder) FindById(arg0 interface{}) *gomock.Call

FindById indicates an expected call of FindById.

func (*MockJobRepositoryMockRecorder) SetHistoryById

func (mr *MockJobRepositoryMockRecorder) SetHistoryById(arg0, arg1 interface{}) *gomock.Call

SetHistoryById indicates an expected call of SetHistoryById.

func (*MockJobRepositoryMockRecorder) SetStatusById

func (mr *MockJobRepositoryMockRecorder) SetStatusById(arg0, arg1, arg2 interface{}) *gomock.Call

SetStatusById indicates an expected call of SetStatusById.

func (*MockJobRepositoryMockRecorder) Store

func (mr *MockJobRepositoryMockRecorder) Store(arg0 interface{}) *gomock.Call

Store indicates an expected call of Store.

func (*MockJobRepositoryMockRecorder) Update

func (mr *MockJobRepositoryMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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