mocks

package
v0.0.0-...-b544036 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 14 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ABBClient

type ABBClient struct {
	CloseSendStub func() error

	ContextStub func() context.Context

	HeaderStub func() (metadata.MD, error)

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

	RecvMsgStub func(interface{}) error

	SendStub func(*common.Envelope) error

	SendMsgStub func(interface{}) error

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

func (*ABBClient) CloseSend

func (fake *ABBClient) CloseSend() error

func (*ABBClient) CloseSendCallCount

func (fake *ABBClient) CloseSendCallCount() int

func (*ABBClient) CloseSendCalls

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

func (*ABBClient) CloseSendReturns

func (fake *ABBClient) CloseSendReturns(result1 error)

func (*ABBClient) CloseSendReturnsOnCall

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

func (*ABBClient) Context

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

func (*ABBClient) ContextCallCount

func (fake *ABBClient) ContextCallCount() int

func (*ABBClient) ContextCalls

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

func (*ABBClient) ContextReturns

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

func (*ABBClient) ContextReturnsOnCall

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

func (*ABBClient) Header

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

func (*ABBClient) HeaderCallCount

func (fake *ABBClient) HeaderCallCount() int

func (*ABBClient) HeaderCalls

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

func (*ABBClient) HeaderReturns

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

func (*ABBClient) HeaderReturnsOnCall

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

func (*ABBClient) Invocations

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

func (*ABBClient) Recv

func (fake *ABBClient) Recv() (*orderer.BroadcastResponse, error)

func (*ABBClient) RecvCallCount

func (fake *ABBClient) RecvCallCount() int

func (*ABBClient) RecvCalls

func (fake *ABBClient) RecvCalls(stub func() (*orderer.BroadcastResponse, error))

func (*ABBClient) RecvMsg

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

func (*ABBClient) RecvMsgArgsForCall

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

func (*ABBClient) RecvMsgCallCount

func (fake *ABBClient) RecvMsgCallCount() int

func (*ABBClient) RecvMsgCalls

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

func (*ABBClient) RecvMsgReturns

func (fake *ABBClient) RecvMsgReturns(result1 error)

func (*ABBClient) RecvMsgReturnsOnCall

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

func (*ABBClient) RecvReturns

func (fake *ABBClient) RecvReturns(result1 *orderer.BroadcastResponse, result2 error)

func (*ABBClient) RecvReturnsOnCall

func (fake *ABBClient) RecvReturnsOnCall(i int, result1 *orderer.BroadcastResponse, result2 error)

func (*ABBClient) Send

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

func (*ABBClient) SendArgsForCall

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

func (*ABBClient) SendCallCount

func (fake *ABBClient) SendCallCount() int

func (*ABBClient) SendCalls

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

func (*ABBClient) SendMsg

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

func (*ABBClient) SendMsgArgsForCall

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

func (*ABBClient) SendMsgCallCount

func (fake *ABBClient) SendMsgCallCount() int

func (*ABBClient) SendMsgCalls

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

func (*ABBClient) SendMsgReturns

func (fake *ABBClient) SendMsgReturns(result1 error)

func (*ABBClient) SendMsgReturnsOnCall

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

func (*ABBClient) SendReturns

func (fake *ABBClient) SendReturns(result1 error)

func (*ABBClient) SendReturnsOnCall

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

func (*ABBClient) Trailer

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

func (*ABBClient) TrailerCallCount

func (fake *ABBClient) TrailerCallCount() int

func (*ABBClient) TrailerCalls

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

func (*ABBClient) TrailerReturns

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

func (*ABBClient) TrailerReturnsOnCall

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

type ABClient

type ABClient struct {
	BroadcastStub func(context.Context, ...grpc.CallOption) (orderer.AtomicBroadcast_BroadcastClient, error)

	DeliverStub func(context.Context, ...grpc.CallOption) (orderer.AtomicBroadcast_DeliverClient, error)
	// contains filtered or unexported fields
}

func (*ABClient) Broadcast

func (*ABClient) BroadcastArgsForCall

func (fake *ABClient) BroadcastArgsForCall(i int) (context.Context, []grpc.CallOption)

func (*ABClient) BroadcastCallCount

func (fake *ABClient) BroadcastCallCount() int

func (*ABClient) BroadcastCalls

func (fake *ABClient) BroadcastCalls(stub func(context.Context, ...grpc.CallOption) (orderer.AtomicBroadcast_BroadcastClient, error))

func (*ABClient) BroadcastReturns

func (fake *ABClient) BroadcastReturns(result1 orderer.AtomicBroadcast_BroadcastClient, result2 error)

func (*ABClient) BroadcastReturnsOnCall

func (fake *ABClient) BroadcastReturnsOnCall(i int, result1 orderer.AtomicBroadcast_BroadcastClient, result2 error)

func (*ABClient) Deliver

func (*ABClient) DeliverArgsForCall

func (fake *ABClient) DeliverArgsForCall(i int) (context.Context, []grpc.CallOption)

func (*ABClient) DeliverCallCount

func (fake *ABClient) DeliverCallCount() int

func (*ABClient) DeliverCalls

func (fake *ABClient) DeliverCalls(stub func(context.Context, ...grpc.CallOption) (orderer.AtomicBroadcast_DeliverClient, error))

func (*ABClient) DeliverReturns

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

func (*ABClient) DeliverReturnsOnCall

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

func (*ABClient) Invocations

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

type ACLChecker

type ACLChecker struct {
	CheckACLStub func(string, string, interface{}) error
	// contains filtered or unexported fields
}

func (*ACLChecker) CheckACL

func (fake *ACLChecker) CheckACL(arg1 string, arg2 string, arg3 interface{}) error

func (*ACLChecker) CheckACLArgsForCall

func (fake *ACLChecker) CheckACLArgsForCall(i int) (string, string, interface{})

func (*ACLChecker) CheckACLCallCount

func (fake *ACLChecker) CheckACLCallCount() int

func (*ACLChecker) CheckACLCalls

func (fake *ACLChecker) CheckACLCalls(stub func(string, string, interface{}) error)

func (*ACLChecker) CheckACLReturns

func (fake *ACLChecker) CheckACLReturns(result1 error)

func (*ACLChecker) CheckACLReturnsOnCall

func (fake *ACLChecker) CheckACLReturnsOnCall(i int, result1 error)

func (*ACLChecker) Invocations

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

type ChaincodeEventsServer

type ChaincodeEventsServer struct {
	ContextStub func() context.Context

	RecvMsgStub func(interface{}) error

	SendStub func(*gateway.ChaincodeEventsResponse) error

	SendHeaderStub func(metadata.MD) error

	SendMsgStub func(interface{}) error

	SetHeaderStub func(metadata.MD) error

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

func (*ChaincodeEventsServer) Context

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

func (*ChaincodeEventsServer) ContextCallCount

func (fake *ChaincodeEventsServer) ContextCallCount() int

func (*ChaincodeEventsServer) ContextCalls

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

func (*ChaincodeEventsServer) ContextReturns

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

func (*ChaincodeEventsServer) ContextReturnsOnCall

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

func (*ChaincodeEventsServer) Invocations

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

func (*ChaincodeEventsServer) RecvMsg

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

func (*ChaincodeEventsServer) RecvMsgArgsForCall

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

func (*ChaincodeEventsServer) RecvMsgCallCount

func (fake *ChaincodeEventsServer) RecvMsgCallCount() int

func (*ChaincodeEventsServer) RecvMsgCalls

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

func (*ChaincodeEventsServer) RecvMsgReturns

func (fake *ChaincodeEventsServer) RecvMsgReturns(result1 error)

func (*ChaincodeEventsServer) RecvMsgReturnsOnCall

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

func (*ChaincodeEventsServer) Send

func (*ChaincodeEventsServer) SendArgsForCall

func (fake *ChaincodeEventsServer) SendArgsForCall(i int) *gateway.ChaincodeEventsResponse

func (*ChaincodeEventsServer) SendCallCount

func (fake *ChaincodeEventsServer) SendCallCount() int

func (*ChaincodeEventsServer) SendCalls

func (fake *ChaincodeEventsServer) SendCalls(stub func(*gateway.ChaincodeEventsResponse) error)

func (*ChaincodeEventsServer) SendHeader

func (fake *ChaincodeEventsServer) SendHeader(arg1 metadata.MD) error

func (*ChaincodeEventsServer) SendHeaderArgsForCall

func (fake *ChaincodeEventsServer) SendHeaderArgsForCall(i int) metadata.MD

func (*ChaincodeEventsServer) SendHeaderCallCount

func (fake *ChaincodeEventsServer) SendHeaderCallCount() int

func (*ChaincodeEventsServer) SendHeaderCalls

func (fake *ChaincodeEventsServer) SendHeaderCalls(stub func(metadata.MD) error)

func (*ChaincodeEventsServer) SendHeaderReturns

func (fake *ChaincodeEventsServer) SendHeaderReturns(result1 error)

func (*ChaincodeEventsServer) SendHeaderReturnsOnCall

func (fake *ChaincodeEventsServer) SendHeaderReturnsOnCall(i int, result1 error)

func (*ChaincodeEventsServer) SendMsg

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

func (*ChaincodeEventsServer) SendMsgArgsForCall

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

func (*ChaincodeEventsServer) SendMsgCallCount

func (fake *ChaincodeEventsServer) SendMsgCallCount() int

func (*ChaincodeEventsServer) SendMsgCalls

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

func (*ChaincodeEventsServer) SendMsgReturns

func (fake *ChaincodeEventsServer) SendMsgReturns(result1 error)

func (*ChaincodeEventsServer) SendMsgReturnsOnCall

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

func (*ChaincodeEventsServer) SendReturns

func (fake *ChaincodeEventsServer) SendReturns(result1 error)

func (*ChaincodeEventsServer) SendReturnsOnCall

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

func (*ChaincodeEventsServer) SetHeader

func (fake *ChaincodeEventsServer) SetHeader(arg1 metadata.MD) error

func (*ChaincodeEventsServer) SetHeaderArgsForCall

func (fake *ChaincodeEventsServer) SetHeaderArgsForCall(i int) metadata.MD

func (*ChaincodeEventsServer) SetHeaderCallCount

func (fake *ChaincodeEventsServer) SetHeaderCallCount() int

func (*ChaincodeEventsServer) SetHeaderCalls

func (fake *ChaincodeEventsServer) SetHeaderCalls(stub func(metadata.MD) error)

func (*ChaincodeEventsServer) SetHeaderReturns

func (fake *ChaincodeEventsServer) SetHeaderReturns(result1 error)

func (*ChaincodeEventsServer) SetHeaderReturnsOnCall

func (fake *ChaincodeEventsServer) SetHeaderReturnsOnCall(i int, result1 error)

func (*ChaincodeEventsServer) SetTrailer

func (fake *ChaincodeEventsServer) SetTrailer(arg1 metadata.MD)

func (*ChaincodeEventsServer) SetTrailerArgsForCall

func (fake *ChaincodeEventsServer) SetTrailerArgsForCall(i int) metadata.MD

func (*ChaincodeEventsServer) SetTrailerCallCount

func (fake *ChaincodeEventsServer) SetTrailerCallCount() int

func (*ChaincodeEventsServer) SetTrailerCalls

func (fake *ChaincodeEventsServer) SetTrailerCalls(stub func(metadata.MD))

type CommitFinder

type CommitFinder struct {
	TransactionStatusStub func(context.Context, string, string) (*commit.Status, error)
	// contains filtered or unexported fields
}

func (*CommitFinder) Invocations

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

func (*CommitFinder) TransactionStatus

func (fake *CommitFinder) TransactionStatus(arg1 context.Context, arg2 string, arg3 string) (*commit.Status, error)

func (*CommitFinder) TransactionStatusArgsForCall

func (fake *CommitFinder) TransactionStatusArgsForCall(i int) (context.Context, string, string)

func (*CommitFinder) TransactionStatusCallCount

func (fake *CommitFinder) TransactionStatusCallCount() int

func (*CommitFinder) TransactionStatusCalls

func (fake *CommitFinder) TransactionStatusCalls(stub func(context.Context, string, string) (*commit.Status, error))

func (*CommitFinder) TransactionStatusReturns

func (fake *CommitFinder) TransactionStatusReturns(result1 *commit.Status, result2 error)

func (*CommitFinder) TransactionStatusReturnsOnCall

func (fake *CommitFinder) TransactionStatusReturnsOnCall(i int, result1 *commit.Status, result2 error)

type Dialer

type Dialer struct {
	Stub func(context.Context, string, ...grpc.DialOption) (*grpc.ClientConn, error)
	// contains filtered or unexported fields
}

func (*Dialer) ArgsForCall

func (fake *Dialer) ArgsForCall(i int) (context.Context, string, []grpc.DialOption)

func (*Dialer) CallCount

func (fake *Dialer) CallCount() int

func (*Dialer) Calls

func (fake *Dialer) Calls(stub func(context.Context, string, ...grpc.DialOption) (*grpc.ClientConn, error))

func (*Dialer) Invocations

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

func (*Dialer) Returns

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

func (*Dialer) ReturnsOnCall

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

func (*Dialer) Spy

func (fake *Dialer) Spy(arg1 context.Context, arg2 string, arg3 ...grpc.DialOption) (*grpc.ClientConn, error)

type Discovery

type Discovery struct {
	ConfigStub func(string) (*discovery.ConfigResult, error)

	IdentityInfoStub func() api.PeerIdentitySet

	PeersForEndorsementStub func(common.ChannelID, *peer.ChaincodeInterest) (*discovery.EndorsementDescriptor, error)

	PeersOfChannelStub func(common.ChannelID) discoverya.Members
	// contains filtered or unexported fields
}

func (*Discovery) Config

func (fake *Discovery) Config(arg1 string) (*discovery.ConfigResult, error)

func (*Discovery) ConfigArgsForCall

func (fake *Discovery) ConfigArgsForCall(i int) string

func (*Discovery) ConfigCallCount

func (fake *Discovery) ConfigCallCount() int

func (*Discovery) ConfigCalls

func (fake *Discovery) ConfigCalls(stub func(string) (*discovery.ConfigResult, error))

func (*Discovery) ConfigReturns

func (fake *Discovery) ConfigReturns(result1 *discovery.ConfigResult, result2 error)

func (*Discovery) ConfigReturnsOnCall

func (fake *Discovery) ConfigReturnsOnCall(i int, result1 *discovery.ConfigResult, result2 error)

func (*Discovery) IdentityInfo

func (fake *Discovery) IdentityInfo() api.PeerIdentitySet

func (*Discovery) IdentityInfoCallCount

func (fake *Discovery) IdentityInfoCallCount() int

func (*Discovery) IdentityInfoCalls

func (fake *Discovery) IdentityInfoCalls(stub func() api.PeerIdentitySet)

func (*Discovery) IdentityInfoReturns

func (fake *Discovery) IdentityInfoReturns(result1 api.PeerIdentitySet)

func (*Discovery) IdentityInfoReturnsOnCall

func (fake *Discovery) IdentityInfoReturnsOnCall(i int, result1 api.PeerIdentitySet)

func (*Discovery) Invocations

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

func (*Discovery) PeersForEndorsement

func (fake *Discovery) PeersForEndorsement(arg1 common.ChannelID, arg2 *peer.ChaincodeInterest) (*discovery.EndorsementDescriptor, error)

func (*Discovery) PeersForEndorsementArgsForCall

func (fake *Discovery) PeersForEndorsementArgsForCall(i int) (common.ChannelID, *peer.ChaincodeInterest)

func (*Discovery) PeersForEndorsementCallCount

func (fake *Discovery) PeersForEndorsementCallCount() int

func (*Discovery) PeersForEndorsementCalls

func (fake *Discovery) PeersForEndorsementCalls(stub func(common.ChannelID, *peer.ChaincodeInterest) (*discovery.EndorsementDescriptor, error))

func (*Discovery) PeersForEndorsementReturns

func (fake *Discovery) PeersForEndorsementReturns(result1 *discovery.EndorsementDescriptor, result2 error)

func (*Discovery) PeersForEndorsementReturnsOnCall

func (fake *Discovery) PeersForEndorsementReturnsOnCall(i int, result1 *discovery.EndorsementDescriptor, result2 error)

func (*Discovery) PeersOfChannel

func (fake *Discovery) PeersOfChannel(arg1 common.ChannelID) discoverya.Members

func (*Discovery) PeersOfChannelArgsForCall

func (fake *Discovery) PeersOfChannelArgsForCall(i int) common.ChannelID

func (*Discovery) PeersOfChannelCallCount

func (fake *Discovery) PeersOfChannelCallCount() int

func (*Discovery) PeersOfChannelCalls

func (fake *Discovery) PeersOfChannelCalls(stub func(common.ChannelID) discoverya.Members)

func (*Discovery) PeersOfChannelReturns

func (fake *Discovery) PeersOfChannelReturns(result1 discoverya.Members)

func (*Discovery) PeersOfChannelReturnsOnCall

func (fake *Discovery) PeersOfChannelReturnsOnCall(i int, result1 discoverya.Members)

type EndorserClient

type EndorserClient struct {
	ProcessProposalStub func(context.Context, *peer.SignedProposal, ...grpc.CallOption) (*peer.ProposalResponse, error)
	// contains filtered or unexported fields
}

func (*EndorserClient) Invocations

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

func (*EndorserClient) ProcessProposal

func (fake *EndorserClient) ProcessProposal(arg1 context.Context, arg2 *peer.SignedProposal, arg3 ...grpc.CallOption) (*peer.ProposalResponse, error)

func (*EndorserClient) ProcessProposalArgsForCall

func (fake *EndorserClient) ProcessProposalArgsForCall(i int) (context.Context, *peer.SignedProposal, []grpc.CallOption)

func (*EndorserClient) ProcessProposalCallCount

func (fake *EndorserClient) ProcessProposalCallCount() int

func (*EndorserClient) ProcessProposalCalls

func (fake *EndorserClient) ProcessProposalCalls(stub func(context.Context, *peer.SignedProposal, ...grpc.CallOption) (*peer.ProposalResponse, error))

func (*EndorserClient) ProcessProposalReturns

func (fake *EndorserClient) ProcessProposalReturns(result1 *peer.ProposalResponse, result2 error)

func (*EndorserClient) ProcessProposalReturnsOnCall

func (fake *EndorserClient) ProcessProposalReturnsOnCall(i int, result1 *peer.ProposalResponse, result2 error)

type Ledger

type Ledger struct {
	CloseStub func()

	GetBlockByNumberStub func(uint64) (*common.Block, error)

	GetBlockchainInfoStub func() (*common.BlockchainInfo, error)

	GetBlocksIteratorStub func(uint64) (ledger.ResultsIterator, error)
	// contains filtered or unexported fields
}

func (*Ledger) Close

func (fake *Ledger) Close()

func (*Ledger) CloseCallCount

func (fake *Ledger) CloseCallCount() int

func (*Ledger) CloseCalls

func (fake *Ledger) CloseCalls(stub func())

func (*Ledger) GetBlockByNumber

func (fake *Ledger) GetBlockByNumber(arg1 uint64) (*common.Block, error)

func (*Ledger) GetBlockByNumberArgsForCall

func (fake *Ledger) GetBlockByNumberArgsForCall(i int) uint64

func (*Ledger) GetBlockByNumberCallCount

func (fake *Ledger) GetBlockByNumberCallCount() int

func (*Ledger) GetBlockByNumberCalls

func (fake *Ledger) GetBlockByNumberCalls(stub func(uint64) (*common.Block, error))

func (*Ledger) GetBlockByNumberReturns

func (fake *Ledger) GetBlockByNumberReturns(result1 *common.Block, result2 error)

func (*Ledger) GetBlockByNumberReturnsOnCall

func (fake *Ledger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)

func (*Ledger) GetBlockchainInfo

func (fake *Ledger) GetBlockchainInfo() (*common.BlockchainInfo, error)

func (*Ledger) GetBlockchainInfoCallCount

func (fake *Ledger) GetBlockchainInfoCallCount() int

func (*Ledger) GetBlockchainInfoCalls

func (fake *Ledger) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))

