Documentation ¶
Overview ¶
Package mock_nodeconf is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) CHash() chash.CHash
- func (m *MockService) Close(arg0 context.Context) error
- func (m *MockService) Configuration() nodeconf.Configuration
- func (m *MockService) ConsensusPeers() []string
- func (m *MockService) CoordinatorPeers() []string
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) FilePeers() []string
- func (m *MockService) Id() string
- func (m *MockService) Init(arg0 *app.App) error
- func (m *MockService) IsResponsible(arg0 string) bool
- func (m *MockService) Name() string
- func (m *MockService) NamingNodePeers() []string
- func (m *MockService) NetworkCompatibilityStatus() nodeconf.NetworkCompatibilityStatus
- func (m *MockService) NodeIds(arg0 string) []string
- func (m *MockService) NodeTypes(arg0 string) []nodeconf.NodeType
- func (m *MockService) Partition(arg0 string) int
- func (m *MockService) PaymentProcessingNodePeers() []string
- func (m *MockService) PeerAddresses(arg0 string) ([]string, bool)
- func (m *MockService) Run(arg0 context.Context) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) CHash() *gomock.Call
- func (mr *MockServiceMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockServiceMockRecorder) Configuration() *gomock.Call
- func (mr *MockServiceMockRecorder) ConsensusPeers() *gomock.Call
- func (mr *MockServiceMockRecorder) CoordinatorPeers() *gomock.Call
- func (mr *MockServiceMockRecorder) FilePeers() *gomock.Call
- func (mr *MockServiceMockRecorder) Id() *gomock.Call
- func (mr *MockServiceMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockServiceMockRecorder) IsResponsible(arg0 any) *gomock.Call
- func (mr *MockServiceMockRecorder) Name() *gomock.Call
- func (mr *MockServiceMockRecorder) NamingNodePeers() *gomock.Call
- func (mr *MockServiceMockRecorder) NetworkCompatibilityStatus() *gomock.Call
- func (mr *MockServiceMockRecorder) NodeIds(arg0 any) *gomock.Call
- func (mr *MockServiceMockRecorder) NodeTypes(arg0 any) *gomock.Call
- func (mr *MockServiceMockRecorder) Partition(arg0 any) *gomock.Call
- func (mr *MockServiceMockRecorder) PaymentProcessingNodePeers() *gomock.Call
- func (mr *MockServiceMockRecorder) PeerAddresses(arg0 any) *gomock.Call
- func (mr *MockServiceMockRecorder) Run(arg0 any) *gomock.Call
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) 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) IsResponsible ¶
func (m *MockService) IsResponsible(arg0 string) bool
IsResponsible 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.
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 ¶
func (mr *MockServiceMockRecorder) Id() *gomock.Call
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.