Documentation ¶
Overview ¶
Package mock_eventsourcing is a generated GoMock package.
Package mock_eventsourcing is a generated GoMock package.
Index ¶
- type MockCommandHandlerClient
- type MockCommandHandlerClientMockRecorder
- type MockEventStoreClient
- func (m *MockEventStoreClient) EXPECT() *MockEventStoreClientMockRecorder
- func (m *MockEventStoreClient) Retrieve(arg0 context.Context, arg1 *eventsourcing.EventFilter, arg2 ...grpc.CallOption) (eventsourcing.EventStore_RetrieveClient, error)
- func (m *MockEventStoreClient) RetrieveOr(arg0 context.Context, arg1 *eventsourcing.EventFilters, ...) (eventsourcing.EventStore_RetrieveOrClient, error)
- func (m *MockEventStoreClient) Store(arg0 context.Context, arg1 ...grpc.CallOption) (eventsourcing.EventStore_StoreClient, error)
- type MockEventStoreClientMockRecorder
- func (mr *MockEventStoreClientMockRecorder) Retrieve(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEventStoreClientMockRecorder) RetrieveOr(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEventStoreClientMockRecorder) Store(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockEventStore_RetrieveClient
- func (m *MockEventStore_RetrieveClient) CloseSend() error
- func (m *MockEventStore_RetrieveClient) Context() context.Context
- func (m *MockEventStore_RetrieveClient) EXPECT() *MockEventStore_RetrieveClientMockRecorder
- func (m *MockEventStore_RetrieveClient) Header() (metadata.MD, error)
- func (m *MockEventStore_RetrieveClient) Recv() (*eventsourcing.Event, error)
- func (m *MockEventStore_RetrieveClient) RecvMsg(arg0 interface{}) error
- func (m *MockEventStore_RetrieveClient) SendMsg(arg0 interface{}) error
- func (m *MockEventStore_RetrieveClient) Trailer() metadata.MD
- type MockEventStore_RetrieveClientMockRecorder
- func (mr *MockEventStore_RetrieveClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockEventStore_RetrieveClientMockRecorder) Context() *gomock.Call
- func (mr *MockEventStore_RetrieveClientMockRecorder) Header() *gomock.Call
- func (mr *MockEventStore_RetrieveClientMockRecorder) Recv() *gomock.Call
- func (mr *MockEventStore_RetrieveClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockEventStore_RetrieveClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockEventStore_RetrieveClientMockRecorder) Trailer() *gomock.Call
- type MockEventStore_StoreClient
- func (m *MockEventStore_StoreClient) CloseAndRecv() (*emptypb.Empty, error)
- func (m *MockEventStore_StoreClient) CloseSend() error
- func (m *MockEventStore_StoreClient) Context() context.Context
- func (m *MockEventStore_StoreClient) EXPECT() *MockEventStore_StoreClientMockRecorder
- func (m *MockEventStore_StoreClient) Header() (metadata.MD, error)
- func (m *MockEventStore_StoreClient) RecvMsg(arg0 interface{}) error
- func (m *MockEventStore_StoreClient) Send(arg0 *eventsourcing.Event) error
- func (m *MockEventStore_StoreClient) SendMsg(arg0 interface{}) error
- func (m *MockEventStore_StoreClient) Trailer() metadata.MD
- type MockEventStore_StoreClientMockRecorder
- func (mr *MockEventStore_StoreClientMockRecorder) CloseAndRecv() *gomock.Call
- func (mr *MockEventStore_StoreClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockEventStore_StoreClientMockRecorder) Context() *gomock.Call
- func (mr *MockEventStore_StoreClientMockRecorder) Header() *gomock.Call
- func (mr *MockEventStore_StoreClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockEventStore_StoreClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockEventStore_StoreClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockEventStore_StoreClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommandHandlerClient ¶
type MockCommandHandlerClient struct {
// contains filtered or unexported fields
}
MockCommandHandlerClient is a mock of CommandHandlerClient interface.
func NewMockCommandHandlerClient ¶
func NewMockCommandHandlerClient(ctrl *gomock.Controller) *MockCommandHandlerClient
NewMockCommandHandlerClient creates a new mock instance.
func (*MockCommandHandlerClient) EXPECT ¶
func (m *MockCommandHandlerClient) EXPECT() *MockCommandHandlerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommandHandlerClient) Execute ¶
func (m *MockCommandHandlerClient) Execute(arg0 context.Context, arg1 *commands.Command, arg2 ...grpc.CallOption) (*eventsourcing.CommandReply, error)
Execute mocks base method.
type MockCommandHandlerClientMockRecorder ¶
type MockCommandHandlerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandHandlerClientMockRecorder is the mock recorder for MockCommandHandlerClient.
func (*MockCommandHandlerClientMockRecorder) Execute ¶
func (mr *MockCommandHandlerClientMockRecorder) Execute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Execute indicates an expected call of Execute.
type MockEventStoreClient ¶
type MockEventStoreClient struct {
// contains filtered or unexported fields
}
MockEventStoreClient is a mock of EventStoreClient interface.
func NewMockEventStoreClient ¶
func NewMockEventStoreClient(ctrl *gomock.Controller) *MockEventStoreClient
NewMockEventStoreClient creates a new mock instance.
func (*MockEventStoreClient) EXPECT ¶
func (m *MockEventStoreClient) EXPECT() *MockEventStoreClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventStoreClient) Retrieve ¶
func (m *MockEventStoreClient) Retrieve(arg0 context.Context, arg1 *eventsourcing.EventFilter, arg2 ...grpc.CallOption) (eventsourcing.EventStore_RetrieveClient, error)
Retrieve mocks base method.
func (*MockEventStoreClient) RetrieveOr ¶
func (m *MockEventStoreClient) RetrieveOr(arg0 context.Context, arg1 *eventsourcing.EventFilters, arg2 ...grpc.CallOption) (eventsourcing.EventStore_RetrieveOrClient, error)
RetrieveOr mocks base method.
func (*MockEventStoreClient) Store ¶
func (m *MockEventStoreClient) Store(arg0 context.Context, arg1 ...grpc.CallOption) (eventsourcing.EventStore_StoreClient, error)
Store mocks base method.
type MockEventStoreClientMockRecorder ¶
type MockEventStoreClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEventStoreClientMockRecorder is the mock recorder for MockEventStoreClient.
func (*MockEventStoreClientMockRecorder) Retrieve ¶
func (mr *MockEventStoreClientMockRecorder) Retrieve(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Retrieve indicates an expected call of Retrieve.
func (*MockEventStoreClientMockRecorder) RetrieveOr ¶
func (mr *MockEventStoreClientMockRecorder) RetrieveOr(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RetrieveOr indicates an expected call of RetrieveOr.
func (*MockEventStoreClientMockRecorder) Store ¶
func (mr *MockEventStoreClientMockRecorder) Store(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Store indicates an expected call of Store.
type MockEventStore_RetrieveClient ¶
type MockEventStore_RetrieveClient struct {
// contains filtered or unexported fields
}
MockEventStore_RetrieveClient is a mock of EventStore_RetrieveClient interface.
func NewMockEventStore_RetrieveClient ¶
func NewMockEventStore_RetrieveClient(ctrl *gomock.Controller) *MockEventStore_RetrieveClient
NewMockEventStore_RetrieveClient creates a new mock instance.
func (*MockEventStore_RetrieveClient) CloseSend ¶
func (m *MockEventStore_RetrieveClient) CloseSend() error
CloseSend mocks base method.
func (*MockEventStore_RetrieveClient) Context ¶
func (m *MockEventStore_RetrieveClient) Context() context.Context
Context mocks base method.
func (*MockEventStore_RetrieveClient) EXPECT ¶
func (m *MockEventStore_RetrieveClient) EXPECT() *MockEventStore_RetrieveClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventStore_RetrieveClient) Header ¶
func (m *MockEventStore_RetrieveClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockEventStore_RetrieveClient) Recv ¶
func (m *MockEventStore_RetrieveClient) Recv() (*eventsourcing.Event, error)
Recv mocks base method.
func (*MockEventStore_RetrieveClient) RecvMsg ¶
func (m *MockEventStore_RetrieveClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockEventStore_RetrieveClient) SendMsg ¶
func (m *MockEventStore_RetrieveClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockEventStore_RetrieveClient) Trailer ¶
func (m *MockEventStore_RetrieveClient) Trailer() metadata.MD
Trailer mocks base method.
type MockEventStore_RetrieveClientMockRecorder ¶
type MockEventStore_RetrieveClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEventStore_RetrieveClientMockRecorder is the mock recorder for MockEventStore_RetrieveClient.
func (*MockEventStore_RetrieveClientMockRecorder) CloseSend ¶
func (mr *MockEventStore_RetrieveClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockEventStore_RetrieveClientMockRecorder) Context ¶
func (mr *MockEventStore_RetrieveClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockEventStore_RetrieveClientMockRecorder) Header ¶
func (mr *MockEventStore_RetrieveClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockEventStore_RetrieveClientMockRecorder) Recv ¶
func (mr *MockEventStore_RetrieveClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockEventStore_RetrieveClientMockRecorder) RecvMsg ¶
func (mr *MockEventStore_RetrieveClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockEventStore_RetrieveClientMockRecorder) SendMsg ¶
func (mr *MockEventStore_RetrieveClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockEventStore_RetrieveClientMockRecorder) Trailer ¶
func (mr *MockEventStore_RetrieveClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockEventStore_StoreClient ¶
type MockEventStore_StoreClient struct {
// contains filtered or unexported fields
}
MockEventStore_StoreClient is a mock of EventStore_StoreClient interface.
func NewMockEventStore_StoreClient ¶
func NewMockEventStore_StoreClient(ctrl *gomock.Controller) *MockEventStore_StoreClient
NewMockEventStore_StoreClient creates a new mock instance.
func (*MockEventStore_StoreClient) CloseAndRecv ¶
func (m *MockEventStore_StoreClient) CloseAndRecv() (*emptypb.Empty, error)
CloseAndRecv mocks base method.
func (*MockEventStore_StoreClient) CloseSend ¶
func (m *MockEventStore_StoreClient) CloseSend() error
CloseSend mocks base method.
func (*MockEventStore_StoreClient) Context ¶
func (m *MockEventStore_StoreClient) Context() context.Context
Context mocks base method.
func (*MockEventStore_StoreClient) EXPECT ¶
func (m *MockEventStore_StoreClient) EXPECT() *MockEventStore_StoreClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventStore_StoreClient) Header ¶
func (m *MockEventStore_StoreClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockEventStore_StoreClient) RecvMsg ¶
func (m *MockEventStore_StoreClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockEventStore_StoreClient) Send ¶
func (m *MockEventStore_StoreClient) Send(arg0 *eventsourcing.Event) error
Send mocks base method.
func (*MockEventStore_StoreClient) SendMsg ¶
func (m *MockEventStore_StoreClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockEventStore_StoreClient) Trailer ¶
func (m *MockEventStore_StoreClient) Trailer() metadata.MD
Trailer mocks base method.
type MockEventStore_StoreClientMockRecorder ¶
type MockEventStore_StoreClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEventStore_StoreClientMockRecorder is the mock recorder for MockEventStore_StoreClient.
func (*MockEventStore_StoreClientMockRecorder) CloseAndRecv ¶
func (mr *MockEventStore_StoreClientMockRecorder) CloseAndRecv() *gomock.Call
CloseAndRecv indicates an expected call of CloseAndRecv.
func (*MockEventStore_StoreClientMockRecorder) CloseSend ¶
func (mr *MockEventStore_StoreClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockEventStore_StoreClientMockRecorder) Context ¶
func (mr *MockEventStore_StoreClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockEventStore_StoreClientMockRecorder) Header ¶
func (mr *MockEventStore_StoreClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockEventStore_StoreClientMockRecorder) RecvMsg ¶
func (mr *MockEventStore_StoreClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockEventStore_StoreClientMockRecorder) Send ¶
func (mr *MockEventStore_StoreClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockEventStore_StoreClientMockRecorder) SendMsg ¶
func (mr *MockEventStore_StoreClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockEventStore_StoreClientMockRecorder) Trailer ¶
func (mr *MockEventStore_StoreClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.