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.
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) 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
- 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)
- func (fake *BlockReader) RetrieveBlockByNumber(arg1 uint64) (*common.Block, error)
- func (fake *BlockReader) RetrieveBlockByNumberArgsForCall(i int) uint64
- func (fake *BlockReader) RetrieveBlockByNumberCallCount() int
- func (fake *BlockReader) RetrieveBlockByNumberCalls(stub func(uint64) (*common.Block, error))
- func (fake *BlockReader) RetrieveBlockByNumberReturns(result1 *common.Block, result2 error)
- func (fake *BlockReader) RetrieveBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
- type Chain
- 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
- 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
- func (fake *FilteredResponseSender) DataType() string
- func (fake *FilteredResponseSender) DataTypeCallCount() int
- func (fake *FilteredResponseSender) DataTypeCalls(stub func() string)
- func (fake *FilteredResponseSender) DataTypeReturns(result1 string)
- func (fake *FilteredResponseSender) DataTypeReturnsOnCall(i int, result1 string)
- 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, arg2 string, arg3 deliver.Chain, ...) error
- func (fake *FilteredResponseSender) SendBlockResponseArgsForCall(i int) (*common.Block, string, deliver.Chain, *protoutil.SignedData)
- func (fake *FilteredResponseSender) SendBlockResponseCallCount() int
- func (fake *FilteredResponseSender) SendBlockResponseCalls(stub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) 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
- 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
- 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 PrivateDataResponseSender
- func (fake *PrivateDataResponseSender) DataType() string
- func (fake *PrivateDataResponseSender) DataTypeCallCount() int
- func (fake *PrivateDataResponseSender) DataTypeCalls(stub func() string)
- func (fake *PrivateDataResponseSender) DataTypeReturns(result1 string)
- func (fake *PrivateDataResponseSender) DataTypeReturnsOnCall(i int, result1 string)
- func (fake *PrivateDataResponseSender) Invocations() map[string][][]interface{}
- func (fake *PrivateDataResponseSender) SendBlockResponse(arg1 *common.Block, arg2 string, arg3 deliver.Chain, ...) error
- func (fake *PrivateDataResponseSender) SendBlockResponseArgsForCall(i int) (*common.Block, string, deliver.Chain, *protoutil.SignedData)
- func (fake *PrivateDataResponseSender) SendBlockResponseCallCount() int
- func (fake *PrivateDataResponseSender) SendBlockResponseCalls(stub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) error)
- func (fake *PrivateDataResponseSender) SendBlockResponseReturns(result1 error)
- func (fake *PrivateDataResponseSender) SendBlockResponseReturnsOnCall(i int, result1 error)
- func (fake *PrivateDataResponseSender) SendStatusResponse(arg1 common.Status) error
- func (fake *PrivateDataResponseSender) SendStatusResponseArgsForCall(i int) common.Status
- func (fake *PrivateDataResponseSender) SendStatusResponseCallCount() int
- func (fake *PrivateDataResponseSender) SendStatusResponseCalls(stub func(common.Status) error)
- func (fake *PrivateDataResponseSender) SendStatusResponseReturns(result1 error)
- func (fake *PrivateDataResponseSender) SendStatusResponseReturnsOnCall(i int, result1 error)
- type Receiver
- 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
- func (fake *ResponseSender) DataType() string
- func (fake *ResponseSender) DataTypeCallCount() int
- func (fake *ResponseSender) DataTypeCalls(stub func() string)
- func (fake *ResponseSender) DataTypeReturns(result1 string)
- func (fake *ResponseSender) DataTypeReturnsOnCall(i int, result1 string)
- func (fake *ResponseSender) Invocations() map[string][][]interface{}
- func (fake *ResponseSender) SendBlockResponse(arg1 *common.Block, arg2 string, arg3 deliver.Chain, ...) error
- func (fake *ResponseSender) SendBlockResponseArgsForCall(i int) (*common.Block, string, deliver.Chain, *protoutil.SignedData)
- func (fake *ResponseSender) SendBlockResponseCallCount() int
- func (fake *ResponseSender) SendBlockResponseCalls(stub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockIterator ¶
type BlockIterator struct { CloseStub func() NextStub func() (*common.Block, common.Status) // contains filtered or unexported fields }
func (*BlockIterator) Close ¶
func (fake *BlockIterator) Close()
func (*BlockIterator) CloseCallCount ¶
func (fake *BlockIterator) CloseCallCount() int
func (*BlockIterator) CloseCalls ¶
func (fake *BlockIterator) CloseCalls(stub func())
func (*BlockIterator) Invocations ¶
func (fake *BlockIterator) Invocations() map[string][][]interface{}
func (*BlockIterator) NextCallCount ¶
func (fake *BlockIterator) NextCallCount() int
func (*BlockIterator) NextCalls ¶
func (fake *BlockIterator) NextCalls(stub func() (*common.Block, common.Status))
func (*BlockIterator) NextReturns ¶
func (fake *BlockIterator) NextReturns(result1 *common.Block, result2 common.Status)
func (*BlockIterator) NextReturnsOnCall ¶
type BlockReader ¶
type BlockReader struct { HeightStub func() uint64 IteratorStub func(*orderer.SeekPosition) (blockledger.Iterator, uint64) RetrieveBlockByNumberStub func(uint64) (*common.Block, error) // contains filtered or unexported fields }
func (*BlockReader) Height ¶
func (fake *BlockReader) Height() uint64
func (*BlockReader) HeightCallCount ¶
func (fake *BlockReader) HeightCallCount() int
func (*BlockReader) HeightCalls ¶
func (fake *BlockReader) HeightCalls(stub func() uint64)
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(arg1 *orderer.SeekPosition) (blockledger.Iterator, uint64)
func (*BlockReader) IteratorArgsForCall ¶
func (fake *BlockReader) IteratorArgsForCall(i int) *orderer.SeekPosition
func (*BlockReader) IteratorCallCount ¶
func (fake *BlockReader) IteratorCallCount() int
func (*BlockReader) IteratorCalls ¶
func (fake *BlockReader) IteratorCalls(stub func(*orderer.SeekPosition) (blockledger.Iterator, uint64))
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)
func (*BlockReader) RetrieveBlockByNumber ¶
func (fake *BlockReader) RetrieveBlockByNumber(arg1 uint64) (*common.Block, error)
func (*BlockReader) RetrieveBlockByNumberArgsForCall ¶
func (fake *BlockReader) RetrieveBlockByNumberArgsForCall(i int) uint64
func (*BlockReader) RetrieveBlockByNumberCallCount ¶
func (fake *BlockReader) RetrieveBlockByNumberCallCount() int
func (*BlockReader) RetrieveBlockByNumberCalls ¶
func (fake *BlockReader) RetrieveBlockByNumberCalls(stub func(uint64) (*common.Block, error))
func (*BlockReader) RetrieveBlockByNumberReturns ¶
func (fake *BlockReader) RetrieveBlockByNumberReturns(result1 *common.Block, result2 error)
func (*BlockReader) RetrieveBlockByNumberReturnsOnCall ¶
func (fake *BlockReader) RetrieveBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
type Chain ¶
type Chain struct { ErroredStub func() <-chan struct{} PolicyManagerStub func() policies.Manager ReaderStub func() blockledger.Reader SequenceStub func() uint64 // contains filtered or unexported fields }
func (*Chain) ErroredCallCount ¶
func (*Chain) ErroredCalls ¶
func (fake *Chain) ErroredCalls(stub func() <-chan struct{})
func (*Chain) ErroredReturns ¶
func (fake *Chain) ErroredReturns(result1 <-chan struct{})
func (*Chain) ErroredReturnsOnCall ¶
func (*Chain) Invocations ¶
func (*Chain) PolicyManager ¶
func (*Chain) PolicyManagerCallCount ¶
func (*Chain) PolicyManagerCalls ¶
func (*Chain) PolicyManagerReturns ¶
func (*Chain) PolicyManagerReturnsOnCall ¶
func (*Chain) Reader ¶
func (fake *Chain) Reader() blockledger.Reader
func (*Chain) ReaderCallCount ¶
func (*Chain) ReaderCalls ¶
func (fake *Chain) ReaderCalls(stub func() blockledger.Reader)
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) SequenceCalls ¶
func (*Chain) SequenceReturns ¶
func (*Chain) SequenceReturnsOnCall ¶
type ChainManager ¶
type ChainManager struct { GetChainStub func(string) deliver.Chain // contains filtered or unexported fields }
func (*ChainManager) GetChainArgsForCall ¶
func (fake *ChainManager) GetChainArgsForCall(i int) string
func (*ChainManager) GetChainCallCount ¶
func (fake *ChainManager) GetChainCallCount() int
func (*ChainManager) GetChainCalls ¶
func (fake *ChainManager) GetChainCalls(stub func(string) deliver.Chain)
func (*ChainManager) GetChainReturns ¶
func (fake *ChainManager) GetChainReturns(result1 deliver.Chain)
func (*ChainManager) GetChainReturnsOnCall ¶
func (fake *ChainManager) GetChainReturnsOnCall(i int, result1 deliver.Chain)
func (*ChainManager) Invocations ¶
func (fake *ChainManager) Invocations() map[string][][]interface{}
type FilteredResponseSender ¶
type FilteredResponseSender struct { DataTypeStub func() string IsFilteredStub func() bool SendBlockResponseStub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) error SendStatusResponseStub func(common.Status) error // contains filtered or unexported fields }
func (*FilteredResponseSender) DataType ¶
func (fake *FilteredResponseSender) DataType() string
func (*FilteredResponseSender) DataTypeCallCount ¶
func (fake *FilteredResponseSender) DataTypeCallCount() int
func (*FilteredResponseSender) DataTypeCalls ¶
func (fake *FilteredResponseSender) DataTypeCalls(stub func() string)
func (*FilteredResponseSender) DataTypeReturns ¶
func (fake *FilteredResponseSender) DataTypeReturns(result1 string)
func (*FilteredResponseSender) DataTypeReturnsOnCall ¶
func (fake *FilteredResponseSender) DataTypeReturnsOnCall(i int, result1 string)
func (*FilteredResponseSender) Invocations ¶
func (fake *FilteredResponseSender) Invocations() map[string][][]interface{}
func (*FilteredResponseSender) IsFiltered ¶
func (fake *FilteredResponseSender) IsFiltered() bool
func (*FilteredResponseSender) IsFilteredCallCount ¶
func (fake *FilteredResponseSender) IsFilteredCallCount() int
func (*FilteredResponseSender) IsFilteredCalls ¶
func (fake *FilteredResponseSender) IsFilteredCalls(stub func() bool)
func (*FilteredResponseSender) IsFilteredReturns ¶
func (fake *FilteredResponseSender) IsFilteredReturns(result1 bool)
func (*FilteredResponseSender) IsFilteredReturnsOnCall ¶
func (fake *FilteredResponseSender) IsFilteredReturnsOnCall(i int, result1 bool)
func (*FilteredResponseSender) SendBlockResponse ¶
func (fake *FilteredResponseSender) SendBlockResponse(arg1 *common.Block, arg2 string, arg3 deliver.Chain, arg4 *protoutil.SignedData) error
func (*FilteredResponseSender) SendBlockResponseArgsForCall ¶
func (fake *FilteredResponseSender) SendBlockResponseArgsForCall(i int) (*common.Block, string, deliver.Chain, *protoutil.SignedData)
func (*FilteredResponseSender) SendBlockResponseCallCount ¶
func (fake *FilteredResponseSender) SendBlockResponseCallCount() int
func (*FilteredResponseSender) SendBlockResponseCalls ¶
func (fake *FilteredResponseSender) SendBlockResponseCalls(stub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) error)
func (*FilteredResponseSender) SendBlockResponseReturns ¶
func (fake *FilteredResponseSender) SendBlockResponseReturns(result1 error)
func (*FilteredResponseSender) SendBlockResponseReturnsOnCall ¶
func (fake *FilteredResponseSender) SendBlockResponseReturnsOnCall(i int, result1 error)
func (*FilteredResponseSender) SendStatusResponse ¶
func (fake *FilteredResponseSender) SendStatusResponse(arg1 common.Status) error
func (*FilteredResponseSender) SendStatusResponseArgsForCall ¶
func (fake *FilteredResponseSender) SendStatusResponseArgsForCall(i int) common.Status
func (*FilteredResponseSender) SendStatusResponseCallCount ¶
func (fake *FilteredResponseSender) SendStatusResponseCallCount() int
func (*FilteredResponseSender) SendStatusResponseCalls ¶
func (fake *FilteredResponseSender) SendStatusResponseCalls(stub func(common.Status) error)
func (*FilteredResponseSender) SendStatusResponseReturns ¶
func (fake *FilteredResponseSender) SendStatusResponseReturns(result1 error)
func (*FilteredResponseSender) SendStatusResponseReturnsOnCall ¶
func (fake *FilteredResponseSender) SendStatusResponseReturnsOnCall(i int, result1 error)
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) InspectCalls ¶
func (*Inspector) InspectReturns ¶
func (*Inspector) InspectReturnsOnCall ¶
func (*Inspector) Invocations ¶
type PolicyChecker ¶
type PolicyChecker struct { CheckPolicyStub func(*common.Envelope, string) error // contains filtered or unexported fields }
func (*PolicyChecker) CheckPolicy ¶
func (fake *PolicyChecker) CheckPolicy(arg1 *common.Envelope, arg2 string) error
func (*PolicyChecker) CheckPolicyArgsForCall ¶
func (fake *PolicyChecker) CheckPolicyArgsForCall(i int) (*common.Envelope, string)
func (*PolicyChecker) CheckPolicyCallCount ¶
func (fake *PolicyChecker) CheckPolicyCallCount() int
func (*PolicyChecker) CheckPolicyCalls ¶
func (fake *PolicyChecker) CheckPolicyCalls(stub func(*common.Envelope, string) error)
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 PrivateDataResponseSender ¶
type PrivateDataResponseSender struct { DataTypeStub func() string SendBlockResponseStub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) error SendStatusResponseStub func(common.Status) error // contains filtered or unexported fields }
func (*PrivateDataResponseSender) DataType ¶
func (fake *PrivateDataResponseSender) DataType() string
func (*PrivateDataResponseSender) DataTypeCallCount ¶
func (fake *PrivateDataResponseSender) DataTypeCallCount() int
func (*PrivateDataResponseSender) DataTypeCalls ¶
func (fake *PrivateDataResponseSender) DataTypeCalls(stub func() string)
func (*PrivateDataResponseSender) DataTypeReturns ¶
func (fake *PrivateDataResponseSender) DataTypeReturns(result1 string)
func (*PrivateDataResponseSender) DataTypeReturnsOnCall ¶
func (fake *PrivateDataResponseSender) DataTypeReturnsOnCall(i int, result1 string)
func (*PrivateDataResponseSender) Invocations ¶
func (fake *PrivateDataResponseSender) Invocations() map[string][][]interface{}
func (*PrivateDataResponseSender) SendBlockResponse ¶
func (fake *PrivateDataResponseSender) SendBlockResponse(arg1 *common.Block, arg2 string, arg3 deliver.Chain, arg4 *protoutil.SignedData) error
func (*PrivateDataResponseSender) SendBlockResponseArgsForCall ¶
func (fake *PrivateDataResponseSender) SendBlockResponseArgsForCall(i int) (*common.Block, string, deliver.Chain, *protoutil.SignedData)
func (*PrivateDataResponseSender) SendBlockResponseCallCount ¶
func (fake *PrivateDataResponseSender) SendBlockResponseCallCount() int
func (*PrivateDataResponseSender) SendBlockResponseCalls ¶
func (fake *PrivateDataResponseSender) SendBlockResponseCalls(stub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) error)
func (*PrivateDataResponseSender) SendBlockResponseReturns ¶
func (fake *PrivateDataResponseSender) SendBlockResponseReturns(result1 error)
func (*PrivateDataResponseSender) SendBlockResponseReturnsOnCall ¶
func (fake *PrivateDataResponseSender) SendBlockResponseReturnsOnCall(i int, result1 error)
func (*PrivateDataResponseSender) SendStatusResponse ¶
func (fake *PrivateDataResponseSender) SendStatusResponse(arg1 common.Status) error
func (*PrivateDataResponseSender) SendStatusResponseArgsForCall ¶
func (fake *PrivateDataResponseSender) SendStatusResponseArgsForCall(i int) common.Status
func (*PrivateDataResponseSender) SendStatusResponseCallCount ¶
func (fake *PrivateDataResponseSender) SendStatusResponseCallCount() int
func (*PrivateDataResponseSender) SendStatusResponseCalls ¶
func (fake *PrivateDataResponseSender) SendStatusResponseCalls(stub func(common.Status) error)
func (*PrivateDataResponseSender) SendStatusResponseReturns ¶
func (fake *PrivateDataResponseSender) SendStatusResponseReturns(result1 error)
func (*PrivateDataResponseSender) SendStatusResponseReturnsOnCall ¶
func (fake *PrivateDataResponseSender) SendStatusResponseReturnsOnCall(i int, result1 error)
type Receiver ¶
type Receiver struct { RecvStub func() (*common.Envelope, error) // contains filtered or unexported fields }
func (*Receiver) Invocations ¶
func (*Receiver) RecvCallCount ¶
func (*Receiver) RecvReturns ¶
type ResponseSender ¶
type ResponseSender struct { DataTypeStub func() string SendBlockResponseStub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) error SendStatusResponseStub func(common.Status) error // contains filtered or unexported fields }
func (*ResponseSender) DataType ¶
func (fake *ResponseSender) DataType() string
func (*ResponseSender) DataTypeCallCount ¶
func (fake *ResponseSender) DataTypeCallCount() int
func (*ResponseSender) DataTypeCalls ¶
func (fake *ResponseSender) DataTypeCalls(stub func() string)
func (*ResponseSender) DataTypeReturns ¶
func (fake *ResponseSender) DataTypeReturns(result1 string)
func (*ResponseSender) DataTypeReturnsOnCall ¶
func (fake *ResponseSender) DataTypeReturnsOnCall(i int, result1 string)
func (*ResponseSender) Invocations ¶
func (fake *ResponseSender) Invocations() map[string][][]interface{}
func (*ResponseSender) SendBlockResponse ¶
func (fake *ResponseSender) SendBlockResponse(arg1 *common.Block, arg2 string, arg3 deliver.Chain, arg4 *protoutil.SignedData) error
func (*ResponseSender) SendBlockResponseArgsForCall ¶
func (fake *ResponseSender) SendBlockResponseArgsForCall(i int) (*common.Block, string, deliver.Chain, *protoutil.SignedData)
func (*ResponseSender) SendBlockResponseCallCount ¶
func (fake *ResponseSender) SendBlockResponseCallCount() int
func (*ResponseSender) SendBlockResponseCalls ¶
func (fake *ResponseSender) SendBlockResponseCalls(stub func(*common.Block, string, deliver.Chain, *protoutil.SignedData) error)
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(arg1 common.Status) error
func (*ResponseSender) SendStatusResponseArgsForCall ¶
func (fake *ResponseSender) SendStatusResponseArgsForCall(i int) common.Status
func (*ResponseSender) SendStatusResponseCallCount ¶
func (fake *ResponseSender) SendStatusResponseCallCount() int
func (*ResponseSender) SendStatusResponseCalls ¶
func (fake *ResponseSender) SendStatusResponseCalls(stub func(common.Status) error)
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.