mock

package
v1.80.0-v2.16 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEventstore

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

MockEventstore is a mock of Eventstore interface.

func NewMockEventstore

func NewMockEventstore(ctrl *gomock.Controller) *MockEventstore

NewMockEventstore creates a new mock instance.

func (*MockEventstore) EXPECT

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

func (*MockEventstore) FilterEvents

func (m *MockEventstore) FilterEvents(arg0 context.Context, arg1 *models.SearchQuery) ([]*models.Event, error)

FilterEvents mocks base method.

func (*MockEventstore) Health

func (m *MockEventstore) Health(arg0 context.Context) error

Health mocks base method.

func (*MockEventstore) Subscribe

func (m *MockEventstore) Subscribe(arg0 ...models.AggregateType) *v1.Subscription

Subscribe mocks base method.

type MockEventstoreMockRecorder

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

MockEventstoreMockRecorder is the mock recorder for MockEventstore.

func (*MockEventstoreMockRecorder) FilterEvents

func (mr *MockEventstoreMockRecorder) FilterEvents(arg0, arg1 interface{}) *gomock.Call

FilterEvents indicates an expected call of FilterEvents.

func (*MockEventstoreMockRecorder) Health

func (mr *MockEventstoreMockRecorder) Health(arg0 interface{}) *gomock.Call

Health indicates an expected call of Health.

func (*MockEventstoreMockRecorder) Subscribe

func (mr *MockEventstoreMockRecorder) Subscribe(arg0 ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

Jump to

Keyboard shortcuts

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