func (*Ledger) GetBlockchainInfoReturns

func (fake *Ledger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)

func (*Ledger) GetBlockchainInfoReturnsOnCall

func (fake *Ledger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)

func (*Ledger) GetBlocksIterator

func (fake *Ledger) GetBlocksIterator(arg1 uint64) (ledger.ResultsIterator, error)

func (*Ledger) GetBlocksIteratorArgsForCall

func (fake *Ledger) GetBlocksIteratorArgsForCall(i int) uint64

func (*Ledger) GetBlocksIteratorCallCount

func (fake *Ledger) GetBlocksIteratorCallCount() int

func (*Ledger) GetBlocksIteratorCalls

func (fake *Ledger) GetBlocksIteratorCalls(stub func(uint64) (ledger.ResultsIterator, error))

func (*Ledger) GetBlocksIteratorReturns

func (fake *Ledger) GetBlocksIteratorReturns(result1 ledger.ResultsIterator, result2 error)

func (*Ledger) GetBlocksIteratorReturnsOnCall

func (fake *Ledger) GetBlocksIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)

func (*Ledger) Invocations

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

type LedgerProvider

type LedgerProvider struct {
	LedgerStub func(string) (ledger.Ledger, error)
	// contains filtered or unexported fields
}

func (*LedgerProvider) Invocations

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

func (*LedgerProvider) Ledger

func (fake *LedgerProvider) Ledger(arg1 string) (ledger.Ledger, error)

func (*LedgerProvider) LedgerArgsForCall

func (fake *LedgerProvider) LedgerArgsForCall(i int) string

func (*LedgerProvider) LedgerCallCount

func (fake *LedgerProvider) LedgerCallCount() int

func (*LedgerProvider) LedgerCalls

func (fake *LedgerProvider) LedgerCalls(stub func(string) (ledger.Ledger, error))

func (*LedgerProvider) LedgerReturns

func (fake *LedgerProvider) LedgerReturns(result1 ledger.Ledger, result2 error)

func (*LedgerProvider) LedgerReturnsOnCall

func (fake *LedgerProvider) LedgerReturnsOnCall(i int, result1 ledger.Ledger, result2 error)

type ResultsIterator

type ResultsIterator struct {
	CloseStub func()

	NextStub func() (ledger.QueryResult, error)
	// contains filtered or unexported fields
}

func (*ResultsIterator) Close

func (fake *ResultsIterator) Close()

func (*ResultsIterator) CloseCallCount

func (fake *ResultsIterator) CloseCallCount() int

func (*ResultsIterator) CloseCalls

func (fake *ResultsIterator) CloseCalls(stub func())

func (*ResultsIterator) Invocations

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

func (*ResultsIterator) Next

func (fake *ResultsIterator) Next() (ledger.QueryResult, error)

func (*ResultsIterator) NextCallCount

func (fake *ResultsIterator) NextCallCount() int

func (*ResultsIterator) NextCalls

func (fake *ResultsIterator) NextCalls(stub func() (ledger.QueryResult, error))

func (*ResultsIterator) NextReturns

func (fake *ResultsIterator) NextReturns(result1 ledger.QueryResult, result2 error)

func (*ResultsIterator) NextReturnsOnCall

func (fake *ResultsIterator) NextReturnsOnCall(i int, result1 ledger.QueryResult, result2 error)

Jump to

Keyboard shortcuts

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