Versions in this module Expand all Collapse all v1 v1.4.10 Dec 9, 2020 Changes in this version + type BlockIterator struct + CloseStub func() + NextStub func() (*common.Block, common.Status) + func (fake *BlockIterator) Close() + func (fake *BlockIterator) CloseCallCount() int + func (fake *BlockIterator) CloseCalls(stub func()) + func (fake *BlockIterator) Invocations() map[string][][]interface{} + func (fake *BlockIterator) Next() (*common.Block, common.Status) + func (fake *BlockIterator) NextCallCount() int + func (fake *BlockIterator) NextCalls(stub func() (*common.Block, common.Status)) + func (fake *BlockIterator) NextReturns(result1 *common.Block, result2 common.Status) + func (fake *BlockIterator) NextReturnsOnCall(i int, result1 *common.Block, result2 common.Status) + type BlockReader struct + HeightStub func() uint64 + IteratorStub func(*orderer.SeekPosition) (blockledger.Iterator, uint64) + func (fake *BlockReader) Height() uint64 + func (fake *BlockReader) HeightCallCount() int + func (fake *BlockReader) HeightCalls(stub func() uint64) + func (fake *BlockReader) HeightReturns(result1 uint64) + func (fake *BlockReader) HeightReturnsOnCall(i int, result1 uint64) + func (fake *BlockReader) Invocations() map[string][][]interface{} + func (fake *BlockReader) Iterator(arg1 *orderer.SeekPosition) (blockledger.Iterator, uint64) + func (fake *BlockReader) IteratorArgsForCall(i int) *orderer.SeekPosition + func (fake *BlockReader) IteratorCallCount() int + func (fake *BlockReader) IteratorCalls(stub func(*orderer.SeekPosition) (blockledger.Iterator, uint64)) + func (fake *BlockReader) IteratorReturns(result1 blockledger.Iterator, result2 uint64) + func (fake *BlockReader) IteratorReturnsOnCall(i int, result1 blockledger.Iterator, result2 uint64) + type Chain struct + ErroredStub func() <-chan struct{} + PolicyManagerStub func() policies.Manager + ReaderStub func() blockledger.Reader + SequenceStub func() uint64 + func (fake *Chain) Errored() <-chan struct{} + func (fake *Chain) ErroredCallCount() int + func (fake *Chain) ErroredCalls(stub func() <-chan struct{}) + func (fake *Chain) ErroredReturns(result1 <-chan struct{}) + func (fake *Chain) ErroredReturnsOnCall(i int, result1 <-chan struct{}) + func (fake *Chain) Invocations() map[string][][]interface{} + func (fake *Chain) PolicyManager() policies.Manager + func (fake *Chain) PolicyManagerCallCount() int + func (fake *Chain) PolicyManagerCalls(stub func() policies.Manager) + func (fake *Chain) PolicyManagerReturns(result1 policies.Manager) + func (fake *Chain) PolicyManagerReturnsOnCall(i int, result1 policies.Manager) + func (fake *Chain) Reader() blockledger.Reader + func (fake *Chain) ReaderCallCount() int + func (fake *Chain) ReaderCalls(stub func() blockledger.Reader) + func (fake *Chain) ReaderReturns(result1 blockledger.Reader) + func (fake *Chain) ReaderReturnsOnCall(i int, result1 blockledger.Reader) + func (fake *Chain) Sequence() uint64 + func (fake *Chain) SequenceCallCount() int + func (fake *Chain) SequenceCalls(stub func() uint64) + func (fake *Chain) SequenceReturns(result1 uint64) + func (fake *Chain) SequenceReturnsOnCall(i int, result1 uint64) + type ChainManager struct + GetChainStub func(string) deliver.Chain + func (fake *ChainManager) GetChain(arg1 string) deliver.Chain + func (fake *ChainManager) GetChainArgsForCall(i int) string + func (fake *ChainManager) GetChainCallCount() int + func (fake *ChainManager) GetChainCalls(stub func(string) deliver.Chain) + func (fake *ChainManager) GetChainReturns(result1 deliver.Chain) + func (fake *ChainManager) GetChainReturnsOnCall(i int, result1 deliver.Chain) + func (fake *ChainManager) Invocations() map[string][][]interface{} + type FilteredResponseSender struct + IsFilteredStub func() bool + SendBlockResponseStub func(*common.Block) error + SendStatusResponseStub func(common.Status) error + func (fake *FilteredResponseSender) Invocations() map[string][][]interface{} + func (fake *FilteredResponseSender) IsFiltered() bool + func (fake *FilteredResponseSender) IsFilteredCallCount() int + func (fake *FilteredResponseSender) IsFilteredCalls(stub func() bool) + func (fake *FilteredResponseSender) IsFilteredReturns(result1 bool) + func (fake *FilteredResponseSender) IsFilteredReturnsOnCall(i int, result1 bool) + func (fake *FilteredResponseSender) SendBlockResponse(arg1 *common.Block) error + func (fake *FilteredResponseSender) SendBlockResponseArgsForCall(i int) *common.Block + func (fake *FilteredResponseSender) SendBlockResponseCallCount() int + func (fake *FilteredResponseSender) SendBlockResponseCalls(stub func(*common.Block) error) + func (fake *FilteredResponseSender) SendBlockResponseReturns(result1 error) + func (fake *FilteredResponseSender) SendBlockResponseReturnsOnCall(i int, result1 error) + func (fake *FilteredResponseSender) SendStatusResponse(arg1 common.Status) error + func (fake *FilteredResponseSender) SendStatusResponseArgsForCall(i int) common.Status + func (fake *FilteredResponseSender) SendStatusResponseCallCount() int + func (fake *FilteredResponseSender) SendStatusResponseCalls(stub func(common.Status) error) + func (fake *FilteredResponseSender) SendStatusResponseReturns(result1 error) + func (fake *FilteredResponseSender) SendStatusResponseReturnsOnCall(i int, result1 error) + type Inspector struct + InspectStub func(context.Context, proto.Message) error + func (fake *Inspector) Inspect(arg1 context.Context, arg2 proto.Message) error + func (fake *Inspector) InspectArgsForCall(i int) (context.Context, proto.Message) + func (fake *Inspector) InspectCallCount() int + func (fake *Inspector) InspectCalls(stub func(context.Context, proto.Message) error) + func (fake *Inspector) InspectReturns(result1 error) + func (fake *Inspector) InspectReturnsOnCall(i int, result1 error) + func (fake *Inspector) Invocations() map[string][][]interface{} + type PolicyChecker struct + CheckPolicyStub func(*common.Envelope, string) error + func (fake *PolicyChecker) CheckPolicy(arg1 *common.Envelope, arg2 string) error + func (fake *PolicyChecker) CheckPolicyArgsForCall(i int) (*common.Envelope, string) + func (fake *PolicyChecker) CheckPolicyCallCount() int + func (fake *PolicyChecker) CheckPolicyCalls(stub func(*common.Envelope, string) error) + func (fake *PolicyChecker) CheckPolicyReturns(result1 error) + func (fake *PolicyChecker) CheckPolicyReturnsOnCall(i int, result1 error) + func (fake *PolicyChecker) Invocations() map[string][][]interface{} + type Receiver struct + RecvStub func() (*common.Envelope, error) + func (fake *Receiver) Invocations() map[string][][]interface{} + func (fake *Receiver) Recv() (*common.Envelope, error) + func (fake *Receiver) RecvCallCount() int + func (fake *Receiver) RecvCalls(stub func() (*common.Envelope, error)) + func (fake *Receiver) RecvReturns(result1 *common.Envelope, result2 error) + func (fake *Receiver) RecvReturnsOnCall(i int, result1 *common.Envelope, result2 error) + type ResponseSender struct + SendBlockResponseStub func(*common.Block) error + SendStatusResponseStub func(common.Status) error + func (fake *ResponseSender) Invocations() map[string][][]interface{} + func (fake *ResponseSender) SendBlockResponse(arg1 *common.Block) error + func (fake *ResponseSender) SendBlockResponseArgsForCall(i int) *common.Block + func (fake *ResponseSender) SendBlockResponseCallCount() int + func (fake *ResponseSender) SendBlockResponseCalls(stub func(*common.Block) error) + func (fake *ResponseSender) SendBlockResponseReturns(result1 error) + func (fake *ResponseSender) SendBlockResponseReturnsOnCall(i int, result1 error) + func (fake *ResponseSender) SendStatusResponse(arg1 common.Status) error + func (fake *ResponseSender) SendStatusResponseArgsForCall(i int) common.Status + func (fake *ResponseSender) SendStatusResponseCallCount() int + func (fake *ResponseSender) SendStatusResponseCalls(stub func(common.Status) error) + func (fake *ResponseSender) SendStatusResponseReturns(result1 error) + func (fake *ResponseSender) SendStatusResponseReturnsOnCall(i int, result1 error)