mocks

package
v0.0.0-...-85266d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

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

	NewSignatureHeaderStub func() (*common.SignatureHeader, error)

	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

	SharedConfigStub func() channelconfig.Orderer

	SignStub func([]byte) ([]byte, error)

	VerifyBlockSignatureStub func([]*common.SignedData, *common.ConfigEnvelope) error

	WriteBlockStub func(*common.Block, []byte)

	WriteConfigBlockStub func(*common.Block, []byte)
	// contains filtered or unexported fields
}

func (*FakeConsenterSupport) Append

func (fake *FakeConsenterSupport) Append(arg1 *common.Block) error

func (*FakeConsenterSupport) AppendArgsForCall

func (fake *FakeConsenterSupport) AppendArgsForCall(i int) *common.Block

func (*FakeConsenterSupport) AppendCallCount

func (fake *FakeConsenterSupport) AppendCallCount() int

func (*FakeConsenterSupport) AppendCalls

func (fake *FakeConsenterSupport) AppendCalls(stub func(*common.Block) error)

func (*FakeConsenterSupport) AppendReturns

func (fake *FakeConsenterSupport) AppendReturns(result1 error)

func (*FakeConsenterSupport) AppendReturnsOnCall

func (fake *FakeConsenterSupport) AppendReturnsOnCall(i int, result1 error)

func (*FakeConsenterSupport) Block

func (fake *FakeConsenterSupport) Block(arg1 uint64) *common.Block

func (*FakeConsenterSupport) BlockArgsForCall

func (fake *FakeConsenterSupport) BlockArgsForCall(i int) uint64

func (*FakeConsenterSupport) BlockCallCount

func (fake *FakeConsenterSupport) BlockCallCount() int

func (*FakeConsenterSupport) BlockCalls

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

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

func (fake *FakeConsenterSupport) BlockReturns(result1 *common.Block)

func (*FakeConsenterSupport) BlockReturnsOnCall

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

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

func (fake *FakeConsenterSupport) ChannelConfig() channelconfig.Channel

func (*FakeConsenterSupport) ChannelConfigCallCount

func (fake *FakeConsenterSupport) ChannelConfigCallCount() int

func (*FakeConsenterSupport) ChannelConfigCalls

func (fake *FakeConsenterSupport) ChannelConfigCalls(stub func() channelconfig.Channel)

func (*FakeConsenterSupport) ChannelConfigReturns

func (fake *FakeConsenterSupport) ChannelConfigReturns(result1 channelconfig.Channel)

func (*FakeConsenterSupport) ChannelConfigReturnsOnCall

func (fake *FakeConsenterSupport) ChannelConfigReturnsOnCall(i int, result1 channelconfig.Channel)

func (*FakeConsenterSupport) ClassifyMsg

func (*FakeConsenterSupport) ClassifyMsgArgsForCall

func (fake *FakeConsenterSupport) ClassifyMsgArgsForCall(i int) *common.ChannelHeader

func (*FakeConsenterSupport) ClassifyMsgCallCount

func (fake *FakeConsenterSupport) ClassifyMsgCallCount() int

func (*FakeConsenterSupport) ClassifyMsgCalls

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

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

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) NewSignatureHeader

func (fake *FakeConsenterSupport) NewSignatureHeader() (*common.SignatureHeader, error)

func (*FakeConsenterSupport) NewSignatureHeaderCallCount

func (fake *FakeConsenterSupport) NewSignatureHeaderCallCount() int

func (*FakeConsenterSupport) NewSignatureHeaderCalls

func (fake *FakeConsenterSupport) NewSignatureHeaderCalls(stub func() (*common.SignatureHeader, error))

func (*FakeConsenterSupport) NewSignatureHeaderReturns

func (fake *FakeConsenterSupport) NewSignatureHeaderReturns(result1 *common.SignatureHeader, result2 error)

