mock_repository

package
v0.0.0-...-8b1ae4f Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: archive.go

Generated by this command:

mockgen -source=archive.go -package=mock_repository -destination=../../../adaptor/gateway/repository/mock/archive.go

Package mock_repository is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: client.go

Generated by this command:

mockgen -source=client.go -package=mock_repository -destination=../../../adaptor/gateway/repository/mock/client.go

Package mock_repository is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: device.go

Generated by this command:

mockgen -source=device.go -package=mock_repository -destination=../../../adaptor/gateway/repository/mock/device.go

Package mock_repository is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: evnet.go

Generated by this command:

mockgen -source=evnet.go -package=mock_repository -destination=../../../adaptor/gateway/repository/mock/evnet.go

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIArchiveRepository

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

MockIArchiveRepository is a mock of IArchiveRepository interface.

func NewMockIArchiveRepository

func NewMockIArchiveRepository(ctrl *gomock.Controller) *MockIArchiveRepository

NewMockIArchiveRepository creates a new mock instance.

func (*MockIArchiveRepository) EXPECT

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

func (*MockIArchiveRepository) GetArchive

func (m *MockIArchiveRepository) GetArchive(ctx context.Context, archiveId primitive.ID) (entity.Archive, error)

GetArchive mocks base method.

func (*MockIArchiveRepository) GetArchiveByArchiveEventID

func (m *MockIArchiveRepository) GetArchiveByArchiveEventID(ctx context.Context, archiveEventID primitive.ID) (entity.Archive, error)

GetArchiveByArchiveEventID mocks base method.

func (*MockIArchiveRepository) Save

func (m *MockIArchiveRepository) Save(ctx context.Context, archive entity.Archive) error

Save mocks base method.

type MockIArchiveRepositoryMockRecorder

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

MockIArchiveRepositoryMockRecorder is the mock recorder for MockIArchiveRepository.

func (*MockIArchiveRepositoryMockRecorder) GetArchive

func (mr *MockIArchiveRepositoryMockRecorder) GetArchive(ctx, archiveId any) *gomock.Call

GetArchive indicates an expected call of GetArchive.

func (*MockIArchiveRepositoryMockRecorder) GetArchiveByArchiveEventID

func (mr *MockIArchiveRepositoryMockRecorder) GetArchiveByArchiveEventID(ctx, archiveEventID any) *gomock.Call

GetArchiveByArchiveEventID indicates an expected call of GetArchiveByArchiveEventID.

func (*MockIArchiveRepositoryMockRecorder) Save

func (mr *MockIArchiveRepositoryMockRecorder) Save(ctx, archive any) *gomock.Call

Save indicates an expected call of Save.

type MockIClientRepository

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

MockIClientRepository is a mock of IClientRepository interface.

func NewMockIClientRepository

func NewMockIClientRepository(ctrl *gomock.Controller) *MockIClientRepository

NewMockIClientRepository creates a new mock instance.

func (*MockIClientRepository) EXPECT

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

func (*MockIClientRepository) GetClient

func (m *MockIClientRepository) GetClient(ctx context.Context, clientID primitive.ID) (entity.Client, error)

GetClient mocks base method.

type MockIClientRepositoryMockRecorder

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

MockIClientRepositoryMockRecorder is the mock recorder for MockIClientRepository.

func (*MockIClientRepositoryMockRecorder) GetClient

func (mr *MockIClientRepositoryMockRecorder) GetClient(ctx, clientID any) *gomock.Call

GetClient indicates an expected call of GetClient.

type MockIDeviceRepository

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

MockIDeviceRepository is a mock of IDeviceRepository interface.

func NewMockIDeviceRepository

func NewMockIDeviceRepository(ctrl *gomock.Controller) *MockIDeviceRepository

NewMockIDeviceRepository creates a new mock instance.

func (*MockIDeviceRepository) EXPECT

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

func (*MockIDeviceRepository) GetDevice

func (m *MockIDeviceRepository) GetDevice(ctx context.Context, deviceID primitive.ID) (entity.Device, error)

GetDevice mocks base method.

type MockIDeviceRepositoryMockRecorder

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

MockIDeviceRepositoryMockRecorder is the mock recorder for MockIDeviceRepository.

func (*MockIDeviceRepositoryMockRecorder) GetDevice

func (mr *MockIDeviceRepositoryMockRecorder) GetDevice(ctx, deviceID any) *gomock.Call

GetDevice indicates an expected call of GetDevice.

type MockIEventRepository

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

MockIEventRepository is a mock of IEventRepository interface.

func NewMockIEventRepository

func NewMockIEventRepository(ctrl *gomock.Controller) *MockIEventRepository

NewMockIEventRepository creates a new mock instance.

func (*MockIEventRepository) EXPECT

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

func (*MockIEventRepository) GetArchiveEvent

func (m *MockIEventRepository) GetArchiveEvent(ctx context.Context, archiveEventID primitive.ID) (entity.ArchiveEvent, error)

GetArchiveEvent mocks base method.

func (*MockIEventRepository) SaveArchiveEvent

func (m *MockIEventRepository) SaveArchiveEvent(ctx context.Context, archiveEvent entity.ArchiveEvent) error

SaveArchiveEvent mocks base method.

type MockIEventRepositoryMockRecorder

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

MockIEventRepositoryMockRecorder is the mock recorder for MockIEventRepository.

func (*MockIEventRepositoryMockRecorder) GetArchiveEvent

func (mr *MockIEventRepositoryMockRecorder) GetArchiveEvent(ctx, archiveEventID any) *gomock.Call

GetArchiveEvent indicates an expected call of GetArchiveEvent.

func (*MockIEventRepositoryMockRecorder) SaveArchiveEvent

func (mr *MockIEventRepositoryMockRecorder) SaveArchiveEvent(ctx, archiveEvent any) *gomock.Call

SaveArchiveEvent indicates an expected call of SaveArchiveEvent.

Jump to

Keyboard shortcuts

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