Documentation ¶
Overview ¶
Package mock_sorter is a generated GoMock package.
Index ¶
- type MockEventIterator
- type MockEventIteratorMockRecorder
- type MockSortEngine
- func (m *MockSortEngine) Add(span tablepb.Span, events ...*model.PolymorphicEvent)
- func (m *MockSortEngine) AddTable(span tablepb.Span, startTs model.Ts)
- func (m *MockSortEngine) CleanAllTables(upperBound sorter.Position) error
- func (m *MockSortEngine) CleanByTable(span tablepb.Span, upperBound sorter.Position) error
- func (m *MockSortEngine) Close() error
- func (m *MockSortEngine) EXPECT() *MockSortEngineMockRecorder
- func (m *MockSortEngine) FetchAllTables(lowerBound sorter.Position) sorter.EventIterator
- func (m *MockSortEngine) FetchByTable(span tablepb.Span, lowerBound, upperBound sorter.Position) sorter.EventIterator
- func (m *MockSortEngine) GetStatsByTable(span tablepb.Span) sorter.TableStats
- func (m *MockSortEngine) IsTableBased() bool
- func (m *MockSortEngine) OnResolve(action func(tablepb.Span, model.Ts))
- func (m *MockSortEngine) RemoveTable(span tablepb.Span)
- func (m *MockSortEngine) SlotsAndHasher() (int, func(tablepb.Span, int) int)
- type MockSortEngineMockRecorder
- func (mr *MockSortEngineMockRecorder) Add(span interface{}, events ...interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) AddTable(span, startTs interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) CleanAllTables(upperBound interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) CleanByTable(span, upperBound interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) Close() *gomock.Call
- func (mr *MockSortEngineMockRecorder) FetchAllTables(lowerBound interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) FetchByTable(span, lowerBound, upperBound interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) GetStatsByTable(span interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) IsTableBased() *gomock.Call
- func (mr *MockSortEngineMockRecorder) OnResolve(action interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) RemoveTable(span interface{}) *gomock.Call
- func (mr *MockSortEngineMockRecorder) SlotsAndHasher() *gomock.Call
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 ¶
func (m *MockEventIterator) EXPECT() *MockEventIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventIterator) Next ¶
func (m *MockEventIterator) Next() (*model.PolymorphicEvent, sorter.Position, error)
Next mocks base method.
type MockEventIteratorMockRecorder ¶
type MockEventIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockEventIteratorMockRecorder is the mock recorder for MockEventIterator.
func (*MockEventIteratorMockRecorder) Close ¶
func (mr *MockEventIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockEventIteratorMockRecorder) Next ¶
func (mr *MockEventIteratorMockRecorder) Next() *gomock.Call
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 ¶
CleanByTable mocks base method.
func (*MockSortEngine) EXPECT ¶
func (m *MockSortEngine) EXPECT() *MockSortEngineMockRecorder
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 ¶
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.