Documentation ¶
Overview ¶
Package interfaces is a generated GoMock package.
Index ¶
- type MockBackendPublisher
- func (m *MockBackendPublisher) EXPECT() *MockBackendPublisherMockRecorder
- func (m *MockBackendPublisher) IsTarget(ctx context.Context, payload interfaces.SendPayload) bool
- func (m *MockBackendPublisher) PublishBinlog(ctx context.Context, event interfaces.Event, payload interfaces.SendPayload) (string, error)
- func (m *MockBackendPublisher) PublishOutbox(ctx context.Context, producer string, outbox interfaces.Outbox) (string, error)
- type MockBackendPublisherMockRecorder
- func (mr *MockBackendPublisherMockRecorder) IsTarget(ctx, payload interface{}) *gomock.Call
- func (mr *MockBackendPublisherMockRecorder) PublishBinlog(ctx, event, payload interface{}) *gomock.Call
- func (mr *MockBackendPublisherMockRecorder) PublishOutbox(ctx, producer, outbox interface{}) *gomock.Call
- type MockPublisher
- type MockPublisherMockRecorder
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 ¶
func (m *MockBackendPublisher) EXPECT() *MockBackendPublisherMockRecorder
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 ¶
func (m *MockPublisher) EXPECT() *MockPublisherMockRecorder
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.