func (*FakeConsenterSupport) NewSignatureHeaderReturnsOnCall

func (fake *FakeConsenterSupport) NewSignatureHeaderReturnsOnCall(i int, result1 *common.SignatureHeader, result2 error)

func (*FakeConsenterSupport) ProcessConfigMsg

func (fake *FakeConsenterSupport) ProcessConfigMsg(arg1 *common.Envelope) (*common.Envelope, uint64, error)

func (*FakeConsenterSupport) ProcessConfigMsgArgsForCall

func (fake *FakeConsenterSupport) ProcessConfigMsgArgsForCall(i int) *common.Envelope

func (*FakeConsenterSupport) ProcessConfigMsgCallCount

func (fake *FakeConsenterSupport) ProcessConfigMsgCallCount() int

func (*FakeConsenterSupport) ProcessConfigMsgCalls

func (fake *FakeConsenterSupport) ProcessConfigMsgCalls(stub func(*common.Envelope) (*common.Envelope, uint64, error))

func (*FakeConsenterSupport) ProcessConfigMsgReturns

func (fake *FakeConsenterSupport) ProcessConfigMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)

func (*FakeConsenterSupport) ProcessConfigMsgReturnsOnCall

func (fake *FakeConsenterSupport) ProcessConfigMsgReturnsOnCall(i int, result1 *common.Envelope, result2 uint64, result3 error)

func (*FakeConsenterSupport) ProcessConfigUpdateMsg

func (fake *FakeConsenterSupport) ProcessConfigUpdateMsg(arg1 *common.Envelope) (*common.Envelope, uint64, error)

func (*FakeConsenterSupport) ProcessConfigUpdateMsgArgsForCall

func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgArgsForCall(i int) *common.Envelope

func (*FakeConsenterSupport) ProcessConfigUpdateMsgCallCount

func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgCallCount() int

func (*FakeConsenterSupport) ProcessConfigUpdateMsgCalls

func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgCalls(stub func(*common.Envelope) (*common.Envelope, uint64, error))

func (*FakeConsenterSupport) ProcessConfigUpdateMsgReturns

func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgReturns(result1 *common.Envelope, result2 uint64, result3 error)

func (*FakeConsenterSupport) ProcessConfigUpdateMsgReturnsOnCall

func (fake *FakeConsenterSupport) ProcessConfigUpdateMsgReturnsOnCall(i int, result1 *common.Envelope, result2 uint64, result3 error)

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

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

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) SharedConfig

func (fake *FakeConsenterSupport) SharedConfig() channelconfig.Orderer

func (*FakeConsenterSupport) SharedConfigCallCount

func (fake *FakeConsenterSupport) SharedConfigCallCount() int

func (*FakeConsenterSupport) SharedConfigCalls

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

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

func (fake *FakeConsenterSupport) VerifyBlockSignature(arg1 []*common.SignedData, arg2 *common.ConfigEnvelope) error

func (*FakeConsenterSupport) VerifyBlockSignatureArgsForCall

func (fake *FakeConsenterSupport) VerifyBlockSignatureArgsForCall(i int) ([]*common.SignedData, *common.ConfigEnvelope)

func (*FakeConsenterSupport) VerifyBlockSignatureCallCount

func (fake *FakeConsenterSupport) VerifyBlockSignatureCallCount() int

func (*FakeConsenterSupport) VerifyBlockSignatureCalls

func (fake *FakeConsenterSupport) VerifyBlockSignatureCalls(stub func([]*common.SignedData, *common.ConfigEnvelope) error)

func (*FakeConsenterSupport) VerifyBlockSignatureReturns

func (fake *FakeConsenterSupport) VerifyBlockSignatureReturns(result1 error)

func (*FakeConsenterSupport) VerifyBlockSignatureReturnsOnCall

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

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

func (fake *FakeConsenterSupport) WriteConfigBlockCalls(stub func(*common.Block, []byte))

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL