mocks

package
v0.2.8-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockDiscovery

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

MockDiscovery is a mock of Discovery interface.

func NewMockDiscovery

func NewMockDiscovery(ctrl *gomock.Controller) *MockDiscovery

NewMockDiscovery creates a new mock instance.

func (*MockDiscovery) Bootstrap

func (m *MockDiscovery) Bootstrap(arg0 context.Context) error

Bootstrap mocks base method.

func (*MockDiscovery) EXPECT

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

type MockDiscoveryMockRecorder

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

MockDiscoveryMockRecorder is the mock recorder for MockDiscovery.

func (*MockDiscoveryMockRecorder) Bootstrap

func (mr *MockDiscoveryMockRecorder) Bootstrap(arg0 interface{}) *gomock.Call

Bootstrap indicates an expected call of Bootstrap.

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) EXPECT

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

func (*MockProvider) GetPeers

func (m *MockProvider) GetPeers() []peer.ID

GetPeers mocks base method.

func (*MockProvider) PeerCount

func (m *MockProvider) PeerCount() uint64

PeerCount mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) GetPeers

func (mr *MockProviderMockRecorder) GetPeers() *gomock.Call

GetPeers indicates an expected call of GetPeers.

func (*MockProviderMockRecorder) PeerCount

func (mr *MockProviderMockRecorder) PeerCount() *gomock.Call

PeerCount indicates an expected call of PeerCount.

type MockWaiter

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

MockWaiter is a mock of Waiter interface.

func NewMockWaiter

func NewMockWaiter(ctrl *gomock.Controller) *MockWaiter

NewMockWaiter creates a new mock instance.

func (*MockWaiter) EXPECT

func (m *MockWaiter) EXPECT() *MockWaiterMockRecorder

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

func (*MockWaiter) WaitPeers

func (m *MockWaiter) WaitPeers(arg0 context.Context, arg1 int) ([]peer.ID, error)

WaitPeers mocks base method.

type MockWaiterMockRecorder

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

MockWaiterMockRecorder is the mock recorder for MockWaiter.

func (*MockWaiterMockRecorder) WaitPeers

func (mr *MockWaiterMockRecorder) WaitPeers(arg0, arg1 interface{}) *gomock.Call

WaitPeers indicates an expected call of WaitPeers.

Jump to

Keyboard shortcuts

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