fake

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: 12 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 BlockHandler

type BlockHandler struct {
	HandleBlockStub func(string, *common.Block) error
	// contains filtered or unexported fields
}

func (*BlockHandler) HandleBlock

func (fake *BlockHandler) HandleBlock(arg1 string, arg2 *common.Block) error

func (*BlockHandler) HandleBlockArgsForCall

func (fake *BlockHandler) HandleBlockArgsForCall(i int) (string, *common.Block)

func (*BlockHandler) HandleBlockCallCount

func (fake *BlockHandler) HandleBlockCallCount() int

func (*BlockHandler) HandleBlockCalls

func (fake *BlockHandler) HandleBlockCalls(stub func(string, *common.Block) error)

func (*BlockHandler) HandleBlockReturns

func (fake *BlockHandler) HandleBlockReturns(result1 error)

func (*BlockHandler) HandleBlockReturnsOnCall

func (fake *BlockHandler) HandleBlockReturnsOnCall(i int, result1 error)

func (*BlockHandler) Invocations

func (fake *BlockHandler) Invocations() map[string][][]interface{}

type BlockProgressReporter

type BlockProgressReporter struct {
	BlockProgressStub func() (uint64, time.Time)
	// contains filtered or unexported fields
}

func (*BlockProgressReporter) BlockProgress

func (fake *BlockProgressReporter) BlockProgress() (uint64, time.Time)

func (*BlockProgressReporter) BlockProgressCallCount

func (fake *BlockProgressReporter) BlockProgressCallCount() int

func (*BlockProgressReporter) BlockProgressCalls

func (fake *BlockProgressReporter) BlockProgressCalls(stub func() (uint64, time.Time))

func (*BlockProgressReporter) BlockProgressReturns

func (fake *BlockProgressReporter) BlockProgressReturns(result1 uint64, result2 time.Time)

func (*BlockProgressReporter) BlockProgressReturnsOnCall

func (fake *BlockProgressReporter) BlockProgressReturnsOnCall(i int, result1 uint64, result2 time.Time)

func (*BlockProgressReporter) Invocations

func (fake *BlockProgressReporter) Invocations() map[string][][]interface{}

type CensorshipDetector

type CensorshipDetector struct {
	ErrorsChannelStub func() <-chan error

	MonitorStub func()

	StopStub func()
	// contains filtered or unexported fields
}

func (*CensorshipDetector) ErrorsChannel

func (fake *CensorshipDetector) ErrorsChannel() <-chan error

func (*CensorshipDetector) ErrorsChannelCallCount

func (fake *CensorshipDetector) ErrorsChannelCallCount() int

func (*CensorshipDetector) ErrorsChannelCalls

func (fake *CensorshipDetector) ErrorsChannelCalls(stub func() <-chan error)

func (*CensorshipDetector) ErrorsChannelReturns

func (fake *CensorshipDetector) ErrorsChannelReturns(result1 <-chan error)

func (*CensorshipDetector) ErrorsChannelReturnsOnCall

func (fake *CensorshipDetector) ErrorsChannelReturnsOnCall(i int, result1 <-chan error)

func (*CensorshipDetector) Invocations

func (fake *CensorshipDetector) Invocations() map[string][][]interface{}

func (*CensorshipDetector) Monitor

func (fake *CensorshipDetector) Monitor()

func (*CensorshipDetector) MonitorCallCount

func (fake *CensorshipDetector) MonitorCallCount() int

func (*CensorshipDetector) MonitorCalls

func (fake *CensorshipDetector) MonitorCalls(stub func())

func (*CensorshipDetector) Stop

func (fake *CensorshipDetector) Stop()

func (*CensorshipDetector) StopCallCount

func (fake *CensorshipDetector) StopCallCount() int

func (*CensorshipDetector) StopCalls

func (fake *CensorshipDetector) StopCalls(stub func())

type CensorshipDetectorFactory

