mock_sorter

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_sorter is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEventIterator

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

MockEventIterator is a mock of EventIterator interface.

func NewMockEventIterator

func NewMockEventIterator(ctrl *gomock.Controller) *MockEventIterator

NewMockEventIterator creates a new mock instance.

func (*MockEventIterator) Close

func (m *MockEventIterator) Close() error

Close mocks base method.

func (*MockEventIterator) EXPECT

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

func (*MockEventIterator) Next

Next mocks base method.

type MockEventIteratorMockRecorder

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

MockEventIteratorMockRecorder is the mock recorder for MockEventIterator.

func (*MockEventIteratorMockRecorder) Close

Close indicates an expected call of Close.

func (*MockEventIteratorMockRecorder) Next

Next indicates an expected call of Next.

type MockSortEngine

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

MockSortEngine is a mock of SortEngine interface.

func NewMockSortEngine

func NewMockSortEngine(ctrl *gomock.Controller) *MockSortEngine

NewMockSortEngine creates a new mock instance.

func (*MockSortEngine) Add

func (m *MockSortEngine) Add(span tablepb.Span, events ...*model.PolymorphicEvent)

Add mocks base method.

func (*MockSortEngine) AddTable

func (m *MockSortEngine) AddTable(span tablepb.Span, startTs model.Ts)

AddTable mocks base method.

func (*MockSortEngine) CleanAllTables

func (m *MockSortEngine) CleanAllTables(upperBound sorter.Position) error

CleanAllTables mocks base method.

func (*MockSortEngine) CleanByTable

func (m *MockSortEngine) CleanByTable(span tablepb.Span, upperBound sorter.Position) error

CleanByTable mocks base method.

func (*MockSortEngine) Close

func (m *MockSortEngine) Close() error

Close mocks base method.

func (*MockSortEngine) EXPECT

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

func (*MockSortEngine) FetchAllTables

func (m *MockSortEngine) FetchAllTables(lowerBound sorter.Position) sorter.EventIterator

FetchAllTables mocks base method.

func (*MockSortEngine) FetchByTable

func (m *MockSortEngine) FetchByTable(span tablepb.Span, lowerBound, upperBound sorter.Position) sorter.EventIterator

FetchByTable mocks base method.

func (*MockSortEngine) GetStatsByTable

func (m *MockSortEngine) GetStatsByTable(span tablepb.Span) sorter.TableStats

GetStatsByTable mocks base method.

func (*MockSortEngine) IsTableBased

func (m *MockSortEngine) IsTableBased() bool

IsTableBased mocks base method.

func (*MockSortEngine) OnResolve

func (m *MockSortEngine) OnResolve(action func(tablepb.Span, model.Ts))

OnResolve mocks base method.

func (*MockSortEngine) RemoveTable

func (m *MockSortEngine) RemoveTable(span tablepb.Span)

RemoveTable mocks base method.

func (*MockSortEngine) SlotsAndHasher

func (m *MockSortEngine) SlotsAndHasher() (int, func(tablepb.Span, int) int)

SlotsAndHasher mocks base method.

type MockSortEngineMockRecorder

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

MockSortEngineMockRecorder is the mock recorder for MockSortEngine.

func (*MockSortEngineMockRecorder) Add

func (mr *MockSortEngineMockRecorder) Add(span interface{}, events ...interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockSortEngineMockRecorder) AddTable

func (mr *MockSortEngineMockRecorder) AddTable(span, startTs interface{}) *gomock.Call

AddTable indicates an expected call of AddTable.

func (*MockSortEngineMockRecorder) CleanAllTables

func (mr *MockSortEngineMockRecorder) CleanAllTables(upperBound interface{}) *gomock.Call

CleanAllTables indicates an expected call of CleanAllTables.

func (*MockSortEngineMockRecorder) CleanByTable

func (mr *MockSortEngineMockRecorder) CleanByTable(span, upperBound interface{}) *gomock.Call

CleanByTable indicates an expected call of CleanByTable.

func (*MockSortEngineMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockSortEngineMockRecorder) FetchAllTables

func (mr *MockSortEngineMockRecorder) FetchAllTables(lowerBound interface{}) *gomock.Call

FetchAllTables indicates an expected call of FetchAllTables.

func (*MockSortEngineMockRecorder) FetchByTable

func (mr *MockSortEngineMockRecorder) FetchByTable(span, lowerBound, upperBound interface{}) *gomock.Call

FetchByTable indicates an expected call of FetchByTable.

func (*MockSortEngineMockRecorder) GetStatsByTable

func (mr *MockSortEngineMockRecorder) GetStatsByTable(span interface{}) *gomock.Call

GetStatsByTable indicates an expected call of GetStatsByTable.

func (*MockSortEngineMockRecorder) IsTableBased

func (mr *MockSortEngineMockRecorder) IsTableBased() *gomock.Call

IsTableBased indicates an expected call of IsTableBased.

func (*MockSortEngineMockRecorder) OnResolve

func (mr *MockSortEngineMockRecorder) OnResolve(action interface{}) *gomock.Call

OnResolve indicates an expected call of OnResolve.

func (*MockSortEngineMockRecorder) RemoveTable

func (mr *MockSortEngineMockRecorder) RemoveTable(span interface{}) *gomock.Call

RemoveTable indicates an expected call of RemoveTable.

func (*MockSortEngineMockRecorder) SlotsAndHasher

func (mr *MockSortEngineMockRecorder) SlotsAndHasher() *gomock.Call

SlotsAndHasher indicates an expected call of SlotsAndHasher.

Jump to

Keyboard shortcuts

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