Documentation ¶
Overview ¶
Package mock_outbox is a generated GoMock package.
Package mock_outbox is a generated GoMock package.
Index ¶
- type MockOutboxBackgroundService
- type MockOutboxBackgroundServiceMockRecorder
- type MockOutboxPublisher
- func (m *MockOutboxPublisher) EXPECT() *MockOutboxPublisherMockRecorder
- func (m *MockOutboxPublisher) Publish(ctx context.Context, transaction *entities.Tx, topic, key string, ...) error
- func (m *MockOutboxPublisher) PublishWithoutTransaction(ctx context.Context, topic, key string, headers map[string]string, ...) error
- type MockOutboxPublisherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOutboxBackgroundService ¶
type MockOutboxBackgroundService struct {
// contains filtered or unexported fields
}
MockOutboxBackgroundService is a mock of OutboxBackgroundService interface.
func NewMockOutboxBackgroundService ¶
func NewMockOutboxBackgroundService(ctrl *gomock.Controller) *MockOutboxBackgroundService
NewMockOutboxBackgroundService creates a new mock instance.
func (*MockOutboxBackgroundService) Close ¶
func (m *MockOutboxBackgroundService) Close()
Close mocks base method.
func (*MockOutboxBackgroundService) EXPECT ¶
func (m *MockOutboxBackgroundService) EXPECT() *MockOutboxBackgroundServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOutboxBackgroundService) RunAsync ¶
func (m *MockOutboxBackgroundService) RunAsync()
RunAsync mocks base method.
type MockOutboxBackgroundServiceMockRecorder ¶
type MockOutboxBackgroundServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOutboxBackgroundServiceMockRecorder is the mock recorder for MockOutboxBackgroundService.
func (*MockOutboxBackgroundServiceMockRecorder) Close ¶
func (mr *MockOutboxBackgroundServiceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockOutboxBackgroundServiceMockRecorder) RunAsync ¶
func (mr *MockOutboxBackgroundServiceMockRecorder) RunAsync() *gomock.Call
RunAsync indicates an expected call of RunAsync.
type MockOutboxPublisher ¶
type MockOutboxPublisher struct {
// contains filtered or unexported fields
}
MockOutboxPublisher is a mock of OutboxPublisher interface.
func NewMockOutboxPublisher ¶
func NewMockOutboxPublisher(ctrl *gomock.Controller) *MockOutboxPublisher
NewMockOutboxPublisher creates a new mock instance.
func (*MockOutboxPublisher) EXPECT ¶
func (m *MockOutboxPublisher) EXPECT() *MockOutboxPublisherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOutboxPublisher) Publish ¶
func (m *MockOutboxPublisher) Publish(ctx context.Context, transaction *entities.Tx, topic, key string, headers map[string]string, event interface{}) error
Publish mocks base method.
func (*MockOutboxPublisher) PublishWithoutTransaction ¶
func (m *MockOutboxPublisher) PublishWithoutTransaction(ctx context.Context, topic, key string, headers map[string]string, event interface{}) error
PublishWithoutTransaction mocks base method.
type MockOutboxPublisherMockRecorder ¶
type MockOutboxPublisherMockRecorder struct {
// contains filtered or unexported fields
}
MockOutboxPublisherMockRecorder is the mock recorder for MockOutboxPublisher.
func (*MockOutboxPublisherMockRecorder) Publish ¶
func (mr *MockOutboxPublisherMockRecorder) Publish(ctx, transaction, topic, key, headers, event interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockOutboxPublisherMockRecorder) PublishWithoutTransaction ¶
func (mr *MockOutboxPublisherMockRecorder) PublishWithoutTransaction(ctx, topic, key, headers, event interface{}) *gomock.Call
PublishWithoutTransaction indicates an expected call of PublishWithoutTransaction.