func (*CensorshipDetectorFactory) CreateCallCount

func (fake *CensorshipDetectorFactory) CreateCallCount() int

func (*CensorshipDetectorFactory) CreateReturns

func (fake *CensorshipDetectorFactory) CreateReturns(result1 blocksprovider.CensorshipDetector)

func (*CensorshipDetectorFactory) CreateReturnsOnCall

func (fake *CensorshipDetectorFactory) CreateReturnsOnCall(i int, result1 blocksprovider.CensorshipDetector)

func (*CensorshipDetectorFactory) Invocations

func (fake *CensorshipDetectorFactory) Invocations() map[string][][]interface{}

type DeliverClient

type DeliverClient struct {
	CloseSendStub func() error

	ContextStub func() context.Context

	HeaderStub func() (metadata.MD, error)

	RecvStub func() (*orderer.DeliverResponse, error)

	RecvMsgStub func(interface{}) error

	SendStub func(*common.Envelope) error

	SendMsgStub func(interface{}) error

	TrailerStub func() metadata.MD
	// contains filtered or unexported fields
}

func (*DeliverClient) CloseSend

func (fake *DeliverClient) CloseSend() error

func (*DeliverClient) CloseSendCallCount

func (fake *DeliverClient) CloseSendCallCount() int

func (*DeliverClient) CloseSendCalls

func (fake *DeliverClient) CloseSendCalls(stub func() error)

func (*DeliverClient) CloseSendReturns

func (fake *DeliverClient) CloseSendReturns(result1 error)

func (*DeliverClient) CloseSendReturnsOnCall

func (fake *DeliverClient) CloseSendReturnsOnCall(i int, result1 error)

func (*DeliverClient) Context

func (fake *DeliverClient) Context() context.Context

func (*DeliverClient) ContextCallCount

func (fake *DeliverClient) ContextCallCount() int

func (*DeliverClient) ContextCalls

func (fake *DeliverClient) ContextCalls(stub func() context.Context)

func (*DeliverClient) ContextReturns

func (fake *DeliverClient) ContextReturns(result1 context.Context)

func (*DeliverClient) ContextReturnsOnCall

func (fake *DeliverClient) ContextReturnsOnCall(i int, result1 context.Context)

func (*DeliverClient) Header

func (fake *DeliverClient) Header() (metadata.MD, error)

func (*DeliverClient) HeaderCallCount

func (fake *DeliverClient) HeaderCallCount() int

func (*DeliverClient) HeaderCalls

func (fake *DeliverClient) HeaderCalls(stub func() (metadata.MD, error))

func (*DeliverClient) HeaderReturns

func (fake *DeliverClient) HeaderReturns(result1 metadata.MD, result2 error)

func (*DeliverClient) HeaderReturnsOnCall

func (fake *DeliverClient) HeaderReturnsOnCall(i int, result1 metadata.MD, result2 error)

func (*DeliverClient) Invocations

func (fake *DeliverClient) Invocations() map[string][][]interface{}

func (*DeliverClient) Recv

func (fake *DeliverClient) Recv() (*orderer.DeliverResponse, error)

func (*DeliverClient) RecvCallCount

func (fake *DeliverClient) RecvCallCount() int

func (*DeliverClient) RecvCalls

func (fake *DeliverClient) RecvCalls(stub func() (*orderer.DeliverResponse, error))

func (*DeliverClient) RecvMsg

func (fake *DeliverClient) RecvMsg(arg1 interface{}) error

func (*DeliverClient) RecvMsgArgsForCall

func (fake *DeliverClient) RecvMsgArgsForCall(i int) interface{}

func (*DeliverClient) RecvMsgCallCount

func (fake *DeliverClient) RecvMsgCallCount() int

func (*DeliverClient) RecvMsgCalls

func (fake *DeliverClient) RecvMsgCalls(stub func(interface{}) error)

func (*DeliverClient) RecvMsgReturns

