cursormock

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package cursormock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTracker

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

MockTracker is a mock of Tracker interface.

func NewMockTracker

func NewMockTracker(ctrl *gomock.Controller) *MockTracker

NewMockTracker creates a new mock instance.

func (*MockTracker) Close

func (m *MockTracker) Close()

Close mocks base method.

func (*MockTracker) Commit

func (m *MockTracker) Commit(cp cursor.Checkpoint, mid pulsar.MessageID) error

Commit mocks base method.

func (*MockTracker) EXPECT

func (m *MockTracker) EXPECT() *MockTrackerMockRecorder

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

func (*MockTracker) Last

func (m *MockTracker) Last() (cursor.Checkpoint, error)

Last mocks base method.

func (*MockTracker) Start

func (m *MockTracker) Start()

Start mocks base method.

type MockTrackerMockRecorder

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

MockTrackerMockRecorder is the mock recorder for MockTracker.

func (*MockTrackerMockRecorder) Close

func (mr *MockTrackerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockTrackerMockRecorder) Commit

func (mr *MockTrackerMockRecorder) Commit(cp, mid interface{}) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockTrackerMockRecorder) Last

func (mr *MockTrackerMockRecorder) Last() *gomock.Call

Last indicates an expected call of Last.

func (*MockTrackerMockRecorder) Start

func (mr *MockTrackerMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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