mock

package
v0.0.0-...-c86e3d9 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockElasticRepository

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

MockElasticRepository is a mock of ElasticRepository interface.

func NewMockElasticRepository

func NewMockElasticRepository(ctrl *gomock.Controller) *MockElasticRepository

NewMockElasticRepository creates a new mock instance.

func (*MockElasticRepository) CreateIndexIfNotExists

func (m *MockElasticRepository) CreateIndexIfNotExists(arg0 string) error

CreateIndexIfNotExists mocks base method.

func (*MockElasticRepository) EXPECT

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

func (*MockElasticRepository) GetReadmodel

func (m *MockElasticRepository) GetReadmodel(arg0 string) (database.Article, error)

GetReadmodel mocks base method.

func (*MockElasticRepository) IsClientReady

func (m *MockElasticRepository) IsClientReady(arg0 string) error

IsClientReady mocks base method.

func (*MockElasticRepository) LoadEvents

func (m *MockElasticRepository) LoadEvents(arg0 string) ([]database.Event, error)

LoadEvents mocks base method.

func (*MockElasticRepository) SetUpIndexes

func (m *MockElasticRepository) SetUpIndexes() error

SetUpIndexes mocks base method.

func (*MockElasticRepository) StoreEvent

func (m *MockElasticRepository) StoreEvent(event database.Event) error

StoreEvent mocks base method.

func (*MockElasticRepository) StoreReadmodel

func (m *MockElasticRepository) StoreReadmodel(arg0 database.Article) error

StoreReadmodel mocks base method.

func (*MockElasticRepository) UpdateReadmodel

func (m *MockElasticRepository) UpdateReadmodel(arg0 string, arg1 database.Article) error

UpdateReadmodel mocks base method.

type MockElasticRepositoryMockRecorder

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

MockElasticRepositoryMockRecorder is the mock recorder for MockElasticRepository.

func (*MockElasticRepositoryMockRecorder) CreateIndexIfNotExists

func (mr *MockElasticRepositoryMockRecorder) CreateIndexIfNotExists(arg0 interface{}) *gomock.Call

CreateIndexIfNotExists indicates an expected call of CreateIndexIfNotExists.

func (*MockElasticRepositoryMockRecorder) GetReadmodel

func (mr *MockElasticRepositoryMockRecorder) GetReadmodel(arg0 interface{}) *gomock.Call

GetReadmodel indicates an expected call of GetReadmodel.

func (*MockElasticRepositoryMockRecorder) IsClientReady

func (mr *MockElasticRepositoryMockRecorder) IsClientReady(arg0 interface{}) *gomock.Call

IsClientReady indicates an expected call of IsClientReady.

func (*MockElasticRepositoryMockRecorder) LoadEvents

func (mr *MockElasticRepositoryMockRecorder) LoadEvents(arg0 interface{}) *gomock.Call

LoadEvents indicates an expected call of LoadEvents.

func (*MockElasticRepositoryMockRecorder) SetUpIndexes

func (mr *MockElasticRepositoryMockRecorder) SetUpIndexes() *gomock.Call

SetUpIndexes indicates an expected call of SetUpIndexes.

func (*MockElasticRepositoryMockRecorder) StoreEvent

func (mr *MockElasticRepositoryMockRecorder) StoreEvent(event interface{}) *gomock.Call

StoreEvent indicates an expected call of StoreEvent.

func (*MockElasticRepositoryMockRecorder) StoreReadmodel

func (mr *MockElasticRepositoryMockRecorder) StoreReadmodel(arg0 interface{}) *gomock.Call

StoreReadmodel indicates an expected call of StoreReadmodel.

func (*MockElasticRepositoryMockRecorder) UpdateReadmodel

func (mr *MockElasticRepositoryMockRecorder) UpdateReadmodel(arg0, arg1 interface{}) *gomock.Call

UpdateReadmodel indicates an expected call of UpdateReadmodel.

type MockRabbitRepository

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

MockRabbitRepository is a mock of RabbitRepository interface.

func NewMockRabbitRepository

func NewMockRabbitRepository(ctrl *gomock.Controller) *MockRabbitRepository

NewMockRabbitRepository creates a new mock instance.

func (*MockRabbitRepository) Consume

func (m *MockRabbitRepository) Consume(arg0 *event.EventBus)

Consume mocks base method.

func (*MockRabbitRepository) EXPECT

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

func (*MockRabbitRepository) Publish

func (m *MockRabbitRepository) Publish(arg0 string) error

Publish mocks base method.

func (*MockRabbitRepository) QueueConnector

func (m *MockRabbitRepository) QueueConnector(arg0 interface{}) error

QueueConnector mocks base method.

type MockRabbitRepositoryMockRecorder

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

MockRabbitRepositoryMockRecorder is the mock recorder for MockRabbitRepository.

func (*MockRabbitRepositoryMockRecorder) Consume

func (mr *MockRabbitRepositoryMockRecorder) Consume(arg0 interface{}) *gomock.Call

Consume indicates an expected call of Consume.

func (*MockRabbitRepositoryMockRecorder) Publish

func (mr *MockRabbitRepositoryMockRecorder) Publish(arg0 interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockRabbitRepositoryMockRecorder) QueueConnector

func (mr *MockRabbitRepositoryMockRecorder) QueueConnector(arg0 interface{}) *gomock.Call

QueueConnector indicates an expected call of QueueConnector.

Jump to

Keyboard shortcuts

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