func (fake *DeliverClient) RecvMsgReturns(result1 error)

func (*DeliverClient) RecvMsgReturnsOnCall

func (fake *DeliverClient) RecvMsgReturnsOnCall(i int, result1 error)

func (*DeliverClient) RecvReturns

func (fake *DeliverClient) RecvReturns(result1 *orderer.DeliverResponse, result2 error)

func (*DeliverClient) RecvReturnsOnCall

func (fake *DeliverClient) RecvReturnsOnCall(i int, result1 *orderer.DeliverResponse, result2 error)

func (*DeliverClient) Send

func (fake *DeliverClient) Send(arg1 *common.Envelope) error

func (*DeliverClient) SendArgsForCall

func (fake *DeliverClient) SendArgsForCall(i int) *common.Envelope

func (*DeliverClient) SendCallCount

func (fake *DeliverClient) SendCallCount() int

func (*DeliverClient) SendCalls

func (fake *DeliverClient) SendCalls(stub func(*common.Envelope) error)

func (*DeliverClient) SendMsg

func (fake *DeliverClient) SendMsg(arg1 interface{}) error

func (*DeliverClient) SendMsgArgsForCall

func (fake *DeliverClient) SendMsgArgsForCall(i int) interface{}

func (*DeliverClient) SendMsgCallCount

func (fake *DeliverClient) SendMsgCallCount() int

func (*DeliverClient) SendMsgCalls

func (fake *DeliverClient) SendMsgCalls(stub func(interface{}) error)

func (*DeliverClient) SendMsgReturns

func (fake *DeliverClient) SendMsgReturns(result1 error)

func (*DeliverClient) SendMsgReturnsOnCall

func (fake *DeliverClient) SendMsgReturnsOnCall(i int, result1 error)

func (*DeliverClient) SendReturns

func (fake *DeliverClient) SendReturns(result1 error)

func (*DeliverClient) SendReturnsOnCall

func (fake *DeliverClient) SendReturnsOnCall(i int, result1 error)

func (*DeliverClient) Trailer

func (fake *DeliverClient) Trailer() metadata.MD

func (*DeliverClient) TrailerCallCount

func (fake *DeliverClient) TrailerCallCount() int

func (*DeliverClient) TrailerCalls

func (fake *DeliverClient) TrailerCalls(stub func() metadata.MD)

func (*DeliverClient) TrailerReturns

func (fake *DeliverClient) TrailerReturns(result1 metadata.MD)

func (*DeliverClient) TrailerReturnsOnCall

func (fake *DeliverClient) TrailerReturnsOnCall(i int, result1 metadata.MD)

type DeliverClientRequester

type DeliverClientRequester struct {
	ConnectStub func(*common.Envelope, *orderers.Endpoint) (orderer.AtomicBroadcast_DeliverClient, func(), error)

	SeekInfoHeadersFromStub func(uint64) (*common.Envelope, error)
	// contains filtered or unexported fields
}

func (*DeliverClientRequester) Connect

func (*DeliverClientRequester) ConnectArgsForCall

func (fake *DeliverClientRequester) ConnectArgsForCall(i int) (*common.Envelope, *orderers.Endpoint)

func (*DeliverClientRequester) ConnectCallCount

func (fake *DeliverClientRequester) ConnectCallCount() int

func (*DeliverClientRequester) ConnectCalls

func (*DeliverClientRequester) ConnectReturns

func (fake *DeliverClientRequester) ConnectReturns(result1 orderer.AtomicBroadcast_DeliverClient, result2 func(), result3 error)

func (*DeliverClientRequester) ConnectReturnsOnCall

func (fake *DeliverClientRequester) ConnectReturnsOnCall(i int, result1 orderer.AtomicBroadcast_DeliverClient, result2 func(), result3 error)

func (*DeliverClientRequester) Invocations

func (fake *DeliverClientRequester) Invocations() map[string][][]interface{}

func (*DeliverClientRequester) SeekInfoHeadersFrom

func (fake *DeliverClientRequester) SeekInfoHeadersFrom(arg1 uint64) (*common.Envelope, error)

func (*DeliverClientRequester) SeekInfoHeadersFromArgsForCall

func (fake *DeliverClientRequester) SeekInfoHeadersFromArgsForCall(i int) uint64

func (*DeliverClientRequester) SeekInfoHeadersFromCallCount

func (fake *DeliverClientRequester) SeekInfoHeadersFromCallCount() int

func (*DeliverClientRequester) SeekInfoHeadersFromCalls

func (fake *DeliverClientRequester) SeekInfoHeadersFromCalls(stub func(uint64) (*common.Envelope, error))

func (*DeliverClientRequester) SeekInfoHeadersFromReturns

func (fake *DeliverClientRequester) SeekInfoHeadersFromReturns(result1 *common.Envelope, result2 error)

func (*DeliverClientRequester) SeekInfoHeadersFromReturnsOnCall

func (fake *DeliverClientRequester) SeekInfoHeadersFromReturnsOnCall(i int, result1 *common.Envelope, result2 error)

type DeliverStreamer

type DeliverStreamer struct {
	DeliverStub func(context.Context, *grpc.ClientConn) (orderer.AtomicBroadcast_DeliverClient, error)
	// contains filtered or unexported fields
}

func (*DeliverStreamer) Deliver

func (*DeliverStreamer) DeliverArgsForCall

func (fake *DeliverStreamer) DeliverArgsForCall(i int) (context.Context, *grpc.ClientConn)

func (*DeliverStreamer) DeliverCallCount

func (fake *DeliverStreamer) DeliverCallCount() int

func (*DeliverStreamer) DeliverCalls

func (*DeliverStreamer) DeliverReturns

func (fake *DeliverStreamer) DeliverReturns(result1 orderer.AtomicBroadcast_DeliverClient, result2 error)

func (*DeliverStreamer) DeliverReturnsOnCall

func (fake *DeliverStreamer) DeliverReturnsOnCall(i int, result1 orderer.AtomicBroadcast_DeliverClient, result2 error)

func (*DeliverStreamer) Invocations

func (fake *DeliverStreamer) Invocations() map[string][][]interface{}

type Dialer

type Dialer struct {
	DialStub func(string, [][]byte) (*grpc.ClientConn, error)
	// contains filtered or unexported fields
}

func (*Dialer) Dial

func (fake *Dialer) Dial(arg1 string, arg2 [][]byte) (*grpc.ClientConn, error)

func (*Dialer) DialArgsForCall

func (fake *Dialer) DialArgsForCall(i int) (string, [][]byte)

func (*Dialer) DialCallCount

func (fake *Dialer) DialCallCount() int

func (*Dialer) DialCalls

func (fake *Dialer) DialCalls(stub func(string, [][]byte) (*grpc.ClientConn, error))

func (*Dialer) DialReturns

func (fake *Dialer) DialReturns(result1 *grpc.ClientConn, result2 error)

func (*Dialer) DialReturnsOnCall

func (fake *Dialer) DialReturnsOnCall(i int, result1 *grpc.ClientConn, result2 error)

func (*Dialer) Invocations

func (fake *Dialer) Invocations() map[string][][]interface{}

type DurationExceededHandler

type DurationExceededHandler struct {
	DurationExceededHandlerStub func() bool
	// contains filtered or unexported fields
}

func (*DurationExceededHandler) DurationExceededHandler

func (fake *DurationExceededHandler) DurationExceededHandler() bool

func (*DurationExceededHandler) DurationExceededHandlerCallCount

func (fake *DurationExceededHandler) DurationExceededHandlerCallCount() int

func (*DurationExceededHandler) DurationExceededHandlerCalls

func (fake *DurationExceededHandler) DurationExceededHandlerCalls(stub func() bool)

