mocks

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

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 MockEventIDStore

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

MockEventIDStore is a mock of EventIDStore interface.

func NewMockEventIDStore

func NewMockEventIDStore(ctrl *gomock.Controller) *MockEventIDStore

NewMockEventIDStore creates a new mock instance.

func (*MockEventIDStore) EXPECT

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

func (*MockEventIDStore) Load

func (m *MockEventIDStore) Load(arg0 context.Context) (string, error)

Load mocks base method.

func (*MockEventIDStore) Store

func (m *MockEventIDStore) Store(arg0 context.Context, arg1 string) error

Store mocks base method.

type MockEventIDStoreMockRecorder

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

MockEventIDStoreMockRecorder is the mock recorder for MockEventIDStore.

func (*MockEventIDStoreMockRecorder) Load

func (mr *MockEventIDStoreMockRecorder) Load(arg0 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*MockEventIDStoreMockRecorder) Store

func (mr *MockEventIDStoreMockRecorder) Store(arg0, arg1 interface{}) *gomock.Call

Store indicates an expected call of Store.

type MockEventSource

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

MockEventSource is a mock of EventSource interface.

func NewMockEventSource

func NewMockEventSource(ctrl *gomock.Controller) *MockEventSource

NewMockEventSource creates a new mock instance.

func (*MockEventSource) EXPECT

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

func (*MockEventSource) GetEvent

func (m *MockEventSource) GetEvent(arg0 context.Context, arg1 string) ([]proton.Event, bool, error)

GetEvent mocks base method.

func (*MockEventSource) GetLatestEventID

func (m *MockEventSource) GetLatestEventID(arg0 context.Context) (string, error)

GetLatestEventID mocks base method.

type MockEventSourceMockRecorder

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

MockEventSourceMockRecorder is the mock recorder for MockEventSource.

func (*MockEventSourceMockRecorder) GetEvent

func (mr *MockEventSourceMockRecorder) GetEvent(arg0, arg1 interface{}) *gomock.Call

GetEvent indicates an expected call of GetEvent.

func (*MockEventSourceMockRecorder) GetLatestEventID

func (mr *MockEventSourceMockRecorder) GetLatestEventID(arg0 interface{}) *gomock.Call

GetLatestEventID indicates an expected call of GetLatestEventID.

Jump to

Keyboard shortcuts

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