Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ChainGetter
- type Configurator
- type FakeBlockPuller
- func (fake *FakeBlockPuller) Close()
- func (fake *FakeBlockPuller) CloseCallCount() int
- func (fake *FakeBlockPuller) Invocations() map[string][][]interface{}
- func (fake *FakeBlockPuller) PullBlock(seq uint64) *common.Block
- func (fake *FakeBlockPuller) PullBlockArgsForCall(i int) uint64
- func (fake *FakeBlockPuller) PullBlockCallCount() int
- func (fake *FakeBlockPuller) PullBlockReturns(result1 *common.Block)
- func (fake *FakeBlockPuller) PullBlockReturnsOnCall(i int, result1 *common.Block)
- type FakeRPC
- func (fake *FakeRPC) Invocations() map[string][][]interface{}
- func (fake *FakeRPC) SendSubmit(dest uint64, request *orderer.SubmitRequest) error
- func (fake *FakeRPC) SendSubmitArgsForCall(i int) (uint64, *orderer.SubmitRequest)
- func (fake *FakeRPC) SendSubmitCallCount() int
- func (fake *FakeRPC) SendSubmitReturns(result1 error)
- func (fake *FakeRPC) SendSubmitReturnsOnCall(i int, result1 error)
- func (fake *FakeRPC) Step(dest uint64, msg *orderer.StepRequest) (*orderer.StepResponse, error)
- func (fake *FakeRPC) StepArgsForCall(i int) (uint64, *orderer.StepRequest)
- func (fake *FakeRPC) StepCallCount() int
- func (fake *FakeRPC) StepReturns(result1 *orderer.StepResponse, result2 error)
- func (fake *FakeRPC) StepReturnsOnCall(i int, result1 *orderer.StepResponse, result2 error)
- type MessageReceiver
- type ReceiverGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainGetter ¶ added in v1.4.0
ChainGetter is an autogenerated mock type for the ChainGetter type
func (*ChainGetter) GetChain ¶ added in v1.4.0
func (_m *ChainGetter) GetChain(chainID string) *multichannel.ChainSupport
GetChain provides a mock function with given fields: chainID
type Configurator ¶ added in v1.4.0
Configurator is an autogenerated mock type for the Configurator type
func (*Configurator) Configure ¶ added in v1.4.0
func (_m *Configurator) Configure(channel string, newNodes []cluster.RemoteNode)
Configure provides a mock function with given fields: channel, newNodes
type FakeBlockPuller ¶ added in v1.4.0
type FakeBlockPuller struct { PullBlockStub func(seq uint64) *common.Block CloseStub func() // contains filtered or unexported fields }
func (*FakeBlockPuller) Close ¶ added in v1.4.0
func (fake *FakeBlockPuller) Close()
func (*FakeBlockPuller) CloseCallCount ¶ added in v1.4.0
func (fake *FakeBlockPuller) CloseCallCount() int
func (*FakeBlockPuller) Invocations ¶ added in v1.4.0
func (fake *FakeBlockPuller) Invocations() map[string][][]interface{}
func (*FakeBlockPuller) PullBlock ¶ added in v1.4.0
func (fake *FakeBlockPuller) PullBlock(seq uint64) *common.Block
func (*FakeBlockPuller) PullBlockArgsForCall ¶ added in v1.4.0
func (fake *FakeBlockPuller) PullBlockArgsForCall(i int) uint64
func (*FakeBlockPuller) PullBlockCallCount ¶ added in v1.4.0
func (fake *FakeBlockPuller) PullBlockCallCount() int
func (*FakeBlockPuller) PullBlockReturns ¶ added in v1.4.0
func (fake *FakeBlockPuller) PullBlockReturns(result1 *common.Block)
func (*FakeBlockPuller) PullBlockReturnsOnCall ¶ added in v1.4.0
func (fake *FakeBlockPuller) PullBlockReturnsOnCall(i int, result1 *common.Block)
type FakeRPC ¶ added in v1.4.0
type FakeRPC struct { StepStub func(dest uint64, msg *orderer.StepRequest) (*orderer.StepResponse, error) SendSubmitStub func(dest uint64, request *orderer.SubmitRequest) error // contains filtered or unexported fields }
func (*FakeRPC) Invocations ¶ added in v1.4.0
func (*FakeRPC) SendSubmit ¶ added in v1.4.0
func (fake *FakeRPC) SendSubmit(dest uint64, request *orderer.SubmitRequest) error
func (*FakeRPC) SendSubmitArgsForCall ¶ added in v1.4.0
func (fake *FakeRPC) SendSubmitArgsForCall(i int) (uint64, *orderer.SubmitRequest)
func (*FakeRPC) SendSubmitCallCount ¶ added in v1.4.0
func (*FakeRPC) SendSubmitReturns ¶ added in v1.4.0
func (*FakeRPC) SendSubmitReturnsOnCall ¶ added in v1.4.0
func (*FakeRPC) Step ¶ added in v1.4.0
func (fake *FakeRPC) Step(dest uint64, msg *orderer.StepRequest) (*orderer.StepResponse, error)
func (*FakeRPC) StepArgsForCall ¶ added in v1.4.0
func (fake *FakeRPC) StepArgsForCall(i int) (uint64, *orderer.StepRequest)
func (*FakeRPC) StepCallCount ¶ added in v1.4.0
func (*FakeRPC) StepReturns ¶ added in v1.4.0
func (fake *FakeRPC) StepReturns(result1 *orderer.StepResponse, result2 error)
func (*FakeRPC) StepReturnsOnCall ¶ added in v1.4.0
func (fake *FakeRPC) StepReturnsOnCall(i int, result1 *orderer.StepResponse, result2 error)
type MessageReceiver ¶
MessageReceiver is an autogenerated mock type for the MessageReceiver type
func (*MessageReceiver) Step ¶
func (_m *MessageReceiver) Step(req *orderer.StepRequest, sender uint64) error
Step 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