func (*DurationExceededHandler) DurationExceededHandlerReturns

func (fake *DurationExceededHandler) DurationExceededHandlerReturns(result1 bool)

func (*DurationExceededHandler) DurationExceededHandlerReturnsOnCall

func (fake *DurationExceededHandler) DurationExceededHandlerReturnsOnCall(i int, result1 bool)

func (*DurationExceededHandler) Invocations

func (fake *DurationExceededHandler) Invocations() map[string][][]interface{}

type GossipServiceAdapter

type GossipServiceAdapter struct {
	AddPayloadStub func(string, *gossip.Payload) error

	GossipStub func(*gossip.GossipMessage)
	// contains filtered or unexported fields
}

func (*GossipServiceAdapter) AddPayload

func (fake *GossipServiceAdapter) AddPayload(arg1 string, arg2 *gossip.Payload) error

func (*GossipServiceAdapter) AddPayloadArgsForCall

func (fake *GossipServiceAdapter) AddPayloadArgsForCall(i int) (string, *gossip.Payload)

func (*GossipServiceAdapter) AddPayloadCallCount

func (fake *GossipServiceAdapter) AddPayloadCallCount() int

func (*GossipServiceAdapter) AddPayloadCalls

func (fake *GossipServiceAdapter) AddPayloadCalls(stub func(string, *gossip.Payload) error)

func (*GossipServiceAdapter) AddPayloadReturns

func (fake *GossipServiceAdapter) AddPayloadReturns(result1 error)

func (*GossipServiceAdapter) AddPayloadReturnsOnCall

func (fake *GossipServiceAdapter) AddPayloadReturnsOnCall(i int, result1 error)

func (*GossipServiceAdapter) Gossip

func (fake *GossipServiceAdapter) Gossip(arg1 *gossip.GossipMessage)

func (*GossipServiceAdapter) GossipArgsForCall

func (fake *GossipServiceAdapter) GossipArgsForCall(i int) *gossip.GossipMessage

func (*GossipServiceAdapter) GossipCallCount

func (fake *GossipServiceAdapter) GossipCallCount() int

func (*GossipServiceAdapter) GossipCalls

func (fake *GossipServiceAdapter) GossipCalls(stub func(*gossip.GossipMessage))

func (*GossipServiceAdapter) Invocations

func (fake *GossipServiceAdapter) Invocations() map[string][][]interface{}

type LedgerInfo

type LedgerInfo struct {
	GetCurrentBlockHashStub func() ([]byte, error)

	LedgerHeightStub func() (uint64, error)
	// contains filtered or unexported fields
}

func (*LedgerInfo) GetCurrentBlockHash

func (fake *LedgerInfo) GetCurrentBlockHash() ([]byte, error)

func (*LedgerInfo) GetCurrentBlockHashCallCount

func (fake *LedgerInfo) GetCurrentBlockHashCallCount() int

func (*LedgerInfo) GetCurrentBlockHashCalls

func (fake *LedgerInfo) GetCurrentBlockHashCalls(stub func() ([]byte, error))

func (*LedgerInfo) GetCurrentBlockHashReturns

func (fake *LedgerInfo) GetCurrentBlockHashReturns(result1 []byte, result2 error)

func (*LedgerInfo) GetCurrentBlockHashReturnsOnCall

func (fake *LedgerInfo) GetCurrentBlockHashReturnsOnCall(i int, result1 []byte, result2 error)

func (*LedgerInfo) Invocations

func (fake *LedgerInfo) Invocations() map[string][][]interface{}

func (*LedgerInfo) LedgerHeight

func (fake *LedgerInfo) LedgerHeight() (uint64, error)

func (*LedgerInfo) LedgerHeightCallCount

func (fake *LedgerInfo) LedgerHeightCallCount() int

func (*LedgerInfo) LedgerHeightCalls

func (fake *LedgerInfo) LedgerHeightCalls(stub func() (uint64, error))

