mock_nodeconf

package
v0.4.24 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_nodeconf is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) CHash

func (m *MockService) CHash() chash.CHash

CHash mocks base method.

func (*MockService) Close

func (m *MockService) Close(arg0 context.Context) error

Close mocks base method.

func (*MockService) Configuration

func (m *MockService) Configuration() nodeconf.Configuration

Configuration mocks base method.

func (*MockService) ConsensusPeers

func (m *MockService) ConsensusPeers() []string

ConsensusPeers mocks base method.

func (*MockService) CoordinatorPeers

func (m *MockService) CoordinatorPeers() []string

CoordinatorPeers mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) FilePeers

func (m *MockService) FilePeers() []string

FilePeers mocks base method.

func (*MockService) Id

func (m *MockService) Id() string

Id mocks base method.

func (*MockService) Init

func (m *MockService) Init(arg0 *app.App) error

Init mocks base method.

func (*MockService) IsResponsible

func (m *MockService) IsResponsible(arg0 string) bool

IsResponsible mocks base method.

func (*MockService) Name

func (m *MockService) Name() string

Name mocks base method.

func (*MockService) NamingNodePeers added in v0.3.8

func (m *MockService) NamingNodePeers() []string

NamingNodePeers mocks base method.

func (*MockService) NetworkCompatibilityStatus

func (m *MockService) NetworkCompatibilityStatus() nodeconf.NetworkCompatibilityStatus

NetworkCompatibilityStatus mocks base method.

func (*MockService) NodeIds

func (m *MockService) NodeIds(arg0 string) []string

NodeIds mocks base method.

func (*MockService) NodeTypes

func (m *MockService) NodeTypes(arg0 string) []nodeconf.NodeType

NodeTypes mocks base method.

func (*MockService) Partition

func (m *MockService) Partition(arg0 string) int

Partition mocks base method.

func (*MockService) PaymentProcessingNodePeers added in v0.3.8

func (m *MockService) PaymentProcessingNodePeers() []string

PaymentProcessingNodePeers mocks base method.

func (*MockService) PeerAddresses

func (m *MockService) PeerAddresses(arg0 string) ([]string, bool)

PeerAddresses mocks base method.

func (*MockService) Run

func (m *MockService) Run(arg0 context.Context) error

Run mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) CHash

func (mr *MockServiceMockRecorder) CHash() *gomock.Call

CHash indicates an expected call of CHash.

func (*MockServiceMockRecorder) Close

func (mr *MockServiceMockRecorder) Close(arg0 any) *gomock.Call

Close indicates an expected call of Close.

func (*MockServiceMockRecorder) Configuration

func (mr *MockServiceMockRecorder) Configuration() *gomock.Call

Configuration indicates an expected call of Configuration.

func (*MockServiceMockRecorder) ConsensusPeers

func (mr *MockServiceMockRecorder) ConsensusPeers() *gomock.Call

ConsensusPeers indicates an expected call of ConsensusPeers.

func (*MockServiceMockRecorder) CoordinatorPeers

func (mr *MockServiceMockRecorder) CoordinatorPeers() *gomock.Call

CoordinatorPeers indicates an expected call of CoordinatorPeers.

func (*MockServiceMockRecorder) FilePeers

func (mr *MockServiceMockRecorder) FilePeers() *gomock.Call

FilePeers indicates an expected call of FilePeers.

func (*MockServiceMockRecorder) Id

Id indicates an expected call of Id.

func (*MockServiceMockRecorder) Init

func (mr *MockServiceMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockServiceMockRecorder) IsResponsible

func (mr *MockServiceMockRecorder) IsResponsible(arg0 any) *gomock.Call

IsResponsible indicates an expected call of IsResponsible.

func (*MockServiceMockRecorder) Name

func (mr *MockServiceMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockServiceMockRecorder) NamingNodePeers added in v0.3.8

func (mr *MockServiceMockRecorder) NamingNodePeers() *gomock.Call

NamingNodePeers indicates an expected call of NamingNodePeers.

func (*MockServiceMockRecorder) NetworkCompatibilityStatus

func (mr *MockServiceMockRecorder) NetworkCompatibilityStatus() *gomock.Call

NetworkCompatibilityStatus indicates an expected call of NetworkCompatibilityStatus.

func (*MockServiceMockRecorder) NodeIds

func (mr *MockServiceMockRecorder) NodeIds(arg0 any) *gomock.Call

NodeIds indicates an expected call of NodeIds.

func (*MockServiceMockRecorder) NodeTypes

func (mr *MockServiceMockRecorder) NodeTypes(arg0 any) *gomock.Call

NodeTypes indicates an expected call of NodeTypes.

func (*MockServiceMockRecorder) Partition

func (mr *MockServiceMockRecorder) Partition(arg0 any) *gomock.Call

Partition indicates an expected call of Partition.

func (*MockServiceMockRecorder) PaymentProcessingNodePeers added in v0.3.8

func (mr *MockServiceMockRecorder) PaymentProcessingNodePeers() *gomock.Call

PaymentProcessingNodePeers indicates an expected call of PaymentProcessingNodePeers.

func (*MockServiceMockRecorder) PeerAddresses

func (mr *MockServiceMockRecorder) PeerAddresses(arg0 any) *gomock.Call

PeerAddresses indicates an expected call of PeerAddresses.

func (*MockServiceMockRecorder) Run

func (mr *MockServiceMockRecorder) Run(arg0 any) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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