interfaces

package
v0.0.0-...-86597e6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package interfaces is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackendPublisher

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

MockBackendPublisher is a mock of BackendPublisher interface.

func NewMockBackendPublisher

func NewMockBackendPublisher(ctrl *gomock.Controller) *MockBackendPublisher

NewMockBackendPublisher creates a new mock instance.

func (*MockBackendPublisher) EXPECT

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

func (*MockBackendPublisher) IsTarget

func (m *MockBackendPublisher) IsTarget(ctx context.Context, payload interfaces.SendPayload) bool

IsTarget mocks base method.

func (*MockBackendPublisher) PublishBinlog

func (m *MockBackendPublisher) PublishBinlog(ctx context.Context, event interfaces.Event, payload interfaces.SendPayload) (string, error)

PublishBinlog mocks base method.

func (*MockBackendPublisher) PublishOutbox

func (m *MockBackendPublisher) PublishOutbox(ctx context.Context, producer string, outbox interfaces.Outbox) (string, error)

PublishOutbox mocks base method.

type MockBackendPublisherMockRecorder

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

MockBackendPublisherMockRecorder is the mock recorder for MockBackendPublisher.

func (*MockBackendPublisherMockRecorder) IsTarget

func (mr *MockBackendPublisherMockRecorder) IsTarget(ctx, payload interface{}) *gomock.Call

IsTarget indicates an expected call of IsTarget.

func (*MockBackendPublisherMockRecorder) PublishBinlog

func (mr *MockBackendPublisherMockRecorder) PublishBinlog(ctx, event, payload interface{}) *gomock.Call

PublishBinlog indicates an expected call of PublishBinlog.

func (*MockBackendPublisherMockRecorder) PublishOutbox

func (mr *MockBackendPublisherMockRecorder) PublishOutbox(ctx, producer, outbox interface{}) *gomock.Call

PublishOutbox indicates an expected call of PublishOutbox.

type MockPublisher

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

MockPublisher is a mock of Publisher interface.

func NewMockPublisher

func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher

NewMockPublisher creates a new mock instance.

func (*MockPublisher) EXPECT

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

func (*MockPublisher) PublishBinlog

func (m *MockPublisher) PublishBinlog(ctx context.Context, payload interfaces.Payload) error

PublishBinlog mocks base method.

func (*MockPublisher) PublishOutbox

func (m *MockPublisher) PublishOutbox(ctx context.Context, producer string, outbox interfaces.Outbox) error

PublishOutbox mocks base method.

type MockPublisherMockRecorder

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

MockPublisherMockRecorder is the mock recorder for MockPublisher.

func (*MockPublisherMockRecorder) PublishBinlog

func (mr *MockPublisherMockRecorder) PublishBinlog(ctx, payload interface{}) *gomock.Call

PublishBinlog indicates an expected call of PublishBinlog.

func (*MockPublisherMockRecorder) PublishOutbox

func (mr *MockPublisherMockRecorder) PublishOutbox(ctx, producer, outbox interface{}) *gomock.Call

PublishOutbox indicates an expected call of PublishOutbox.

Jump to

Keyboard shortcuts

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