func (*LedgerInfo) LedgerHeightReturns

func (fake *LedgerInfo) LedgerHeightReturns(result1 uint64, result2 error)

func (*LedgerInfo) LedgerHeightReturnsOnCall

func (fake *LedgerInfo) LedgerHeightReturnsOnCall(i int, result1 uint64, result2 error)

type OrdererConnectionSource

type OrdererConnectionSource struct {
	RandomEndpointStub func() (*orderers.Endpoint, error)

	ShuffledEndpointsStub func() []*orderers.Endpoint

	UpdateStub func([]string, map[string]orderers.OrdererOrg)
	// contains filtered or unexported fields
}

func (*OrdererConnectionSource) Invocations

func (fake *OrdererConnectionSource) Invocations() map[string][][]interface{}

func (*OrdererConnectionSource) RandomEndpoint

func (fake *OrdererConnectionSource) RandomEndpoint() (*orderers.Endpoint, error)

func (*OrdererConnectionSource) RandomEndpointCallCount

func (fake *OrdererConnectionSource) RandomEndpointCallCount() int

func (*OrdererConnectionSource) RandomEndpointCalls

func (fake *OrdererConnectionSource) RandomEndpointCalls(stub func() (*orderers.Endpoint, error))

func (*OrdererConnectionSource) RandomEndpointReturns

func (fake *OrdererConnectionSource) RandomEndpointReturns(result1 *orderers.Endpoint, result2 error)

func (*OrdererConnectionSource) RandomEndpointReturnsOnCall

func (fake *OrdererConnectionSource) RandomEndpointReturnsOnCall(i int, result1 *orderers.Endpoint, result2 error)

func (*OrdererConnectionSource) ShuffledEndpoints

func (fake *OrdererConnectionSource) ShuffledEndpoints() []*orderers.Endpoint

func (*OrdererConnectionSource) ShuffledEndpointsCallCount

func (fake *OrdererConnectionSource) ShuffledEndpointsCallCount() int

func (*OrdererConnectionSource) ShuffledEndpointsCalls

func (fake *OrdererConnectionSource) ShuffledEndpointsCalls(stub func() []*orderers.Endpoint)

func (*OrdererConnectionSource) ShuffledEndpointsReturns

func (fake *OrdererConnectionSource) ShuffledEndpointsReturns(result1 []*orderers.Endpoint)

func (*OrdererConnectionSource) ShuffledEndpointsReturnsOnCall

func (fake *OrdererConnectionSource) ShuffledEndpointsReturnsOnCall(i int, result1 []*orderers.Endpoint)

func (*OrdererConnectionSource) Update

func (fake *OrdererConnectionSource) Update(arg1 []string, arg2 map[string]orderers.OrdererOrg)

func (*OrdererConnectionSource) UpdateArgsForCall

func (fake *OrdererConnectionSource) UpdateArgsForCall(i int) ([]string, map[string]orderers.OrdererOrg)

func (*OrdererConnectionSource) UpdateCallCount

func (fake *OrdererConnectionSource) UpdateCallCount() int

func (*OrdererConnectionSource) UpdateCalls

func (fake *OrdererConnectionSource) UpdateCalls(stub func([]string, map[string]orderers.OrdererOrg))

type OrdererConnectionSourceFactory

type OrdererConnectionSourceFactory struct {
	CreateConnectionSourceStub func(*flogging.FabricLogger) orderers.ConnectionSourcer
	// contains filtered or unexported fields
}

func (*OrdererConnectionSourceFactory) CreateConnectionSource

func (*OrdererConnectionSourceFactory) CreateConnectionSourceArgsForCall

func (fake *OrdererConnectionSourceFactory) CreateConnectionSourceArgsForCall(i int) *flogging.FabricLogger

func (*OrdererConnectionSourceFactory) CreateConnectionSourceCallCount

func (fake *OrdererConnectionSourceFactory) CreateConnectionSourceCallCount() int

