mocks

package
v0.0.0-...-579b097 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 7 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

	ChannelConfigStub func() channelconfig.Channel

	ChannelIDStub func() string

	ClassifyMsgStub func(*common.ChannelHeader) msgprocessor.Classification

	CreateNextBlockStub func([]*common.Envelope) *common.Block

	HeightStub func() uint64

	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)

	SharedConfigStub func() channelconfig.Orderer

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

	SignatureVerifierStub func() protoutil.BlockVerifierFunc

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

func (fake *FakeConsenterSupport) ChannelID() string

func (*FakeConsenterSupport) ChannelIDCallCount

func (fake *FakeConsenterSupport) ChannelIDCallCount() int

func (*FakeConsenterSupport) ChannelIDCalls

func (fake *FakeConsenterSupport) ChannelIDCalls(stub func() string)

func (*FakeConsenterSupport) ChannelIDReturns

func (fake *FakeConsenterSupport) ChannelIDReturns(result1 string)

func (*FakeConsenterSupport) ChannelIDReturnsOnCall

func (fake *FakeConsenterSupport) ChannelIDReturnsOnCall(i int, result1 string)

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

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

func (fake *FakeConsenterSupport) SignatureVerifier() protoutil.BlockVerifierFunc

func (*FakeConsenterSupport) SignatureVerifierCallCount

func (fake *FakeConsenterSupport) SignatureVerifierCallCount() int

func (*FakeConsenterSupport) SignatureVerifierCalls

func (fake *FakeConsenterSupport) SignatureVerifierCalls(stub func() protoutil.BlockVerifierFunc)

func (*FakeConsenterSupport) SignatureVerifierReturns

func (fake *FakeConsenterSupport) SignatureVerifierReturns(result1 protoutil.BlockVerifierFunc)

func (*FakeConsenterSupport) SignatureVerifierReturnsOnCall

func (fake *FakeConsenterSupport) SignatureVerifierReturnsOnCall(i int, result1 protoutil.BlockVerifierFunc)

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