Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeConsenterSupport
- func (fake *FakeConsenterSupport) Append(arg1 *common.Block) error
- func (fake *FakeConsenterSupport) AppendArgsForCall(i int) *common.Block
- func (fake *FakeConsenterSupport) AppendCallCount() int
- func (fake *FakeConsenterSupport) AppendCalls(stub func(*common.Block) error)
- func (fake *FakeConsenterSupport) AppendReturns(result1 error)
- func (fake *FakeConsenterSupport) AppendReturnsOnCall(i int, result1 error)
- func (fake *FakeConsenterSupport) Block(arg1 uint64) *common.Block
- func (fake *FakeConsenterSupport) BlockArgsForCall(i int) uint64
- func (fake *FakeConsenterSupport) BlockCallCount() int
- func (fake *FakeConsenterSupport) BlockCalls(stub func(uint64) *common.Block)
- func (fake *FakeConsenterSupport) BlockCutter() blockcutter.Receiver
- func (fake *FakeConsenterSupport) BlockCutterCallCount() int
- func (fake *FakeConsenterSupport) BlockCutterCalls(stub func() blockcutter.Receiver)
- func (fake *FakeConsenterSupport) BlockCutterReturns(result1 blockcutter.Receiver)
- func (fake *FakeConsenterSupport) BlockCutterReturnsOnCall(i int, result1 blockcutter.Receiver)
- func (fake *FakeConsenterSupport) BlockReturns(result1 *common.Block)
- func (fake *FakeConsenterSupport) BlockReturnsOnCall(i int, result1 *common.Block)
- func (fake *FakeConsenterSupport) ChainID() string
- func (fake *FakeConsenterSupport) ChainIDCallCount() int
- func (fake *FakeConsenterSupport) ChainIDCalls(stub func() string)
- func (fake *FakeConsenterSupport) ChainIDReturns(result1 string)
- func (fake *FakeConsenterSupport) ChainIDReturnsOnCall(i int, result1 string)
- func (fake *FakeConsenterSupport) ChannelConfig() channelconfig.Channel
- func (fake *FakeConsenterSupport) ChannelConfigCallCount() int
- func (fake *FakeConsenterSupport) ChannelConfigCalls(stub func() channelconfig.Channel)
- func (fake *FakeConsenterSupport) ChannelConfigReturns(result1 channelconfig.Channel)
- func (fake *FakeConsenterSupport) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)
- func (fake *FakeConsenterSupport) ClassifyMsg(arg1 *common.ChannelHeader) msgprocessor.Classification
- func (fake *FakeConsenterSupport) ClassifyMsgArgsForCall(i int) *common.ChannelHeader
- func (fake *FakeConsenterSupport) ClassifyMsgCallCount() int
- func (fake *FakeConsenterSupport) ClassifyMsgCalls(stub func(*common.ChannelHeader) msgprocessor.Classification)
- func (fake *FakeConsenterSupport) ClassifyMsgReturns(result1 msgprocessor.Classification)
- func (fake *FakeConsenterSupport) ClassifyMsgReturnsOnCall(i int, result1 msgprocessor.Classification)
- func (fake *FakeConsenterSupport) CreateNextBlock(arg1 []*common.Envelope) *common.Block
- func (fake *FakeConsenterSupport) CreateNextBlockArgsForCall(i int) []*common.Envelope
- func (fake *FakeConsenterSupport) CreateNextBlockCallCount() int
- func (fake *FakeConsenterSupport) CreateNextBlockCalls(stub func([]*common.Envelope) *common.Block)
- func (fake *FakeConsenterSupport) CreateNextBlockReturns(result1 *common.Block)
- func (fake *FakeConsenterSupport) CreateNextBlockReturnsOnCall(i int, result1 *common.Block)
- func (fake *FakeConsenterSupport) Height() uint64
- func (fake *FakeConsenterSupport) HeightCallCount() int
- func (fake *FakeConsenterSupport) HeightCalls(stub func() uint64)
- func (fake *FakeConsenterSupport) HeightReturns(result1 uint64)
- func (fake *FakeConsenterSupport) HeightReturnsOnCall(i int, result1 uint64)
- func (fake *FakeConsenterSupport) Invocations() map[string][][]interface{}
- func (fake *FakeConsenterSupport) IsSystemChannel() bool
- func (fake *FakeConsenterSupport) IsSystemChannelCallCount() int
- func (fake *FakeConsenterSupport) IsSystemChannelCalls(stub func() bool)
- func (fake *FakeConsenterSupport) IsSystemChannelReturns(result1 bool)
- func (fake *FakeConsenterSupport) IsSystemChannelReturnsOnCall(i int, result1 bool)
- func (fake *FakeConsenterSupport) ProcessConfigMsg(arg1 *common.Envelope) (*common.Envelope, uint64, error)
- func (fake *FakeConsenterSupport) ProcessConfigMsgArgsForCall(i int) *common.Envelope
- func (fake *FakeConsenterSupport) ProcessConfigMsgCallCount() int
- func (fake *FakeConsenterSupport) ProcessConfigMsgCalls(stub func(*common.Envelope) (*common.Envelope, uint64, error))
- func (fake *FakeConsenterSupport) ProcessConfigMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)
- func (fake *FakeConsenterSupport) ProcessConfigMsgReturnsOnCall(i int, result1 *common.Envelope, result2 uint64, result3 error)
- func (fake *FakeConsenterSupport) ProcessConfigUpdateMsg(arg1 *common.Envelope) (*common.Envelope, uint64, error)
- func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgArgsForCall(i int) *common.Envelope
- func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgCallCount() int
- func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgCalls(stub func(*common.Envelope) (*common.Envelope, uint64, error))
- func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)
- func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgReturnsOnCall(i int, result1 *common.Envelope, result2 uint64, result3 error)
- func (fake *FakeConsenterSupport) ProcessNormalMsg(arg1 *common.Envelope) (uint64, error)
- func (fake *FakeConsenterSupport) ProcessNormalMsgArgsForCall(i int) *common.Envelope
- func (fake *FakeConsenterSupport) ProcessNormalMsgCallCount() int
- func (fake *FakeConsenterSupport) ProcessNormalMsgCalls(stub func(*common.Envelope) (uint64, error))
- func (fake *FakeConsenterSupport) ProcessNormalMsgReturns(result1 uint64, result2 error)
- func (fake *FakeConsenterSupport) ProcessNormalMsgReturnsOnCall(i int, result1 uint64, result2 error)
- func (fake *FakeConsenterSupport) Sequence() uint64
- func (fake *FakeConsenterSupport) SequenceCallCount() int
- func (fake *FakeConsenterSupport) SequenceCalls(stub func() uint64)
- func (fake *FakeConsenterSupport) SequenceReturns(result1 uint64)
- func (fake *FakeConsenterSupport) SequenceReturnsOnCall(i int, result1 uint64)
- func (fake *FakeConsenterSupport) Serialize() ([]byte, error)
- func (fake *FakeConsenterSupport) SerializeCallCount() int
- func (fake *FakeConsenterSupport) SerializeCalls(stub func() ([]byte, error))
- func (fake *FakeConsenterSupport) SerializeReturns(result1 []byte, result2 error)
- func (fake *FakeConsenterSupport) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeConsenterSupport) SharedConfig() channelconfig.Orderer
- func (fake *FakeConsenterSupport) SharedConfigCallCount() int
- func (fake *FakeConsenterSupport) SharedConfigCalls(stub func() channelconfig.Orderer)
- func (fake *FakeConsenterSupport) SharedConfigReturns(result1 channelconfig.Orderer)
- func (fake *FakeConsenterSupport) SharedConfigReturnsOnCall(i int, result1 channelconfig.Orderer)
- func (fake *FakeConsenterSupport) Sign(arg1 []byte) ([]byte, error)
- func (fake *FakeConsenterSupport) SignArgsForCall(i int) []byte
- func (fake *FakeConsenterSupport) SignCallCount() int
- func (fake *FakeConsenterSupport) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *FakeConsenterSupport) SignReturns(result1 []byte, result2 error)
- func (fake *FakeConsenterSupport) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeConsenterSupport) VerifyBlockSignature(arg1 []*protoutil.SignedData, arg2 *common.ConfigEnvelope) error
- func (fake *FakeConsenterSupport) VerifyBlockSignatureArgsForCall(i int) ([]*protoutil.SignedData, *common.ConfigEnvelope)
- func (fake *FakeConsenterSupport) VerifyBlockSignatureCallCount() int
- func (fake *FakeConsenterSupport) VerifyBlockSignatureCalls(stub func([]*protoutil.SignedData, *common.ConfigEnvelope) error)
- func (fake *FakeConsenterSupport) VerifyBlockSignatureReturns(result1 error)
- func (fake *FakeConsenterSupport) VerifyBlockSignatureReturnsOnCall(i int, result1 error)
- func (fake *FakeConsenterSupport) WriteBlock(arg1 *common.Block, arg2 []byte)
- func (fake *FakeConsenterSupport) WriteBlockArgsForCall(i int) (*common.Block, []byte)
- func (fake *FakeConsenterSupport) WriteBlockCallCount() int
- func (fake *FakeConsenterSupport) WriteBlockCalls(stub func(*common.Block, []byte))
- func (fake *FakeConsenterSupport) WriteConfigBlock(arg1 *common.Block, arg2 []byte)
- func (fake *FakeConsenterSupport) WriteConfigBlockArgsForCall(i int) (*common.Block, []byte)
- func (fake *FakeConsenterSupport) WriteConfigBlockCallCount() int
- func (fake *FakeConsenterSupport) WriteConfigBlockCalls(stub func(*common.Block, []byte))
- type FakeController
- func (fake *FakeController) ConsensusMigrationAbort() error
- func (fake *FakeController) ConsensusMigrationAbortCallCount() int
- func (fake *FakeController) ConsensusMigrationAbortCalls(stub func() error)
- func (fake *FakeController) ConsensusMigrationAbortReturns(result1 error)
- func (fake *FakeController) ConsensusMigrationAbortReturnsOnCall(i int, result1 error)
- func (fake *FakeController) ConsensusMigrationCommit() error
- func (fake *FakeController) ConsensusMigrationCommitCallCount() int
- func (fake *FakeController) ConsensusMigrationCommitCalls(stub func() error)
- func (fake *FakeController) ConsensusMigrationCommitReturns(result1 error)
- func (fake *FakeController) ConsensusMigrationCommitReturnsOnCall(i int, result1 error)
- func (fake *FakeController) ConsensusMigrationPending() bool
- func (fake *FakeController) ConsensusMigrationPendingCallCount() int
- func (fake *FakeController) ConsensusMigrationPendingCalls(stub func() bool)
- func (fake *FakeController) ConsensusMigrationPendingReturns(result1 bool)
- func (fake *FakeController) ConsensusMigrationPendingReturnsOnCall(i int, result1 bool)
- func (fake *FakeController) ConsensusMigrationStart(arg1 uint64) error
- func (fake *FakeController) ConsensusMigrationStartArgsForCall(i int) uint64
- func (fake *FakeController) ConsensusMigrationStartCallCount() int
- func (fake *FakeController) ConsensusMigrationStartCalls(stub func(uint64) error)
- func (fake *FakeController) ConsensusMigrationStartReturns(result1 error)
- func (fake *FakeController) ConsensusMigrationStartReturnsOnCall(i int, result1 error)
- func (fake *FakeController) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConsenterSupport ¶
type FakeConsenterSupport struct { AppendStub func(*common.Block) error BlockStub func(uint64) *common.Block BlockCutterStub func() blockcutter.Receiver ChainIDStub func() string ChannelConfigStub func() channelconfig.Channel ClassifyMsgStub func(*common.ChannelHeader) msgprocessor.Classification CreateNextBlockStub func([]*common.Envelope) *common.Block HeightStub func() uint64 IsSystemChannelStub func() bool ProcessConfigMsgStub func(*common.Envelope) (*common.Envelope, uint64, error) ProcessConfigUpdateMsgStub func(*common.Envelope) (*common.Envelope, uint64, error) ProcessNormalMsgStub func(*common.Envelope) (uint64, error) SequenceStub func() uint64 SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) VerifyBlockSignatureStub func([]*protoutil.SignedData, *common.ConfigEnvelope) error WriteBlockStub func(*common.Block, []byte) WriteConfigBlockStub func(*common.Block, []byte) // contains filtered or unexported fields }
func (*FakeConsenterSupport) Append ¶ added in v1.4.1
func (fake *FakeConsenterSupport) Append(arg1 *common.Block) error
func (*FakeConsenterSupport) AppendArgsForCall ¶ added in v1.4.1
func (fake *FakeConsenterSupport) AppendArgsForCall(i int) *common.Block
func (*FakeConsenterSupport) AppendCallCount ¶ added in v1.4.1
func (fake *FakeConsenterSupport) AppendCallCount() int
func (*FakeConsenterSupport) AppendCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) AppendCalls(stub func(*common.Block) error)
func (*FakeConsenterSupport) AppendReturns ¶ added in v1.4.1
func (fake *FakeConsenterSupport) AppendReturns(result1 error)
func (*FakeConsenterSupport) AppendReturnsOnCall ¶ added in v1.4.1
func (fake *FakeConsenterSupport) AppendReturnsOnCall(i int, result1 error)
func (*FakeConsenterSupport) Block ¶ added in v1.4.0
func (fake *FakeConsenterSupport) Block(arg1 uint64) *common.Block
func (*FakeConsenterSupport) BlockArgsForCall ¶ added in v1.4.0
func (fake *FakeConsenterSupport) BlockArgsForCall(i int) uint64
func (*FakeConsenterSupport) BlockCallCount ¶ added in v1.4.0
func (fake *FakeConsenterSupport) BlockCallCount() int
func (*FakeConsenterSupport) BlockCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) BlockCalls(stub func(uint64) *common.Block)
func (*FakeConsenterSupport) BlockCutter ¶
func (fake *FakeConsenterSupport) BlockCutter() blockcutter.Receiver
func (*FakeConsenterSupport) BlockCutterCallCount ¶
func (fake *FakeConsenterSupport) BlockCutterCallCount() int
func (*FakeConsenterSupport) BlockCutterCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) BlockCutterCalls(stub func() blockcutter.Receiver)
func (*FakeConsenterSupport) BlockCutterReturns ¶
func (fake *FakeConsenterSupport) BlockCutterReturns(result1 blockcutter.Receiver)
func (*FakeConsenterSupport) BlockCutterReturnsOnCall ¶
func (fake *FakeConsenterSupport) BlockCutterReturnsOnCall(i int, result1 blockcutter.Receiver)
func (*FakeConsenterSupport) BlockReturns ¶ added in v1.4.0
func (fake *FakeConsenterSupport) BlockReturns(result1 *common.Block)
func (*FakeConsenterSupport) BlockReturnsOnCall ¶ added in v1.4.0
func (fake *FakeConsenterSupport) BlockReturnsOnCall(i int, result1 *common.Block)
func (*FakeConsenterSupport) ChainID ¶
func (fake *FakeConsenterSupport) ChainID() string
func (*FakeConsenterSupport) ChainIDCallCount ¶
func (fake *FakeConsenterSupport) ChainIDCallCount() int
func (*FakeConsenterSupport) ChainIDCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) ChainIDCalls(stub func() string)
func (*FakeConsenterSupport) ChainIDReturns ¶
func (fake *FakeConsenterSupport) ChainIDReturns(result1 string)
func (*FakeConsenterSupport) ChainIDReturnsOnCall ¶
func (fake *FakeConsenterSupport) ChainIDReturnsOnCall(i int, result1 string)
func (*FakeConsenterSupport) ChannelConfig ¶ added in v1.4.2
func (fake *FakeConsenterSupport) ChannelConfig() channelconfig.Channel
func (*FakeConsenterSupport) ChannelConfigCallCount ¶ added in v1.4.2
func (fake *FakeConsenterSupport) ChannelConfigCallCount() int
func (*FakeConsenterSupport) ChannelConfigCalls ¶ added in v1.4.2
func (fake *FakeConsenterSupport) ChannelConfigCalls(stub func() channelconfig.Channel)
func (*FakeConsenterSupport) ChannelConfigReturns ¶ added in v1.4.2
func (fake *FakeConsenterSupport) ChannelConfigReturns(result1 channelconfig.Channel)
func (*FakeConsenterSupport) ChannelConfigReturnsOnCall ¶ added in v1.4.2
func (fake *FakeConsenterSupport) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)
func (*FakeConsenterSupport) ClassifyMsg ¶
func (fake *FakeConsenterSupport) ClassifyMsg(arg1 *common.ChannelHeader) msgprocessor.Classification
func (*FakeConsenterSupport) ClassifyMsgArgsForCall ¶
func (fake *FakeConsenterSupport) ClassifyMsgArgsForCall(i int) *common.ChannelHeader
func (*FakeConsenterSupport) ClassifyMsgCallCount ¶
func (fake *FakeConsenterSupport) ClassifyMsgCallCount() int
func (*FakeConsenterSupport) ClassifyMsgCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) ClassifyMsgCalls(stub func(*common.ChannelHeader) msgprocessor.Classification)
func (*FakeConsenterSupport) ClassifyMsgReturns ¶
func (fake *FakeConsenterSupport) ClassifyMsgReturns(result1 msgprocessor.Classification)
func (*FakeConsenterSupport) ClassifyMsgReturnsOnCall ¶
func (fake *FakeConsenterSupport) ClassifyMsgReturnsOnCall(i int, result1 msgprocessor.Classification)
func (*FakeConsenterSupport) CreateNextBlock ¶
func (fake *FakeConsenterSupport) CreateNextBlock(arg1 []*common.Envelope) *common.Block
func (*FakeConsenterSupport) CreateNextBlockArgsForCall ¶
func (fake *FakeConsenterSupport) CreateNextBlockArgsForCall(i int) []*common.Envelope
func (*FakeConsenterSupport) CreateNextBlockCallCount ¶
func (fake *FakeConsenterSupport) CreateNextBlockCallCount() int
func (*FakeConsenterSupport) CreateNextBlockCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) CreateNextBlockCalls(stub func([]*common.Envelope) *common.Block)
func (*FakeConsenterSupport) CreateNextBlockReturns ¶
func (fake *FakeConsenterSupport) CreateNextBlockReturns(result1 *common.Block)
func (*FakeConsenterSupport) CreateNextBlockReturnsOnCall ¶
func (fake *FakeConsenterSupport) CreateNextBlockReturnsOnCall(i int, result1 *common.Block)
func (*FakeConsenterSupport) Height ¶
func (fake *FakeConsenterSupport) Height() uint64
func (*FakeConsenterSupport) HeightCallCount ¶
func (fake *FakeConsenterSupport) HeightCallCount() int
func (*FakeConsenterSupport) HeightCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) HeightCalls(stub func() uint64)
func (*FakeConsenterSupport) HeightReturns ¶
func (fake *FakeConsenterSupport) HeightReturns(result1 uint64)
func (*FakeConsenterSupport) HeightReturnsOnCall ¶
func (fake *FakeConsenterSupport) HeightReturnsOnCall(i int, result1 uint64)
func (*FakeConsenterSupport) Invocations ¶
func (fake *FakeConsenterSupport) Invocations() map[string][][]interface{}
func (*FakeConsenterSupport) IsSystemChannel ¶ added in v1.4.1
func (fake *FakeConsenterSupport) IsSystemChannel() bool
func (*FakeConsenterSupport) IsSystemChannelCallCount ¶ added in v1.4.1
func (fake *FakeConsenterSupport) IsSystemChannelCallCount() int
func (*FakeConsenterSupport) IsSystemChannelCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) IsSystemChannelCalls(stub func() bool)
func (*FakeConsenterSupport) IsSystemChannelReturns ¶ added in v1.4.1
func (fake *FakeConsenterSupport) IsSystemChannelReturns(result1 bool)
func (*FakeConsenterSupport) IsSystemChannelReturnsOnCall ¶ added in v1.4.1
func (fake *FakeConsenterSupport) IsSystemChannelReturnsOnCall(i int, result1 bool)
func (*FakeConsenterSupport) ProcessConfigMsg ¶
func (*FakeConsenterSupport) ProcessConfigMsgArgsForCall ¶
func (fake *FakeConsenterSupport) ProcessConfigMsgArgsForCall(i int) *common.Envelope
func (*FakeConsenterSupport) ProcessConfigMsgCallCount ¶
func (fake *FakeConsenterSupport) ProcessConfigMsgCallCount() int
func (*FakeConsenterSupport) ProcessConfigMsgCalls ¶ added in v1.4.1
func (*FakeConsenterSupport) ProcessConfigMsgReturns ¶
func (fake *FakeConsenterSupport) ProcessConfigMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)
func (*FakeConsenterSupport) ProcessConfigMsgReturnsOnCall ¶
func (*FakeConsenterSupport) ProcessConfigUpdateMsg ¶
func (*FakeConsenterSupport) ProcessConfigUpdateMsgArgsForCall ¶
func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgArgsForCall(i int) *common.Envelope
func (*FakeConsenterSupport) ProcessConfigUpdateMsgCallCount ¶
func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgCallCount() int
func (*FakeConsenterSupport) ProcessConfigUpdateMsgCalls ¶ added in v1.4.1
func (*FakeConsenterSupport) ProcessConfigUpdateMsgReturns ¶
func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)
func (*FakeConsenterSupport) ProcessConfigUpdateMsgReturnsOnCall ¶
func (*FakeConsenterSupport) ProcessNormalMsg ¶
func (fake *FakeConsenterSupport) ProcessNormalMsg(arg1 *common.Envelope) (uint64, error)
func (*FakeConsenterSupport) ProcessNormalMsgArgsForCall ¶
func (fake *FakeConsenterSupport) ProcessNormalMsgArgsForCall(i int) *common.Envelope
func (*FakeConsenterSupport) ProcessNormalMsgCallCount ¶
func (fake *FakeConsenterSupport) ProcessNormalMsgCallCount() int
func (*FakeConsenterSupport) ProcessNormalMsgCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) ProcessNormalMsgCalls(stub func(*common.Envelope) (uint64, error))
func (*FakeConsenterSupport) ProcessNormalMsgReturns ¶
func (fake *FakeConsenterSupport) ProcessNormalMsgReturns(result1 uint64, result2 error)
func (*FakeConsenterSupport) ProcessNormalMsgReturnsOnCall ¶
func (fake *FakeConsenterSupport) ProcessNormalMsgReturnsOnCall(i int, result1 uint64, result2 error)
func (*FakeConsenterSupport) Sequence ¶
func (fake *FakeConsenterSupport) Sequence() uint64
func (*FakeConsenterSupport) SequenceCallCount ¶
func (fake *FakeConsenterSupport) SequenceCallCount() int
func (*FakeConsenterSupport) SequenceCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) SequenceCalls(stub func() uint64)
func (*FakeConsenterSupport) SequenceReturns ¶
func (fake *FakeConsenterSupport) SequenceReturns(result1 uint64)
func (*FakeConsenterSupport) SequenceReturnsOnCall ¶
func (fake *FakeConsenterSupport) SequenceReturnsOnCall(i int, result1 uint64)
func (*FakeConsenterSupport) Serialize ¶
func (fake *FakeConsenterSupport) Serialize() ([]byte, error)
func (*FakeConsenterSupport) SerializeCallCount ¶
func (fake *FakeConsenterSupport) SerializeCallCount() int
func (*FakeConsenterSupport) SerializeCalls ¶
func (fake *FakeConsenterSupport) SerializeCalls(stub func() ([]byte, error))
func (*FakeConsenterSupport) SerializeReturns ¶
func (fake *FakeConsenterSupport) SerializeReturns(result1 []byte, result2 error)
func (*FakeConsenterSupport) SerializeReturnsOnCall ¶
func (fake *FakeConsenterSupport) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeConsenterSupport) SharedConfig ¶
func (fake *FakeConsenterSupport) SharedConfig() channelconfig.Orderer
func (*FakeConsenterSupport) SharedConfigCallCount ¶
func (fake *FakeConsenterSupport) SharedConfigCallCount() int
func (*FakeConsenterSupport) SharedConfigCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) SharedConfigCalls(stub func() channelconfig.Orderer)
func (*FakeConsenterSupport) SharedConfigReturns ¶
func (fake *FakeConsenterSupport) SharedConfigReturns(result1 channelconfig.Orderer)
func (*FakeConsenterSupport) SharedConfigReturnsOnCall ¶
func (fake *FakeConsenterSupport) SharedConfigReturnsOnCall(i int, result1 channelconfig.Orderer)
func (*FakeConsenterSupport) Sign ¶
func (fake *FakeConsenterSupport) Sign(arg1 []byte) ([]byte, error)
func (*FakeConsenterSupport) SignArgsForCall ¶
func (fake *FakeConsenterSupport) SignArgsForCall(i int) []byte
func (*FakeConsenterSupport) SignCallCount ¶
func (fake *FakeConsenterSupport) SignCallCount() int
func (*FakeConsenterSupport) SignCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) SignCalls(stub func([]byte) ([]byte, error))
func (*FakeConsenterSupport) SignReturns ¶
func (fake *FakeConsenterSupport) SignReturns(result1 []byte, result2 error)
func (*FakeConsenterSupport) SignReturnsOnCall ¶
func (fake *FakeConsenterSupport) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeConsenterSupport) VerifyBlockSignature ¶ added in v1.4.0
func (fake *FakeConsenterSupport) VerifyBlockSignature(arg1 []*protoutil.SignedData, arg2 *common.ConfigEnvelope) error
func (*FakeConsenterSupport) VerifyBlockSignatureArgsForCall ¶ added in v1.4.0
func (fake *FakeConsenterSupport) VerifyBlockSignatureArgsForCall(i int) ([]*protoutil.SignedData, *common.ConfigEnvelope)
func (*FakeConsenterSupport) VerifyBlockSignatureCallCount ¶ added in v1.4.0
func (fake *FakeConsenterSupport) VerifyBlockSignatureCallCount() int
func (*FakeConsenterSupport) VerifyBlockSignatureCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) VerifyBlockSignatureCalls(stub func([]*protoutil.SignedData, *common.ConfigEnvelope) error)
func (*FakeConsenterSupport) VerifyBlockSignatureReturns ¶ added in v1.4.0
func (fake *FakeConsenterSupport) VerifyBlockSignatureReturns(result1 error)
func (*FakeConsenterSupport) VerifyBlockSignatureReturnsOnCall ¶ added in v1.4.0
func (fake *FakeConsenterSupport) VerifyBlockSignatureReturnsOnCall(i int, result1 error)
func (*FakeConsenterSupport) WriteBlock ¶
func (fake *FakeConsenterSupport) WriteBlock(arg1 *common.Block, arg2 []byte)
func (*FakeConsenterSupport) WriteBlockArgsForCall ¶
func (fake *FakeConsenterSupport) WriteBlockArgsForCall(i int) (*common.Block, []byte)
func (*FakeConsenterSupport) WriteBlockCallCount ¶
func (fake *FakeConsenterSupport) WriteBlockCallCount() int
func (*FakeConsenterSupport) WriteBlockCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) WriteBlockCalls(stub func(*common.Block, []byte))
func (*FakeConsenterSupport) WriteConfigBlock ¶
func (fake *FakeConsenterSupport) WriteConfigBlock(arg1 *common.Block, arg2 []byte)
func (*FakeConsenterSupport) WriteConfigBlockArgsForCall ¶
func (fake *FakeConsenterSupport) WriteConfigBlockArgsForCall(i int) (*common.Block, []byte)
func (*FakeConsenterSupport) WriteConfigBlockCallCount ¶
func (fake *FakeConsenterSupport) WriteConfigBlockCallCount() int
func (*FakeConsenterSupport) WriteConfigBlockCalls ¶ added in v1.4.1
func (fake *FakeConsenterSupport) WriteConfigBlockCalls(stub func(*common.Block, []byte))
type FakeController ¶
type FakeController struct { ConsensusMigrationAbortStub func() error ConsensusMigrationCommitStub func() error ConsensusMigrationPendingStub func() bool ConsensusMigrationStartStub func(uint64) error // contains filtered or unexported fields }
func (*FakeController) ConsensusMigrationAbort ¶
func (fake *FakeController) ConsensusMigrationAbort() error
func (*FakeController) ConsensusMigrationAbortCallCount ¶
func (fake *FakeController) ConsensusMigrationAbortCallCount() int
func (*FakeController) ConsensusMigrationAbortCalls ¶
func (fake *FakeController) ConsensusMigrationAbortCalls(stub func() error)
func (*FakeController) ConsensusMigrationAbortReturns ¶
func (fake *FakeController) ConsensusMigrationAbortReturns(result1 error)
func (*FakeController) ConsensusMigrationAbortReturnsOnCall ¶
func (fake *FakeController) ConsensusMigrationAbortReturnsOnCall(i int, result1 error)
func (*FakeController) ConsensusMigrationCommit ¶
func (fake *FakeController) ConsensusMigrationCommit() error
func (*FakeController) ConsensusMigrationCommitCallCount ¶
func (fake *FakeController) ConsensusMigrationCommitCallCount() int
func (*FakeController) ConsensusMigrationCommitCalls ¶
func (fake *FakeController) ConsensusMigrationCommitCalls(stub func() error)
func (*FakeController) ConsensusMigrationCommitReturns ¶
func (fake *FakeController) ConsensusMigrationCommitReturns(result1 error)
func (*FakeController) ConsensusMigrationCommitReturnsOnCall ¶
func (fake *FakeController) ConsensusMigrationCommitReturnsOnCall(i int, result1 error)
func (*FakeController) ConsensusMigrationPending ¶
func (fake *FakeController) ConsensusMigrationPending() bool
func (*FakeController) ConsensusMigrationPendingCallCount ¶
func (fake *FakeController) ConsensusMigrationPendingCallCount() int
func (*FakeController) ConsensusMigrationPendingCalls ¶
func (fake *FakeController) ConsensusMigrationPendingCalls(stub func() bool)
func (*FakeController) ConsensusMigrationPendingReturns ¶
func (fake *FakeController) ConsensusMigrationPendingReturns(result1 bool)
func (*FakeController) ConsensusMigrationPendingReturnsOnCall ¶
func (fake *FakeController) ConsensusMigrationPendingReturnsOnCall(i int, result1 bool)
func (*FakeController) ConsensusMigrationStart ¶
func (fake *FakeController) ConsensusMigrationStart(arg1 uint64) error
func (*FakeController) ConsensusMigrationStartArgsForCall ¶
func (fake *FakeController) ConsensusMigrationStartArgsForCall(i int) uint64
func (*FakeController) ConsensusMigrationStartCallCount ¶
func (fake *FakeController) ConsensusMigrationStartCallCount() int
func (*FakeController) ConsensusMigrationStartCalls ¶
func (fake *FakeController) ConsensusMigrationStartCalls(stub func(uint64) error)
func (*FakeController) ConsensusMigrationStartReturns ¶
func (fake *FakeController) ConsensusMigrationStartReturns(result1 error)
func (*FakeController) ConsensusMigrationStartReturnsOnCall ¶
func (fake *FakeController) ConsensusMigrationStartReturnsOnCall(i int, result1 error)
func (*FakeController) Invocations ¶
func (fake *FakeController) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.