func (*OrdererConnectionSourceFactory) CreateConnectionSourceCalls

func (fake *OrdererConnectionSourceFactory) CreateConnectionSourceCalls(stub func(*flogging.FabricLogger) orderers.ConnectionSourcer)

func (*OrdererConnectionSourceFactory) CreateConnectionSourceReturns

func (fake *OrdererConnectionSourceFactory) CreateConnectionSourceReturns(result1 orderers.ConnectionSourcer)

func (*OrdererConnectionSourceFactory) CreateConnectionSourceReturnsOnCall

func (fake *OrdererConnectionSourceFactory) CreateConnectionSourceReturnsOnCall(i int, result1 orderers.ConnectionSourcer)

func (*OrdererConnectionSourceFactory) Invocations

func (fake *OrdererConnectionSourceFactory) Invocations() map[string][][]interface{}

type Signer

type Signer struct {
	SerializeStub func() ([]byte, error)

	SignStub func([]byte) ([]byte, error)
	// contains filtered or unexported fields
}

func (*Signer) Invocations

func (fake *Signer) Invocations() map[string][][]interface{}

func (*Signer) Serialize

func (fake *Signer) Serialize() ([]byte, error)

func (*Signer) SerializeCallCount

func (fake *Signer) SerializeCallCount() int

func (*Signer) SerializeCalls

func (fake *Signer) SerializeCalls(stub func() ([]byte, error))

func (*Signer) SerializeReturns

func (fake *Signer) SerializeReturns(result1 []byte, result2 error)

func (*Signer) SerializeReturnsOnCall

func (fake *Signer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*Signer) Sign

func (fake *Signer) Sign(arg1 []byte) ([]byte, error)

func (*Signer) SignArgsForCall

func (fake *Signer) SignArgsForCall(i int) []byte

func (*Signer) SignCallCount

func (fake *Signer) SignCallCount() int

func (*Signer) SignCalls

func (fake *Signer) SignCalls(stub func([]byte) ([]byte, error))

func (*Signer) SignReturns

func (fake *Signer) SignReturns(result1 []byte, result2 error)

func (*Signer) SignReturnsOnCall

func (fake *Signer) SignReturnsOnCall(i int, result1 []byte, result2 error)

type Sleeper

type Sleeper struct {
	SleepStub func(time.Duration)
	// contains filtered or unexported fields
}

func (*Sleeper) Invocations

func (fake *Sleeper) Invocations() map[string][][]interface{}

func (*Sleeper) Sleep

func (fake *Sleeper) Sleep(arg1 time.Duration)

func (*Sleeper) SleepArgsForCall

func (fake *Sleeper) SleepArgsForCall(i int) time.Duration

func (*Sleeper) SleepCallCount

func (fake *Sleeper) SleepCallCount() int

func (*Sleeper) SleepCalls

func (fake *Sleeper) SleepCalls(stub func(time.Duration))

type UpdatableBlockVerifier

type UpdatableBlockVerifier struct {
	CloneStub func() deliverclient.CloneableUpdatableBlockVerifier

	UpdateBlockHeaderStub func(*common.Block)

	UpdateConfigStub func(*common.Block) error

	VerifyBlockStub func(*common.Block) error

	VerifyBlockAttestationStub func(*common.Block) error
	// contains filtered or unexported fields
}

func (*UpdatableBlockVerifier) Clone

func (*UpdatableBlockVerifier) CloneCallCount

func (fake *UpdatableBlockVerifier) CloneCallCount() int

func (*UpdatableBlockVerifier) CloneCalls

func (*UpdatableBlockVerifier) CloneReturns

func (*UpdatableBlockVerifier) CloneReturnsOnCall

func (fake *UpdatableBlockVerifier) CloneReturnsOnCall(i int, result1 deliverclient.CloneableUpdatableBlockVerifier)

func (*UpdatableBlockVerifier) Invocations

