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 ChainReplicator
- type Factory
- func (fake *Factory) ChannelIDs() []string
- func (fake *Factory) ChannelIDsCallCount() int
- func (fake *Factory) ChannelIDsCalls(stub func() []string)
- func (fake *Factory) ChannelIDsReturns(result1 []string)
- func (fake *Factory) ChannelIDsReturnsOnCall(i int, result1 []string)
- func (fake *Factory) Close()
- func (fake *Factory) CloseCallCount() int
- func (fake *Factory) CloseCalls(stub func())
- func (fake *Factory) GetOrCreate(arg1 string) (blockledger.ReadWriter, error)
- func (fake *Factory) GetOrCreateArgsForCall(i int) string
- func (fake *Factory) GetOrCreateCallCount() int
- func (fake *Factory) GetOrCreateCalls(stub func(string) (blockledger.ReadWriter, error))
- func (fake *Factory) GetOrCreateReturns(result1 blockledger.ReadWriter, result2 error)
- func (fake *Factory) GetOrCreateReturnsOnCall(i int, result1 blockledger.ReadWriter, result2 error)
- func (fake *Factory) Invocations() map[string][][]interface{}
- func (fake *Factory) Remove(arg1 string) error
- func (fake *Factory) RemoveArgsForCall(i int) string
- func (fake *Factory) RemoveCallCount() int
- func (fake *Factory) RemoveCalls(stub func(string) error)
- func (fake *Factory) RemoveReturns(result1 error)
- func (fake *Factory) RemoveReturnsOnCall(i int, result1 error)
- type ReadWriter
- func (fake *ReadWriter) Append(arg1 *common.Block) error
- func (fake *ReadWriter) AppendArgsForCall(i int) *common.Block
- func (fake *ReadWriter) AppendCallCount() int
- func (fake *ReadWriter) AppendCalls(stub func(*common.Block) error)
- func (fake *ReadWriter) AppendReturns(result1 error)
- func (fake *ReadWriter) AppendReturnsOnCall(i int, result1 error)
- func (fake *ReadWriter) Height() uint64
- func (fake *ReadWriter) HeightCallCount() int
- func (fake *ReadWriter) HeightCalls(stub func() uint64)
- func (fake *ReadWriter) HeightReturns(result1 uint64)
- func (fake *ReadWriter) HeightReturnsOnCall(i int, result1 uint64)
- func (fake *ReadWriter) Invocations() map[string][][]interface{}
- func (fake *ReadWriter) Iterator(arg1 *orderer.SeekPosition) (blockledger.Iterator, uint64)
- func (fake *ReadWriter) IteratorArgsForCall(i int) *orderer.SeekPosition
- func (fake *ReadWriter) IteratorCallCount() int
- func (fake *ReadWriter) IteratorCalls(stub func(*orderer.SeekPosition) (blockledger.Iterator, uint64))
- func (fake *ReadWriter) IteratorReturns(result1 blockledger.Iterator, result2 uint64)
- func (fake *ReadWriter) IteratorReturnsOnCall(i int, result1 blockledger.Iterator, result2 uint64)
- func (fake *ReadWriter) RetrieveBlockByNumber(arg1 uint64) (*common.Block, error)
- func (fake *ReadWriter) RetrieveBlockByNumberArgsForCall(i int) uint64
- func (fake *ReadWriter) RetrieveBlockByNumberCallCount() int
- func (fake *ReadWriter) RetrieveBlockByNumberCalls(stub func(uint64) (*common.Block, error))
- func (fake *ReadWriter) RetrieveBlockByNumberReturns(result1 *common.Block, result2 error)
- func (fake *ReadWriter) RetrieveBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
- type SignerSerializer
- func (fake *SignerSerializer) Invocations() map[string][][]interface{}
- func (fake *SignerSerializer) Serialize() ([]byte, error)
- func (fake *SignerSerializer) SerializeCallCount() int
- func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
- func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
- func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SignerSerializer) Sign(arg1 []byte) ([]byte, error)
- func (fake *SignerSerializer) SignArgsForCall(i int) []byte
- func (fake *SignerSerializer) SignCallCount() int
- func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
- func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainReplicator ¶
ChainReplicator is an autogenerated mock type for the ChainReplicator type
func (*ChainReplicator) ReplicateChains ¶
func (_m *ChainReplicator) ReplicateChains(lastConfigBlock *common.Block, chains []string) []string
ReplicateChains provides a mock function with given fields: lastConfigBlock, chains
type Factory ¶
type Factory struct { ChannelIDsStub func() []string CloseStub func() GetOrCreateStub func(string) (blockledger.ReadWriter, error) RemoveStub func(string) error // contains filtered or unexported fields }
func (*Factory) ChannelIDs ¶
func (*Factory) ChannelIDsCallCount ¶
func (*Factory) ChannelIDsCalls ¶
func (*Factory) ChannelIDsReturns ¶
func (*Factory) ChannelIDsReturnsOnCall ¶
func (*Factory) CloseCallCount ¶
func (*Factory) CloseCalls ¶
func (fake *Factory) CloseCalls(stub func())
func (*Factory) GetOrCreate ¶
func (fake *Factory) GetOrCreate(arg1 string) (blockledger.ReadWriter, error)
func (*Factory) GetOrCreateArgsForCall ¶
func (*Factory) GetOrCreateCallCount ¶
func (*Factory) GetOrCreateCalls ¶
func (fake *Factory) GetOrCreateCalls(stub func(string) (blockledger.ReadWriter, error))
func (*Factory) GetOrCreateReturns ¶
func (fake *Factory) GetOrCreateReturns(result1 blockledger.ReadWriter, result2 error)
func (*Factory) GetOrCreateReturnsOnCall ¶
func (fake *Factory) GetOrCreateReturnsOnCall(i int, result1 blockledger.ReadWriter, result2 error)
func (*Factory) Invocations ¶
func (*Factory) RemoveArgsForCall ¶
func (*Factory) RemoveCallCount ¶
func (*Factory) RemoveCalls ¶
func (*Factory) RemoveReturns ¶
func (*Factory) RemoveReturnsOnCall ¶
type ReadWriter ¶
type ReadWriter struct { AppendStub func(*common.Block) error HeightStub func() uint64 IteratorStub func(*orderer.SeekPosition) (blockledger.Iterator, uint64) RetrieveBlockByNumberStub func(uint64) (*common.Block, error) // contains filtered or unexported fields }
func (*ReadWriter) AppendArgsForCall ¶
func (fake *ReadWriter) AppendArgsForCall(i int) *common.Block
func (*ReadWriter) AppendCallCount ¶
func (fake *ReadWriter) AppendCallCount() int
func (*ReadWriter) AppendCalls ¶
func (fake *ReadWriter) AppendCalls(stub func(*common.Block) error)
func (*ReadWriter) AppendReturns ¶
func (fake *ReadWriter) AppendReturns(result1 error)
func (*ReadWriter) AppendReturnsOnCall ¶
func (fake *ReadWriter) AppendReturnsOnCall(i int, result1 error)
func (*ReadWriter) Height ¶
func (fake *ReadWriter) Height() uint64
func (*ReadWriter) HeightCallCount ¶
func (fake *ReadWriter) HeightCallCount() int
func (*ReadWriter) HeightCalls ¶
func (fake *ReadWriter) HeightCalls(stub func() uint64)
func (*ReadWriter) HeightReturns ¶
func (fake *ReadWriter) HeightReturns(result1 uint64)
func (*ReadWriter) HeightReturnsOnCall ¶
func (fake *ReadWriter) HeightReturnsOnCall(i int, result1 uint64)
func (*ReadWriter) Invocations ¶
func (fake *ReadWriter) Invocations() map[string][][]interface{}
func (*ReadWriter) Iterator ¶
func (fake *ReadWriter) Iterator(arg1 *orderer.SeekPosition) (blockledger.Iterator, uint64)
func (*ReadWriter) IteratorArgsForCall ¶
func (fake *ReadWriter) IteratorArgsForCall(i int) *orderer.SeekPosition
func (*ReadWriter) IteratorCallCount ¶
func (fake *ReadWriter) IteratorCallCount() int
func (*ReadWriter) IteratorCalls ¶
func (fake *ReadWriter) IteratorCalls(stub func(*orderer.SeekPosition) (blockledger.Iterator, uint64))
func (*ReadWriter) IteratorReturns ¶
func (fake *ReadWriter) IteratorReturns(result1 blockledger.Iterator, result2 uint64)
func (*ReadWriter) IteratorReturnsOnCall ¶
func (fake *ReadWriter) IteratorReturnsOnCall(i int, result1 blockledger.Iterator, result2 uint64)
func (*ReadWriter) RetrieveBlockByNumber ¶
func (fake *ReadWriter) RetrieveBlockByNumber(arg1 uint64) (*common.Block, error)
func (*ReadWriter) RetrieveBlockByNumberArgsForCall ¶
func (fake *ReadWriter) RetrieveBlockByNumberArgsForCall(i int) uint64
func (*ReadWriter) RetrieveBlockByNumberCallCount ¶
func (fake *ReadWriter) RetrieveBlockByNumberCallCount() int
func (*ReadWriter) RetrieveBlockByNumberCalls ¶
func (fake *ReadWriter) RetrieveBlockByNumberCalls(stub func(uint64) (*common.Block, error))
func (*ReadWriter) RetrieveBlockByNumberReturns ¶
func (fake *ReadWriter) RetrieveBlockByNumberReturns(result1 *common.Block, result2 error)
func (*ReadWriter) RetrieveBlockByNumberReturnsOnCall ¶
func (fake *ReadWriter) RetrieveBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
type SignerSerializer ¶
type SignerSerializer struct { SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*SignerSerializer) Invocations ¶
func (fake *SignerSerializer) Invocations() map[string][][]interface{}
func (*SignerSerializer) Serialize ¶
func (fake *SignerSerializer) Serialize() ([]byte, error)
func (*SignerSerializer) SerializeCallCount ¶
func (fake *SignerSerializer) SerializeCallCount() int
func (*SignerSerializer) SerializeCalls ¶
func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
func (*SignerSerializer) SerializeReturns ¶
func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
func (*SignerSerializer) SerializeReturnsOnCall ¶
func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*SignerSerializer) SignArgsForCall ¶
func (fake *SignerSerializer) SignArgsForCall(i int) []byte
func (*SignerSerializer) SignCallCount ¶
func (fake *SignerSerializer) SignCallCount() int
func (*SignerSerializer) SignCalls ¶
func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
func (*SignerSerializer) SignReturns ¶
func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
func (*SignerSerializer) SignReturnsOnCall ¶
func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Click to show internal directories.
Click to hide internal directories.