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
- type HealthChecker
- func (fake *HealthChecker) Invocations() map[string][][]interface{}
- func (fake *HealthChecker) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
- func (fake *HealthChecker) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
- func (fake *HealthChecker) RegisterCheckerCallCount() int
- func (fake *HealthChecker) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
- func (fake *HealthChecker) RegisterCheckerReturns(result1 error)
- func (fake *HealthChecker) RegisterCheckerReturnsOnCall(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)
- 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 ¶
Factory is an autogenerated mock type for the Factory type
func (*Factory) ChannelIDs ¶
ChannelIDs provides a mock function with given fields:
func (*Factory) Close ¶
func (_m *Factory) Close()
Close provides a mock function with given fields:
func (*Factory) GetOrCreate ¶
func (_m *Factory) GetOrCreate(chainID string) (blockledger.ReadWriter, error)
GetOrCreate provides a mock function with given fields: chainID
type HealthChecker ¶
type HealthChecker struct { RegisterCheckerStub func(string, healthz.HealthChecker) error // contains filtered or unexported fields }
func (*HealthChecker) Invocations ¶
func (fake *HealthChecker) Invocations() map[string][][]interface{}
func (*HealthChecker) RegisterChecker ¶
func (fake *HealthChecker) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error
func (*HealthChecker) RegisterCheckerArgsForCall ¶
func (fake *HealthChecker) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)
func (*HealthChecker) RegisterCheckerCallCount ¶
func (fake *HealthChecker) RegisterCheckerCallCount() int
func (*HealthChecker) RegisterCheckerCalls ¶
func (fake *HealthChecker) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)
func (*HealthChecker) RegisterCheckerReturns ¶
func (fake *HealthChecker) RegisterCheckerReturns(result1 error)
func (*HealthChecker) RegisterCheckerReturnsOnCall ¶
func (fake *HealthChecker) RegisterCheckerReturnsOnCall(i int, result1 error)
type ReadWriter ¶ added in v2.1.0
type ReadWriter struct { AppendStub func(*common.Block) error HeightStub func() uint64 IteratorStub func(*orderer.SeekPosition) (blockledger.Iterator, uint64) // contains filtered or unexported fields }
func (*ReadWriter) Append ¶ added in v2.1.0
func (fake *ReadWriter) Append(arg1 *common.Block) error
func (*ReadWriter) AppendArgsForCall ¶ added in v2.1.0
func (fake *ReadWriter) AppendArgsForCall(i int) *common.Block
func (*ReadWriter) AppendCallCount ¶ added in v2.1.0
func (fake *ReadWriter) AppendCallCount() int
func (*ReadWriter) AppendCalls ¶ added in v2.1.0
func (fake *ReadWriter) AppendCalls(stub func(*common.Block) error)
func (*ReadWriter) AppendReturns ¶ added in v2.1.0
func (fake *ReadWriter) AppendReturns(result1 error)
func (*ReadWriter) AppendReturnsOnCall ¶ added in v2.1.0
func (fake *ReadWriter) AppendReturnsOnCall(i int, result1 error)
func (*ReadWriter) Height ¶ added in v2.1.0
func (fake *ReadWriter) Height() uint64
func (*ReadWriter) HeightCallCount ¶ added in v2.1.0
func (fake *ReadWriter) HeightCallCount() int
func (*ReadWriter) HeightCalls ¶ added in v2.1.0
func (fake *ReadWriter) HeightCalls(stub func() uint64)
func (*ReadWriter) HeightReturns ¶ added in v2.1.0
func (fake *ReadWriter) HeightReturns(result1 uint64)
func (*ReadWriter) HeightReturnsOnCall ¶ added in v2.1.0
func (fake *ReadWriter) HeightReturnsOnCall(i int, result1 uint64)
func (*ReadWriter) Invocations ¶ added in v2.1.0
func (fake *ReadWriter) Invocations() map[string][][]interface{}
func (*ReadWriter) Iterator ¶ added in v2.1.0
func (fake *ReadWriter) Iterator(arg1 *orderer.SeekPosition) (blockledger.Iterator, uint64)
func (*ReadWriter) IteratorArgsForCall ¶ added in v2.1.0
func (fake *ReadWriter) IteratorArgsForCall(i int) *orderer.SeekPosition
func (*ReadWriter) IteratorCallCount ¶ added in v2.1.0
func (fake *ReadWriter) IteratorCallCount() int
func (*ReadWriter) IteratorCalls ¶ added in v2.1.0
func (fake *ReadWriter) IteratorCalls(stub func(*orderer.SeekPosition) (blockledger.Iterator, uint64))
func (*ReadWriter) IteratorReturns ¶ added in v2.1.0
func (fake *ReadWriter) IteratorReturns(result1 blockledger.Iterator, result2 uint64)
func (*ReadWriter) IteratorReturnsOnCall ¶ added in v2.1.0
func (fake *ReadWriter) IteratorReturnsOnCall(i int, result1 blockledger.Iterator, result2 uint64)
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.