Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type BlockIterator
- func (fake *BlockIterator) Close()
- func (fake *BlockIterator) CloseCallCount() int
- func (fake *BlockIterator) Invocations() map[string][][]interface{}
- func (fake *BlockIterator) Next() (*cb.Block, cb.Status)
- func (fake *BlockIterator) NextCallCount() int
- func (fake *BlockIterator) NextReturns(result1 *cb.Block, result2 cb.Status)
- func (fake *BlockIterator) NextReturnsOnCall(i int, result1 *cb.Block, result2 cb.Status)
- func (fake *BlockIterator) ReadyChan() <-chan struct{}
- func (fake *BlockIterator) ReadyChanCallCount() int
- func (fake *BlockIterator) ReadyChanReturns(result1 <-chan struct{})
- func (fake *BlockIterator) ReadyChanReturnsOnCall(i int, result1 <-chan struct{})
- type BlockReader
- func (fake *BlockReader) Height() uint64
- func (fake *BlockReader) HeightCallCount() int
- 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(startType *ab.SeekPosition) (blockledger.Iterator, uint64)
- func (fake *BlockReader) IteratorArgsForCall(i int) *ab.SeekPosition
- func (fake *BlockReader) IteratorCallCount() int
- func (fake *BlockReader) IteratorReturns(result1 blockledger.Iterator, result2 uint64)
- func (fake *BlockReader) IteratorReturnsOnCall(i int, result1 blockledger.Iterator, result2 uint64)
- type Chain
- func (fake *Chain) Errored() <-chan struct{}
- func (fake *Chain) ErroredCallCount() int
- 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) 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) 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) SequenceReturns(result1 uint64)
- func (fake *Chain) SequenceReturnsOnCall(i int, result1 uint64)
- type ChainManager
- func (fake *ChainManager) GetChain(chainID string) (deliver.Chain, bool)
- func (fake *ChainManager) GetChainArgsForCall(i int) string
- func (fake *ChainManager) GetChainCallCount() int
- func (fake *ChainManager) GetChainReturns(result1 deliver.Chain, result2 bool)
- func (fake *ChainManager) GetChainReturnsOnCall(i int, result1 deliver.Chain, result2 bool)
- func (fake *ChainManager) Invocations() map[string][][]interface{}
- type Inspector
- 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) InspectReturns(result1 error)
- func (fake *Inspector) InspectReturnsOnCall(i int, result1 error)
- func (fake *Inspector) Invocations() map[string][][]interface{}
- type PolicyChecker
- func (fake *PolicyChecker) CheckPolicy(envelope *cb.Envelope, channelID string) error
- func (fake *PolicyChecker) CheckPolicyArgsForCall(i int) (*cb.Envelope, string)
- func (fake *PolicyChecker) CheckPolicyCallCount() int
- func (fake *PolicyChecker) CheckPolicyReturns(result1 error)
- func (fake *PolicyChecker) CheckPolicyReturnsOnCall(i int, result1 error)
- func (fake *PolicyChecker) Invocations() map[string][][]interface{}
- type Receiver
- func (fake *Receiver) Invocations() map[string][][]interface{}
- func (fake *Receiver) Recv() (*cb.Envelope, error)
- func (fake *Receiver) RecvCallCount() int
- func (fake *Receiver) RecvReturns(result1 *cb.Envelope, result2 error)
- func (fake *Receiver) RecvReturnsOnCall(i int, result1 *cb.Envelope, result2 error)
- type ResponseSender
- func (fake *ResponseSender) Invocations() map[string][][]interface{}
- func (fake *ResponseSender) SendBlockResponse(block *cb.Block) error
- func (fake *ResponseSender) SendBlockResponseArgsForCall(i int) *cb.Block
- func (fake *ResponseSender) SendBlockResponseCallCount() int
- func (fake *ResponseSender) SendBlockResponseReturns(result1 error)
- func (fake *ResponseSender) SendBlockResponseReturnsOnCall(i int, result1 error)
- func (fake *ResponseSender) SendStatusResponse(status cb.Status) error
- func (fake *ResponseSender) SendStatusResponseArgsForCall(i int) cb.Status
- func (fake *ResponseSender) SendStatusResponseCallCount() int
- func (fake *ResponseSender) SendStatusResponseReturns(result1 error)
- func (fake *ResponseSender) SendStatusResponseReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockIterator ¶
type BlockIterator struct { NextStub func() (*cb.Block, cb.Status) ReadyChanStub func() <-chan struct{} CloseStub func() // contains filtered or unexported fields }
func (*BlockIterator) Close ¶
func (fake *BlockIterator) Close()
func (*BlockIterator) CloseCallCount ¶
func (fake *BlockIterator) CloseCallCount() int
func (*BlockIterator) Invocations ¶
func (fake *BlockIterator) Invocations() map[string][][]interface{}
func (*BlockIterator) NextCallCount ¶
func (fake *BlockIterator) NextCallCount() int
func (*BlockIterator) NextReturns ¶
func (fake *BlockIterator) NextReturns(result1 *cb.Block, result2 cb.Status)
func (*BlockIterator) NextReturnsOnCall ¶
func (*BlockIterator) ReadyChan ¶
func (fake *BlockIterator) ReadyChan() <-chan struct{}
func (*BlockIterator) ReadyChanCallCount ¶
func (fake *BlockIterator) ReadyChanCallCount() int
func (*BlockIterator) ReadyChanReturns ¶
func (fake *BlockIterator) ReadyChanReturns(result1 <-chan struct{})
func (*BlockIterator) ReadyChanReturnsOnCall ¶
func (fake *BlockIterator) ReadyChanReturnsOnCall(i int, result1 <-chan struct{})
type BlockReader ¶
type BlockReader struct { IteratorStub func(startType *ab.SeekPosition) (blockledger.Iterator, uint64) HeightStub func() uint64 // contains filtered or unexported fields }
func (*BlockReader) Height ¶
func (fake *BlockReader) Height() uint64
func (*BlockReader) HeightCallCount ¶
func (fake *BlockReader) HeightCallCount() int
func (*BlockReader) HeightReturns ¶
func (fake *BlockReader) HeightReturns(result1 uint64)
func (*BlockReader) HeightReturnsOnCall ¶
func (fake *BlockReader) HeightReturnsOnCall(i int, result1 uint64)
func (*BlockReader) Invocations ¶
func (fake *BlockReader) Invocations() map[string][][]interface{}
func (*BlockReader) Iterator ¶
func (fake *BlockReader) Iterator(startType *ab.SeekPosition) (blockledger.Iterator, uint64)
func (*BlockReader) IteratorArgsForCall ¶
func (fake *BlockReader) IteratorArgsForCall(i int) *ab.SeekPosition
func (*BlockReader) IteratorCallCount ¶
func (fake *BlockReader) IteratorCallCount() int
func (*BlockReader) IteratorReturns ¶
func (fake *BlockReader) IteratorReturns(result1 blockledger.Iterator, result2 uint64)
func (*BlockReader) IteratorReturnsOnCall ¶
func (fake *BlockReader) IteratorReturnsOnCall(i int, result1 blockledger.Iterator, result2 uint64)
type Chain ¶
type Chain struct { SequenceStub func() uint64 PolicyManagerStub func() policies.Manager ReaderStub func() blockledger.Reader ErroredStub func() <-chan struct{} // contains filtered or unexported fields }
func (*Chain) ErroredCallCount ¶
func (*Chain) ErroredReturns ¶
func (fake *Chain) ErroredReturns(result1 <-chan struct{})
func (*Chain) ErroredReturnsOnCall ¶
func (*Chain) Invocations ¶
func (*Chain) PolicyManager ¶
func (*Chain) PolicyManagerCallCount ¶
func (*Chain) PolicyManagerReturns ¶
func (*Chain) PolicyManagerReturnsOnCall ¶
func (*Chain) Reader ¶
func (fake *Chain) Reader() blockledger.Reader
func (*Chain) ReaderCallCount ¶
func (*Chain) ReaderReturns ¶
func (fake *Chain) ReaderReturns(result1 blockledger.Reader)
func (*Chain) ReaderReturnsOnCall ¶
func (fake *Chain) ReaderReturnsOnCall(i int, result1 blockledger.Reader)
func (*Chain) SequenceCallCount ¶
func (*Chain) SequenceReturns ¶
func (*Chain) SequenceReturnsOnCall ¶
type ChainManager ¶
type ChainManager struct { GetChainStub func(chainID string) (deliver.Chain, bool) // contains filtered or unexported fields }
func (*ChainManager) GetChain ¶
func (fake *ChainManager) GetChain(chainID string) (deliver.Chain, bool)
func (*ChainManager) GetChainArgsForCall ¶
func (fake *ChainManager) GetChainArgsForCall(i int) string
func (*ChainManager) GetChainCallCount ¶
func (fake *ChainManager) GetChainCallCount() int
func (*ChainManager) GetChainReturns ¶
func (fake *ChainManager) GetChainReturns(result1 deliver.Chain, result2 bool)
func (*ChainManager) GetChainReturnsOnCall ¶
func (fake *ChainManager) GetChainReturnsOnCall(i int, result1 deliver.Chain, result2 bool)
func (*ChainManager) Invocations ¶
func (fake *ChainManager) Invocations() map[string][][]interface{}
type Inspector ¶
type Inspector struct { InspectStub func(context.Context, proto.Message) error // contains filtered or unexported fields }
func (*Inspector) InspectArgsForCall ¶
func (*Inspector) InspectCallCount ¶
func (*Inspector) InspectReturns ¶
func (*Inspector) InspectReturnsOnCall ¶
func (*Inspector) Invocations ¶
type PolicyChecker ¶
type PolicyChecker struct { CheckPolicyStub func(envelope *cb.Envelope, channelID string) error // contains filtered or unexported fields }
func (*PolicyChecker) CheckPolicy ¶
func (fake *PolicyChecker) CheckPolicy(envelope *cb.Envelope, channelID string) error
func (*PolicyChecker) CheckPolicyArgsForCall ¶
func (fake *PolicyChecker) CheckPolicyArgsForCall(i int) (*cb.Envelope, string)
func (*PolicyChecker) CheckPolicyCallCount ¶
func (fake *PolicyChecker) CheckPolicyCallCount() int
func (*PolicyChecker) CheckPolicyReturns ¶
func (fake *PolicyChecker) CheckPolicyReturns(result1 error)
func (*PolicyChecker) CheckPolicyReturnsOnCall ¶
func (fake *PolicyChecker) CheckPolicyReturnsOnCall(i int, result1 error)
func (*PolicyChecker) Invocations ¶
func (fake *PolicyChecker) Invocations() map[string][][]interface{}
type Receiver ¶
type Receiver struct { RecvStub func() (*cb.Envelope, error) // contains filtered or unexported fields }
func (*Receiver) Invocations ¶
func (*Receiver) RecvCallCount ¶
func (*Receiver) RecvReturns ¶
type ResponseSender ¶
type ResponseSender struct { SendStatusResponseStub func(status cb.Status) error SendBlockResponseStub func(block *cb.Block) error // contains filtered or unexported fields }
func (*ResponseSender) Invocations ¶
func (fake *ResponseSender) Invocations() map[string][][]interface{}
func (*ResponseSender) SendBlockResponse ¶
func (fake *ResponseSender) SendBlockResponse(block *cb.Block) error
func (*ResponseSender) SendBlockResponseArgsForCall ¶
func (fake *ResponseSender) SendBlockResponseArgsForCall(i int) *cb.Block
func (*ResponseSender) SendBlockResponseCallCount ¶
func (fake *ResponseSender) SendBlockResponseCallCount() int
func (*ResponseSender) SendBlockResponseReturns ¶
func (fake *ResponseSender) SendBlockResponseReturns(result1 error)
func (*ResponseSender) SendBlockResponseReturnsOnCall ¶
func (fake *ResponseSender) SendBlockResponseReturnsOnCall(i int, result1 error)
func (*ResponseSender) SendStatusResponse ¶
func (fake *ResponseSender) SendStatusResponse(status cb.Status) error
func (*ResponseSender) SendStatusResponseArgsForCall ¶
func (fake *ResponseSender) SendStatusResponseArgsForCall(i int) cb.Status
func (*ResponseSender) SendStatusResponseCallCount ¶
func (fake *ResponseSender) SendStatusResponseCallCount() int
func (*ResponseSender) SendStatusResponseReturns ¶
func (fake *ResponseSender) SendStatusResponseReturns(result1 error)
func (*ResponseSender) SendStatusResponseReturnsOnCall ¶
func (fake *ResponseSender) SendStatusResponseReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.