mocks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCallNext

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

MockCallNext is a mock of CallNext interface.

func NewMockCallNext

func NewMockCallNext(ctrl *gomock.Controller) *MockCallNext

NewMockCallNext creates a new mock instance.

func (*MockCallNext) Call

func (m *MockCallNext) Call(arg0 context.Context, arg1 *event.Message) error

Call mocks base method.

func (*MockCallNext) EXPECT

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

type MockCallNextMockRecorder

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

MockCallNextMockRecorder is the mock recorder for MockCallNext.

func (*MockCallNextMockRecorder) Call

func (mr *MockCallNextMockRecorder) Call(arg0, arg1 any) *gomock.Call

Call indicates an expected call of Call.

type MockConflictResolver

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

MockConflictResolver is a mock of ConflictResolver interface.

func NewMockConflictResolver

func NewMockConflictResolver(ctrl *gomock.Controller) *MockConflictResolver

NewMockConflictResolver creates a new mock instance.

func (*MockConflictResolver) EXPECT

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

func (*MockConflictResolver) Resolve

func (m *MockConflictResolver) Resolve(arg0 context.Context, arg1 *event.Message, arg2 handlers.CallNext) error

Resolve mocks base method.

type MockConflictResolverMockRecorder

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

MockConflictResolverMockRecorder is the mock recorder for MockConflictResolver.

func (*MockConflictResolverMockRecorder) Resolve

func (mr *MockConflictResolverMockRecorder) Resolve(arg0, arg1, arg2 any) *gomock.Call

Resolve indicates an expected call of Resolve.

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) ListSourcesByKey

func (m *MockEventStore) ListSourcesByKey(arg0 context.Context, arg1 string) ([]string, error)

ListSourcesByKey mocks base method.

func (*MockEventStore) LookUp

func (m *MockEventStore) LookUp(arg0 context.Context, arg1, arg2 string) (*event.Message, error)

LookUp mocks base method.

func (*MockEventStore) LookUpByKey

func (m *MockEventStore) LookUpByKey(arg0 context.Context, arg1 string) ([]*event.Message, error)

LookUpByKey mocks base method.

func (*MockEventStore) Persist

func (m *MockEventStore) Persist(arg0 context.Context, arg1, arg2, arg3 string) error

Persist mocks base method.

type MockEventStoreMockRecorder

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

MockEventStoreMockRecorder is the mock recorder for MockEventStore.

func (*MockEventStoreMockRecorder) ListSourcesByKey

func (mr *MockEventStoreMockRecorder) ListSourcesByKey(arg0, arg1 any) *gomock.Call

ListSourcesByKey indicates an expected call of ListSourcesByKey.

func (*MockEventStoreMockRecorder) LookUp

func (mr *MockEventStoreMockRecorder) LookUp(arg0, arg1, arg2 any) *gomock.Call

LookUp indicates an expected call of LookUp.

func (*MockEventStoreMockRecorder) LookUpByKey

func (mr *MockEventStoreMockRecorder) LookUpByKey(arg0, arg1 any) *gomock.Call

LookUpByKey indicates an expected call of LookUpByKey.

func (*MockEventStoreMockRecorder) Persist

func (mr *MockEventStoreMockRecorder) Persist(arg0, arg1, arg2, arg3 any) *gomock.Call

Persist indicates an expected call of Persist.

type MockKeyExtractor

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

MockKeyExtractor is a mock of KeyExtractor interface.

func NewMockKeyExtractor

func NewMockKeyExtractor(ctrl *gomock.Controller) *MockKeyExtractor

NewMockKeyExtractor creates a new mock instance.

func (*MockKeyExtractor) EXPECT

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

func (*MockKeyExtractor) Extract

func (m *MockKeyExtractor) Extract(arg0 *event.Message) (string, error)

Extract mocks base method.

type MockKeyExtractorMockRecorder

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

MockKeyExtractorMockRecorder is the mock recorder for MockKeyExtractor.

func (*MockKeyExtractorMockRecorder) Extract

func (mr *MockKeyExtractorMockRecorder) Extract(arg0 any) *gomock.Call

Extract indicates an expected call of Extract.

Jump to

Keyboard shortcuts

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