Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandMessagePublisher ¶
CommandMessagePublisher is an autogenerated mock type for the CommandMessagePublisher type
func NewCommandMessagePublisher ¶
func NewCommandMessagePublisher(t interface { mock.TestingT Cleanup(func()) }) *CommandMessagePublisher
NewCommandMessagePublisher creates a new instance of CommandMessagePublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CommandMessagePublisher) PublishCommand ¶ added in v1.2.17
func (_m *CommandMessagePublisher) PublishCommand(ctx context.Context, replyChannel string, command core.Command, options ...msg.MessageOption) error
PublishCommand provides a mock function with given fields: ctx, replyChannel, command, options
type Consumer ¶
Consumer is an autogenerated mock type for the Consumer type
func NewConsumer ¶
NewConsumer creates a new instance of Consumer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type DomainEvent ¶
DomainEvent is an autogenerated mock type for the DomainEvent type
func NewDomainEvent ¶
func NewDomainEvent(t interface { mock.TestingT Cleanup(func()) }) *DomainEvent
NewDomainEvent creates a new instance of DomainEvent. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DomainEvent) DestinationChannel ¶
func (_m *DomainEvent) DestinationChannel() string
DestinationChannel provides a mock function with given fields:
func (*DomainEvent) EventName ¶
func (_m *DomainEvent) EventName() string
EventName provides a mock function with given fields:
type EntityEvent ¶
EntityEvent is an autogenerated mock type for the EntityEvent type
func NewEntityEvent ¶
func NewEntityEvent(t interface { mock.TestingT Cleanup(func()) }) *EntityEvent
NewEntityEvent creates a new instance of EntityEvent. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EntityEvent) EntityID ¶
func (_m *EntityEvent) EntityID() string
EntityID provides a mock function with given fields:
func (*EntityEvent) EntityName ¶
func (_m *EntityEvent) EntityName() string
EntityName provides a mock function with given fields:
func (*EntityEvent) Event ¶
func (_m *EntityEvent) Event() core.Event
Event provides a mock function with given fields:
func (*EntityEvent) Headers ¶
func (_m *EntityEvent) Headers() msg.Headers
Headers provides a mock function with given fields:
type EntityEventMessagePublisher ¶
EntityEventMessagePublisher is an autogenerated mock type for the EntityEventMessagePublisher type
func NewEntityEventMessagePublisher ¶
func NewEntityEventMessagePublisher(t interface { mock.TestingT Cleanup(func()) }) *EntityEventMessagePublisher
NewEntityEventMessagePublisher creates a new instance of EntityEventMessagePublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EntityEventMessagePublisher) PublishEntityEvents ¶
func (_m *EntityEventMessagePublisher) PublishEntityEvents(ctx context.Context, entity core.Entity, options ...msg.MessageOption) error
PublishEntityEvents provides a mock function with given fields: ctx, entity, options
type Event ¶
Event is an autogenerated mock type for the Event type
func NewEvent ¶
NewEvent creates a new instance of Event. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type EventMessagePublisher ¶
EventMessagePublisher is an autogenerated mock type for the EventMessagePublisher type
func NewEventMessagePublisher ¶
func NewEventMessagePublisher(t interface { mock.TestingT Cleanup(func()) }) *EventMessagePublisher
NewEventMessagePublisher creates a new instance of EventMessagePublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EventMessagePublisher) PublishEvent ¶
func (_m *EventMessagePublisher) PublishEvent(ctx context.Context, event core.Event, options ...msg.MessageOption) error
PublishEvent provides a mock function with given fields: ctx, event, options
type Message ¶
Message is an autogenerated mock type for the Message type
func NewMessage ¶
NewMessage creates a new instance of Message. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type MessagePublisher ¶
MessagePublisher is an autogenerated mock type for the MessagePublisher type
func NewMessagePublisher ¶
func NewMessagePublisher(t interface { mock.TestingT Cleanup(func()) }) *MessagePublisher
NewMessagePublisher creates a new instance of MessagePublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type MessageReceiver ¶ added in v1.2.19
MessageReceiver is an autogenerated mock type for the MessageReceiver type
func NewMessageReceiver ¶ added in v1.2.19
func NewMessageReceiver(t interface { mock.TestingT Cleanup(func()) }) *MessageReceiver
NewMessageReceiver creates a new instance of MessageReceiver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MessageReceiver) ReceiveMessage ¶ added in v1.2.19
ReceiveMessage provides a mock function with given fields: _a0, _a1
type MessageSubscriber ¶
MessageSubscriber is an autogenerated mock type for the MessageSubscriber type
func NewMessageSubscriber ¶
func NewMessageSubscriber(t interface { mock.TestingT Cleanup(func()) }) *MessageSubscriber
NewMessageSubscriber creates a new instance of MessageSubscriber. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MessageSubscriber) Subscribe ¶
func (_m *MessageSubscriber) Subscribe(channel string, receiver msg.MessageReceiver)
Subscribe provides a mock function with given fields: channel, receiver
type Producer ¶
Producer is an autogenerated mock type for the Producer type
func NewProducer ¶
NewProducer creates a new instance of Producer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type Reply ¶
Reply is an autogenerated mock type for the Reply type
func NewReply ¶
NewReply creates a new instance of Reply. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type ReplyMessagePublisher ¶
ReplyMessagePublisher is an autogenerated mock type for the ReplyMessagePublisher type
func NewReplyMessagePublisher ¶
func NewReplyMessagePublisher(t interface { mock.TestingT Cleanup(func()) }) *ReplyMessagePublisher
NewReplyMessagePublisher creates a new instance of ReplyMessagePublisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReplyMessagePublisher) PublishReply ¶
func (_m *ReplyMessagePublisher) PublishReply(ctx context.Context, reply core.Reply, options ...msg.MessageOption) error
PublishReply provides a mock function with given fields: ctx, reply, options