mocks

package
v1.7.0-citest.0-nomain Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 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 Mockfetcher added in v1.4.0

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

Mockfetcher is a mock of fetcher interface.

func NewMockfetcher added in v1.4.0

func NewMockfetcher(ctrl *gomock.Controller) *Mockfetcher

NewMockfetcher creates a new mock instance.

func (*Mockfetcher) EXPECT added in v1.4.0

func (m *Mockfetcher) EXPECT() *MockfetcherMockRecorder

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

func (*Mockfetcher) GetAtxs added in v1.4.0

func (m *Mockfetcher) GetAtxs(arg0 context.Context, arg1 []types.ATXID, arg2 ...system.GetAtxOpt) error

GetAtxs mocks base method.

func (*Mockfetcher) PeerEpochInfo added in v1.4.0

func (m *Mockfetcher) PeerEpochInfo(arg0 context.Context, arg1 p2p.Peer, arg2 types.EpochID) (*fetch.EpochData, error)

PeerEpochInfo mocks base method.

func (*Mockfetcher) SelectBestShuffled added in v1.4.0

func (m *Mockfetcher) SelectBestShuffled(arg0 int) []p2p.Peer

SelectBestShuffled mocks base method.

type MockfetcherGetAtxsCall added in v1.4.0

type MockfetcherGetAtxsCall struct {
	*gomock.Call
}

MockfetcherGetAtxsCall wrap *gomock.Call

func (*MockfetcherGetAtxsCall) Do added in v1.4.0

Do rewrite *gomock.Call.Do

func (*MockfetcherGetAtxsCall) DoAndReturn added in v1.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockfetcherGetAtxsCall) Return added in v1.4.0

Return rewrite *gomock.Call.Return

type MockfetcherMockRecorder added in v1.4.0

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

MockfetcherMockRecorder is the mock recorder for Mockfetcher.

func (*MockfetcherMockRecorder) GetAtxs added in v1.4.0

func (mr *MockfetcherMockRecorder) GetAtxs(arg0, arg1 any, arg2 ...any) *MockfetcherGetAtxsCall

GetAtxs indicates an expected call of GetAtxs.

func (*MockfetcherMockRecorder) PeerEpochInfo added in v1.4.0

func (mr *MockfetcherMockRecorder) PeerEpochInfo(arg0, arg1, arg2 any) *MockfetcherPeerEpochInfoCall

PeerEpochInfo indicates an expected call of PeerEpochInfo.

func (*MockfetcherMockRecorder) SelectBestShuffled added in v1.4.0

func (mr *MockfetcherMockRecorder) SelectBestShuffled(arg0 any) *MockfetcherSelectBestShuffledCall

SelectBestShuffled indicates an expected call of SelectBestShuffled.

type MockfetcherPeerEpochInfoCall added in v1.4.0

type MockfetcherPeerEpochInfoCall struct {
	*gomock.Call
}

MockfetcherPeerEpochInfoCall wrap *gomock.Call

func (*MockfetcherPeerEpochInfoCall) Do added in v1.4.0

Do rewrite *gomock.Call.Do

func (*MockfetcherPeerEpochInfoCall) DoAndReturn added in v1.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockfetcherPeerEpochInfoCall) Return added in v1.4.0

Return rewrite *gomock.Call.Return

type MockfetcherSelectBestShuffledCall added in v1.4.0

type MockfetcherSelectBestShuffledCall struct {
	*gomock.Call
}

MockfetcherSelectBestShuffledCall wrap *gomock.Call

func (*MockfetcherSelectBestShuffledCall) Do added in v1.4.0

Do rewrite *gomock.Call.Do

func (*MockfetcherSelectBestShuffledCall) DoAndReturn added in v1.4.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockfetcherSelectBestShuffledCall) Return added in v1.4.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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