mocks

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 7 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 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

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.

Jump to

Keyboard shortcuts

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