func (fake *UpdatableBlockVerifier) Invocations() map[string][][]interface{}

func (*UpdatableBlockVerifier) UpdateBlockHeader

func (fake *UpdatableBlockVerifier) UpdateBlockHeader(arg1 *common.Block)

func (*UpdatableBlockVerifier) UpdateBlockHeaderArgsForCall

func (fake *UpdatableBlockVerifier) UpdateBlockHeaderArgsForCall(i int) *common.Block

func (*UpdatableBlockVerifier) UpdateBlockHeaderCallCount

func (fake *UpdatableBlockVerifier) UpdateBlockHeaderCallCount() int

func (*UpdatableBlockVerifier) UpdateBlockHeaderCalls

func (fake *UpdatableBlockVerifier) UpdateBlockHeaderCalls(stub func(*common.Block))

func (*UpdatableBlockVerifier) UpdateConfig

func (fake *UpdatableBlockVerifier) UpdateConfig(arg1 *common.Block) error

func (*UpdatableBlockVerifier) UpdateConfigArgsForCall

func (fake *UpdatableBlockVerifier) UpdateConfigArgsForCall(i int) *common.Block

func (*UpdatableBlockVerifier) UpdateConfigCallCount

func (fake *UpdatableBlockVerifier) UpdateConfigCallCount() int

func (*UpdatableBlockVerifier) UpdateConfigCalls

func (fake *UpdatableBlockVerifier) UpdateConfigCalls(stub func(*common.Block) error)

func (*UpdatableBlockVerifier) UpdateConfigReturns

func (fake *UpdatableBlockVerifier) UpdateConfigReturns(result1 error)

func (*UpdatableBlockVerifier) UpdateConfigReturnsOnCall

func (fake *UpdatableBlockVerifier) UpdateConfigReturnsOnCall(i int, result1 error)

func (*UpdatableBlockVerifier) VerifyBlock

func (fake *UpdatableBlockVerifier) VerifyBlock(arg1 *common.Block) error

func (*UpdatableBlockVerifier) VerifyBlockArgsForCall

func (fake *UpdatableBlockVerifier) VerifyBlockArgsForCall(i int) *common.Block

func (*UpdatableBlockVerifier) VerifyBlockAttestation

func (fake *UpdatableBlockVerifier) VerifyBlockAttestation(arg1 *common.Block) error

func (*UpdatableBlockVerifier) VerifyBlockAttestationArgsForCall

func (fake *UpdatableBlockVerifier) VerifyBlockAttestationArgsForCall(i int) *common.Block

func (*UpdatableBlockVerifier) VerifyBlockAttestationCallCount

func (fake *UpdatableBlockVerifier) VerifyBlockAttestationCallCount() int

func (*UpdatableBlockVerifier) VerifyBlockAttestationCalls

func (fake *UpdatableBlockVerifier) VerifyBlockAttestationCalls(stub func(*common.Block) error)

func (*UpdatableBlockVerifier) VerifyBlockAttestationReturns

func (fake *UpdatableBlockVerifier) VerifyBlockAttestationReturns(result1 error)

func (*UpdatableBlockVerifier) VerifyBlockAttestationReturnsOnCall

func (fake *UpdatableBlockVerifier) VerifyBlockAttestationReturnsOnCall(i int, result1 error)

func (*UpdatableBlockVerifier) VerifyBlockCallCount

func (fake *UpdatableBlockVerifier) VerifyBlockCallCount() int

func (*UpdatableBlockVerifier) VerifyBlockCalls

func (fake *UpdatableBlockVerifier) VerifyBlockCalls(stub func(*common.Block) error)

func (*UpdatableBlockVerifier) VerifyBlockReturns

func (fake *UpdatableBlockVerifier) VerifyBlockReturns(result1 error)

func (*UpdatableBlockVerifier) VerifyBlockReturnsOnCall

func (fake *UpdatableBlockVerifier) VerifyBlockReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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