mocks

package
v0.0.0-...-787b776 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockEventRepo

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

MockEventRepo is a mock of EventRepo interface

func NewMockEventRepo

func NewMockEventRepo(ctrl *gomock.Controller) *MockEventRepo

NewMockEventRepo creates a new mock instance

func (*MockEventRepo) Add

func (m *MockEventRepo) Add(arg0 []model.ParcelEvent) error

Add mocks base method

func (*MockEventRepo) EXPECT

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

func (*MockEventRepo) Lock

func (m *MockEventRepo) Lock(arg0 uint64) ([]model.ParcelEvent, error)

Lock mocks base method

func (*MockEventRepo) Remove

func (m *MockEventRepo) Remove(arg0 []uint64) error

Remove mocks base method

func (*MockEventRepo) Unlock

func (m *MockEventRepo) Unlock(arg0 []uint64) error

Unlock mocks base method

type MockEventRepoMockRecorder

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

MockEventRepoMockRecorder is the mock recorder for MockEventRepo

func (*MockEventRepoMockRecorder) Add

func (mr *MockEventRepoMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockEventRepoMockRecorder) Lock

func (mr *MockEventRepoMockRecorder) Lock(arg0 interface{}) *gomock.Call

Lock indicates an expected call of Lock

func (*MockEventRepoMockRecorder) Remove

func (mr *MockEventRepoMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockEventRepoMockRecorder) Unlock

func (mr *MockEventRepoMockRecorder) Unlock(arg0 interface{}) *gomock.Call

Unlock indicates an expected call of Unlock

type MockEventSender

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

MockEventSender is a mock of EventSender interface

func NewMockEventSender

func NewMockEventSender(ctrl *gomock.Controller) *MockEventSender

NewMockEventSender creates a new mock instance

func (*MockEventSender) EXPECT

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

func (*MockEventSender) Send

func (m *MockEventSender) Send(arg0 *model.ParcelEvent) error

Send mocks base method

type MockEventSenderMockRecorder

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

MockEventSenderMockRecorder is the mock recorder for MockEventSender

func (*MockEventSenderMockRecorder) Send

func (mr *MockEventSenderMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send

Jump to

Keyboard shortcuts

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