mocks

package
v0.0.0-...-ecf4119 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 5 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.PackageEvent) 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.PackageEvent, 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.PackageEvent) 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.

type SillySender

type SillySender struct {
}

func (*SillySender) Send

func (m *SillySender) Send(unit *model.PackageEvent) error

Send mocks base method.

Jump to

Keyboard shortcuts

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