Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ChainGetter
- type FakeBlockPuller
- func (fake *FakeBlockPuller) Close()
- func (fake *FakeBlockPuller) CloseCallCount() int
- func (fake *FakeBlockPuller) CloseCalls(stub func())
- func (fake *FakeBlockPuller) HeightsByEndpoints() (map[string]uint64, error)
- func (fake *FakeBlockPuller) HeightsByEndpointsCallCount() int
- func (fake *FakeBlockPuller) HeightsByEndpointsCalls(stub func() (map[string]uint64, error))
- func (fake *FakeBlockPuller) HeightsByEndpointsReturns(result1 map[string]uint64, result2 error)
- func (fake *FakeBlockPuller) HeightsByEndpointsReturnsOnCall(i int, result1 map[string]uint64, result2 error)
- func (fake *FakeBlockPuller) Invocations() map[string][][]interface{}
- func (fake *FakeBlockPuller) PullBlock(arg1 uint64) *common.Block
- func (fake *FakeBlockPuller) PullBlockArgsForCall(i int) uint64
- func (fake *FakeBlockPuller) PullBlockCallCount() int
- func (fake *FakeBlockPuller) PullBlockCalls(stub func(uint64) *common.Block)
- func (fake *FakeBlockPuller) PullBlockReturns(result1 *common.Block)
- func (fake *FakeBlockPuller) PullBlockReturnsOnCall(i int, result1 *common.Block)
- type FakeConfigurator
- func (fake *FakeConfigurator) Configure(arg1 string, arg2 []cluster.RemoteNode)
- func (fake *FakeConfigurator) ConfigureArgsForCall(i int) (string, []cluster.RemoteNode)
- func (fake *FakeConfigurator) ConfigureCallCount() int
- func (fake *FakeConfigurator) ConfigureCalls(stub func(string, []cluster.RemoteNode))
- func (fake *FakeConfigurator) Invocations() map[string][][]interface{}
- type FakeRPC
- func (fake *FakeRPC) Invocations() map[string][][]interface{}
- func (fake *FakeRPC) SendConsensus(arg1 uint64, arg2 *orderer.ConsensusRequest) error
- func (fake *FakeRPC) SendConsensusArgsForCall(i int) (uint64, *orderer.ConsensusRequest)
- func (fake *FakeRPC) SendConsensusCallCount() int
- func (fake *FakeRPC) SendConsensusCalls(stub func(uint64, *orderer.ConsensusRequest) error)
- func (fake *FakeRPC) SendConsensusReturns(result1 error)
- func (fake *FakeRPC) SendConsensusReturnsOnCall(i int, result1 error)
- func (fake *FakeRPC) SendSubmit(arg1 uint64, arg2 *orderer.SubmitRequest) error
- func (fake *FakeRPC) SendSubmitArgsForCall(i int) (uint64, *orderer.SubmitRequest)
- func (fake *FakeRPC) SendSubmitCallCount() int
- func (fake *FakeRPC) SendSubmitCalls(stub func(uint64, *orderer.SubmitRequest) error)
- func (fake *FakeRPC) SendSubmitReturns(result1 error)
- func (fake *FakeRPC) SendSubmitReturnsOnCall(i int, result1 error)
- type InactiveChainRegistry
- type MessageReceiver
- type ReceiverGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainGetter ¶
ChainGetter is an autogenerated mock type for the ChainGetter type
func (*ChainGetter) GetChain ¶
func (_m *ChainGetter) GetChain(chainID string) *multichannel.ChainSupport
GetChain provides a mock function with given fields: chainID
type FakeBlockPuller ¶
type FakeBlockPuller struct { CloseStub func() HeightsByEndpointsStub func() (map[string]uint64, error) PullBlockStub func(uint64) *common.Block // contains filtered or unexported fields }
func (*FakeBlockPuller) Close ¶
func (fake *FakeBlockPuller) Close()
func (*FakeBlockPuller) CloseCallCount ¶
func (fake *FakeBlockPuller) CloseCallCount() int
func (*FakeBlockPuller) CloseCalls ¶
func (fake *FakeBlockPuller) CloseCalls(stub func())
func (*FakeBlockPuller) HeightsByEndpoints ¶
func (fake *FakeBlockPuller) HeightsByEndpoints() (map[string]uint64, error)
func (*FakeBlockPuller) HeightsByEndpointsCallCount ¶
func (fake *FakeBlockPuller) HeightsByEndpointsCallCount() int
func (*FakeBlockPuller) HeightsByEndpointsCalls ¶
func (fake *FakeBlockPuller) HeightsByEndpointsCalls(stub func() (map[string]uint64, error))
func (*FakeBlockPuller) HeightsByEndpointsReturns ¶
func (fake *FakeBlockPuller) HeightsByEndpointsReturns(result1 map[string]uint64, result2 error)
func (*FakeBlockPuller) HeightsByEndpointsReturnsOnCall ¶
func (fake *FakeBlockPuller) HeightsByEndpointsReturnsOnCall(i int, result1 map[string]uint64, result2 error)
func (*FakeBlockPuller) Invocations ¶
func (fake *FakeBlockPuller) Invocations() map[string][][]interface{}
func (*FakeBlockPuller) PullBlock ¶
func (fake *FakeBlockPuller) PullBlock(arg1 uint64) *common.Block
func (*FakeBlockPuller) PullBlockArgsForCall ¶
func (fake *FakeBlockPuller) PullBlockArgsForCall(i int) uint64
func (*FakeBlockPuller) PullBlockCallCount ¶
func (fake *FakeBlockPuller) PullBlockCallCount() int
func (*FakeBlockPuller) PullBlockCalls ¶
func (fake *FakeBlockPuller) PullBlockCalls(stub func(uint64) *common.Block)
func (*FakeBlockPuller) PullBlockReturns ¶
func (fake *FakeBlockPuller) PullBlockReturns(result1 *common.Block)
func (*FakeBlockPuller) PullBlockReturnsOnCall ¶
func (fake *FakeBlockPuller) PullBlockReturnsOnCall(i int, result1 *common.Block)
type FakeConfigurator ¶
type FakeConfigurator struct { ConfigureStub func(string, []cluster.RemoteNode) // contains filtered or unexported fields }
func (*FakeConfigurator) Configure ¶
func (fake *FakeConfigurator) Configure(arg1 string, arg2 []cluster.RemoteNode)
func (*FakeConfigurator) ConfigureArgsForCall ¶
func (fake *FakeConfigurator) ConfigureArgsForCall(i int) (string, []cluster.RemoteNode)
func (*FakeConfigurator) ConfigureCallCount ¶
func (fake *FakeConfigurator) ConfigureCallCount() int
func (*FakeConfigurator) ConfigureCalls ¶
func (fake *FakeConfigurator) ConfigureCalls(stub func(string, []cluster.RemoteNode))
func (*FakeConfigurator) Invocations ¶
func (fake *FakeConfigurator) Invocations() map[string][][]interface{}
type FakeRPC ¶
type FakeRPC struct { SendConsensusStub func(uint64, *orderer.ConsensusRequest) error SendSubmitStub func(uint64, *orderer.SubmitRequest) error // contains filtered or unexported fields }
func (*FakeRPC) Invocations ¶
func (*FakeRPC) SendConsensus ¶
func (fake *FakeRPC) SendConsensus(arg1 uint64, arg2 *orderer.ConsensusRequest) error
func (*FakeRPC) SendConsensusArgsForCall ¶
func (fake *FakeRPC) SendConsensusArgsForCall(i int) (uint64, *orderer.ConsensusRequest)
func (*FakeRPC) SendConsensusCallCount ¶
func (*FakeRPC) SendConsensusCalls ¶
func (fake *FakeRPC) SendConsensusCalls(stub func(uint64, *orderer.ConsensusRequest) error)
func (*FakeRPC) SendConsensusReturns ¶
func (*FakeRPC) SendConsensusReturnsOnCall ¶
func (*FakeRPC) SendSubmit ¶
func (fake *FakeRPC) SendSubmit(arg1 uint64, arg2 *orderer.SubmitRequest) error
func (*FakeRPC) SendSubmitArgsForCall ¶
func (fake *FakeRPC) SendSubmitArgsForCall(i int) (uint64, *orderer.SubmitRequest)
func (*FakeRPC) SendSubmitCallCount ¶
func (*FakeRPC) SendSubmitCalls ¶
func (fake *FakeRPC) SendSubmitCalls(stub func(uint64, *orderer.SubmitRequest) error)
func (*FakeRPC) SendSubmitReturns ¶
func (*FakeRPC) SendSubmitReturnsOnCall ¶
type InactiveChainRegistry ¶
InactiveChainRegistry is an autogenerated mock type for the InactiveChainRegistry type
func (*InactiveChainRegistry) TrackChain ¶
func (_m *InactiveChainRegistry) TrackChain(chainName string, genesisBlock *common.Block, createChain func())
TrackChain provides a mock function with given fields: chainName, genesisBlock, createChain
type MessageReceiver ¶
MessageReceiver is an autogenerated mock type for the MessageReceiver type
func (*MessageReceiver) Consensus ¶
func (_m *MessageReceiver) Consensus(req *orderer.ConsensusRequest, sender uint64) error
Consensus provides a mock function with given fields: req, sender
func (*MessageReceiver) Submit ¶
func (_m *MessageReceiver) Submit(req *orderer.SubmitRequest, sender uint64) error
Submit provides a mock function with given fields: req, sender
type ReceiverGetter ¶
ReceiverGetter is an autogenerated mock type for the ReceiverGetter type
func (*ReceiverGetter) ReceiverByChain ¶
func (_m *ReceiverGetter) ReceiverByChain(channelID string) etcdraft.MessageReceiver
ReceiverByChain provides a mock function with given fields: channelID