Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDeHistory
- func (m *MockDeHistory) EXPECT() *MockDeHistoryMockRecorder
- func (m *MockDeHistory) FetchHistorySegment(arg0 context.Context, arg1 string) (store.SegmentIndexEntry, error)
- func (m *MockDeHistory) GetMostRecentHistorySegmentFromPeers(arg0 context.Context, arg1 []int) (*v2.HistorySegment, map[string]*v2.HistorySegment, error)
- func (m *MockDeHistory) LoadAllAvailableHistoryIntoDatanode(arg0 context.Context, arg1 fs.FS) (snapshot.LoadResult, error)
- type MockDeHistoryMockRecorder
- func (mr *MockDeHistoryMockRecorder) FetchHistorySegment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeHistoryMockRecorder) GetMostRecentHistorySegmentFromPeers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeHistoryMockRecorder) LoadAllAvailableHistoryIntoDatanode(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDeHistory ¶
type MockDeHistory struct {
// contains filtered or unexported fields
}
MockDeHistory is a mock of DeHistory interface.
func NewMockDeHistory ¶
func NewMockDeHistory(ctrl *gomock.Controller) *MockDeHistory
NewMockDeHistory creates a new mock instance.
func (*MockDeHistory) EXPECT ¶
func (m *MockDeHistory) EXPECT() *MockDeHistoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeHistory) FetchHistorySegment ¶
func (m *MockDeHistory) FetchHistorySegment(arg0 context.Context, arg1 string) (store.SegmentIndexEntry, error)
FetchHistorySegment mocks base method.
func (*MockDeHistory) GetMostRecentHistorySegmentFromPeers ¶
func (m *MockDeHistory) GetMostRecentHistorySegmentFromPeers(arg0 context.Context, arg1 []int) (*v2.HistorySegment, map[string]*v2.HistorySegment, error)
GetMostRecentHistorySegmentFromPeers mocks base method.
func (*MockDeHistory) LoadAllAvailableHistoryIntoDatanode ¶
func (m *MockDeHistory) LoadAllAvailableHistoryIntoDatanode(arg0 context.Context, arg1 fs.FS) (snapshot.LoadResult, error)
LoadAllAvailableHistoryIntoDatanode mocks base method.
type MockDeHistoryMockRecorder ¶
type MockDeHistoryMockRecorder struct {
// contains filtered or unexported fields
}
MockDeHistoryMockRecorder is the mock recorder for MockDeHistory.
func (*MockDeHistoryMockRecorder) FetchHistorySegment ¶
func (mr *MockDeHistoryMockRecorder) FetchHistorySegment(arg0, arg1 interface{}) *gomock.Call
FetchHistorySegment indicates an expected call of FetchHistorySegment.
func (*MockDeHistoryMockRecorder) GetMostRecentHistorySegmentFromPeers ¶
func (mr *MockDeHistoryMockRecorder) GetMostRecentHistorySegmentFromPeers(arg0, arg1 interface{}) *gomock.Call
GetMostRecentHistorySegmentFromPeers indicates an expected call of GetMostRecentHistorySegmentFromPeers.
func (*MockDeHistoryMockRecorder) LoadAllAvailableHistoryIntoDatanode ¶
func (mr *MockDeHistoryMockRecorder) LoadAllAvailableHistoryIntoDatanode(arg0, arg1 interface{}) *gomock.Call
LoadAllAvailableHistoryIntoDatanode indicates an expected call of LoadAllAvailableHistoryIntoDatanode.