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 ¶
- type ABBClient
- func (fake *ABBClient) CloseSend() error
- func (fake *ABBClient) CloseSendCallCount() int
- func (fake *ABBClient) CloseSendCalls(stub func() error)
- func (fake *ABBClient) CloseSendReturns(result1 error)
- func (fake *ABBClient) CloseSendReturnsOnCall(i int, result1 error)
- func (fake *ABBClient) Context() context.Context
- func (fake *ABBClient) ContextCallCount() int
- func (fake *ABBClient) ContextCalls(stub func() context.Context)
- func (fake *ABBClient) ContextReturns(result1 context.Context)
- func (fake *ABBClient) ContextReturnsOnCall(i int, result1 context.Context)
- func (fake *ABBClient) Header() (metadata.MD, error)
- func (fake *ABBClient) HeaderCallCount() int
- func (fake *ABBClient) HeaderCalls(stub func() (metadata.MD, error))
- func (fake *ABBClient) HeaderReturns(result1 metadata.MD, result2 error)
- func (fake *ABBClient) HeaderReturnsOnCall(i int, result1 metadata.MD, result2 error)
- func (fake *ABBClient) Invocations() map[string][][]interface{}
- func (fake *ABBClient) Recv() (*orderer.BroadcastResponse, error)
- func (fake *ABBClient) RecvCallCount() int
- func (fake *ABBClient) RecvCalls(stub func() (*orderer.BroadcastResponse, error))
- func (fake *ABBClient) RecvMsg(arg1 interface{}) error
- func (fake *ABBClient) RecvMsgArgsForCall(i int) interface{}
- func (fake *ABBClient) RecvMsgCallCount() int
- func (fake *ABBClient) RecvMsgCalls(stub func(interface{}) error)
- func (fake *ABBClient) RecvMsgReturns(result1 error)
- func (fake *ABBClient) RecvMsgReturnsOnCall(i int, result1 error)
- func (fake *ABBClient) RecvReturns(result1 *orderer.BroadcastResponse, result2 error)
- func (fake *ABBClient) RecvReturnsOnCall(i int, result1 *orderer.BroadcastResponse, result2 error)
- func (fake *ABBClient) Send(arg1 *common.Envelope) error
- func (fake *ABBClient) SendArgsForCall(i int) *common.Envelope
- func (fake *ABBClient) SendCallCount() int
- func (fake *ABBClient) SendCalls(stub func(*common.Envelope) error)
- func (fake *ABBClient) SendMsg(arg1 interface{}) error
- func (fake *ABBClient) SendMsgArgsForCall(i int) interface{}
- func (fake *ABBClient) SendMsgCallCount() int
- func (fake *ABBClient) SendMsgCalls(stub func(interface{}) error)
- func (fake *ABBClient) SendMsgReturns(result1 error)
- func (fake *ABBClient) SendMsgReturnsOnCall(i int, result1 error)
- func (fake *ABBClient) SendReturns(result1 error)
- func (fake *ABBClient) SendReturnsOnCall(i int, result1 error)
- func (fake *ABBClient) Trailer() metadata.MD
- func (fake *ABBClient) TrailerCallCount() int
- func (fake *ABBClient) TrailerCalls(stub func() metadata.MD)
- func (fake *ABBClient) TrailerReturns(result1 metadata.MD)
- func (fake *ABBClient) TrailerReturnsOnCall(i int, result1 metadata.MD)
- type ABClient
- func (fake *ABClient) Broadcast(arg1 context.Context, arg2 ...grpc.CallOption) (orderer.AtomicBroadcast_BroadcastClient, error)
- func (fake *ABClient) BroadcastArgsForCall(i int) (context.Context, []grpc.CallOption)
- func (fake *ABClient) BroadcastCallCount() int
- func (fake *ABClient) BroadcastCalls(...)
- func (fake *ABClient) BroadcastReturns(result1 orderer.AtomicBroadcast_BroadcastClient, result2 error)
- func (fake *ABClient) BroadcastReturnsOnCall(i int, result1 orderer.AtomicBroadcast_BroadcastClient, result2 error)
- func (fake *ABClient) Deliver(arg1 context.Context, arg2 ...grpc.CallOption) (orderer.AtomicBroadcast_DeliverClient, error)
- func (fake *ABClient) DeliverArgsForCall(i int) (context.Context, []grpc.CallOption)
- func (fake *ABClient) DeliverCallCount() int
- func (fake *ABClient) DeliverCalls(...)
- func (fake *ABClient) DeliverReturns(result1 orderer.AtomicBroadcast_DeliverClient, result2 error)
- func (fake *ABClient) DeliverReturnsOnCall(i int, result1 orderer.AtomicBroadcast_DeliverClient, result2 error)
- func (fake *ABClient) Invocations() map[string][][]interface{}
- type ACLChecker
- func (fake *ACLChecker) CheckACL(arg1 string, arg2 string, arg3 interface{}) error
- func (fake *ACLChecker) CheckACLArgsForCall(i int) (string, string, interface{})
- func (fake *ACLChecker) CheckACLCallCount() int
- func (fake *ACLChecker) CheckACLCalls(stub func(string, string, interface{}) error)
- func (fake *ACLChecker) CheckACLReturns(result1 error)
- func (fake *ACLChecker) CheckACLReturnsOnCall(i int, result1 error)
- func (fake *ACLChecker) Invocations() map[string][][]interface{}
- type ChaincodeEventsServer
- func (fake *ChaincodeEventsServer) Context() context.Context
- func (fake *ChaincodeEventsServer) ContextCallCount() int
- func (fake *ChaincodeEventsServer) ContextCalls(stub func() context.Context)
- func (fake *ChaincodeEventsServer) ContextReturns(result1 context.Context)
- func (fake *ChaincodeEventsServer) ContextReturnsOnCall(i int, result1 context.Context)
- func (fake *ChaincodeEventsServer) Invocations() map[string][][]interface{}
- func (fake *ChaincodeEventsServer) RecvMsg(arg1 interface{}) error
- func (fake *ChaincodeEventsServer) RecvMsgArgsForCall(i int) interface{}
- func (fake *ChaincodeEventsServer) RecvMsgCallCount() int
- func (fake *ChaincodeEventsServer) RecvMsgCalls(stub func(interface{}) error)
- func (fake *ChaincodeEventsServer) RecvMsgReturns(result1 error)
- func (fake *ChaincodeEventsServer) RecvMsgReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeEventsServer) Send(arg1 *gateway.ChaincodeEventsResponse) error
- func (fake *ChaincodeEventsServer) SendArgsForCall(i int) *gateway.ChaincodeEventsResponse
- func (fake *ChaincodeEventsServer) SendCallCount() int
- func (fake *ChaincodeEventsServer) SendCalls(stub func(*gateway.ChaincodeEventsResponse) error)
- func (fake *ChaincodeEventsServer) SendHeader(arg1 metadata.MD) error
- func (fake *ChaincodeEventsServer) SendHeaderArgsForCall(i int) metadata.MD
- func (fake *ChaincodeEventsServer) SendHeaderCallCount() int
- func (fake *ChaincodeEventsServer) SendHeaderCalls(stub func(metadata.MD) error)
- func (fake *ChaincodeEventsServer) SendHeaderReturns(result1 error)
- func (fake *ChaincodeEventsServer) SendHeaderReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeEventsServer) SendMsg(arg1 interface{}) error
- func (fake *ChaincodeEventsServer) SendMsgArgsForCall(i int) interface{}
- func (fake *ChaincodeEventsServer) SendMsgCallCount() int
- func (fake *ChaincodeEventsServer) SendMsgCalls(stub func(interface{}) error)
- func (fake *ChaincodeEventsServer) SendMsgReturns(result1 error)
- func (fake *ChaincodeEventsServer) SendMsgReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeEventsServer) SendReturns(result1 error)
- func (fake *ChaincodeEventsServer) SendReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeEventsServer) SetHeader(arg1 metadata.MD) error
- func (fake *ChaincodeEventsServer) SetHeaderArgsForCall(i int) metadata.MD
- func (fake *ChaincodeEventsServer) SetHeaderCallCount() int
- func (fake *ChaincodeEventsServer) SetHeaderCalls(stub func(metadata.MD) error)
- func (fake *ChaincodeEventsServer) SetHeaderReturns(result1 error)
- func (fake *ChaincodeEventsServer) SetHeaderReturnsOnCall(i int, result1 error)
- func (fake *ChaincodeEventsServer) SetTrailer(arg1 metadata.MD)
- func (fake *ChaincodeEventsServer) SetTrailerArgsForCall(i int) metadata.MD
- func (fake *ChaincodeEventsServer) SetTrailerCallCount() int
- func (fake *ChaincodeEventsServer) SetTrailerCalls(stub func(metadata.MD))
- type CommitFinder
- func (fake *CommitFinder) Invocations() map[string][][]interface{}
- func (fake *CommitFinder) TransactionStatus(arg1 context.Context, arg2 string, arg3 string) (*commit.Status, error)
- func (fake *CommitFinder) TransactionStatusArgsForCall(i int) (context.Context, string, string)
- func (fake *CommitFinder) TransactionStatusCallCount() int
- func (fake *CommitFinder) TransactionStatusCalls(stub func(context.Context, string, string) (*commit.Status, error))
- func (fake *CommitFinder) TransactionStatusReturns(result1 *commit.Status, result2 error)
- func (fake *CommitFinder) TransactionStatusReturnsOnCall(i int, result1 *commit.Status, result2 error)
- type Dialer
- func (fake *Dialer) ArgsForCall(i int) (context.Context, string, []grpc.DialOption)
- func (fake *Dialer) CallCount() int
- func (fake *Dialer) Calls(...)
- func (fake *Dialer) Invocations() map[string][][]interface{}
- func (fake *Dialer) Returns(result1 *grpc.ClientConn, result2 error)
- func (fake *Dialer) ReturnsOnCall(i int, result1 *grpc.ClientConn, result2 error)
- func (fake *Dialer) Spy(arg1 context.Context, arg2 string, arg3 ...grpc.DialOption) (*grpc.ClientConn, error)
- type Discovery
- func (fake *Discovery) Config(arg1 string) (*discovery.ConfigResult, error)
- func (fake *Discovery) ConfigArgsForCall(i int) string
- func (fake *Discovery) ConfigCallCount() int
- func (fake *Discovery) ConfigCalls(stub func(string) (*discovery.ConfigResult, error))
- func (fake *Discovery) ConfigReturns(result1 *discovery.ConfigResult, result2 error)
- func (fake *Discovery) ConfigReturnsOnCall(i int, result1 *discovery.ConfigResult, result2 error)
- func (fake *Discovery) IdentityInfo() api.PeerIdentitySet
- func (fake *Discovery) IdentityInfoCallCount() int
- func (fake *Discovery) IdentityInfoCalls(stub func() api.PeerIdentitySet)
- func (fake *Discovery) IdentityInfoReturns(result1 api.PeerIdentitySet)
- func (fake *Discovery) IdentityInfoReturnsOnCall(i int, result1 api.PeerIdentitySet)
- func (fake *Discovery) Invocations() map[string][][]interface{}
- func (fake *Discovery) PeersForEndorsement(arg1 common.ChannelID, arg2 *peer.ChaincodeInterest) (*discovery.EndorsementDescriptor, error)
- func (fake *Discovery) PeersForEndorsementArgsForCall(i int) (common.ChannelID, *peer.ChaincodeInterest)
- func (fake *Discovery) PeersForEndorsementCallCount() int
- func (fake *Discovery) PeersForEndorsementCalls(...)
- func (fake *Discovery) PeersForEndorsementReturns(result1 *discovery.EndorsementDescriptor, result2 error)
- func (fake *Discovery) PeersForEndorsementReturnsOnCall(i int, result1 *discovery.EndorsementDescriptor, result2 error)
- func (fake *Discovery) PeersOfChannel(arg1 common.ChannelID) discoverya.Members
- func (fake *Discovery) PeersOfChannelArgsForCall(i int) common.ChannelID
- func (fake *Discovery) PeersOfChannelCallCount() int
- func (fake *Discovery) PeersOfChannelCalls(stub func(common.ChannelID) discoverya.Members)
- func (fake *Discovery) PeersOfChannelReturns(result1 discoverya.Members)
- func (fake *Discovery) PeersOfChannelReturnsOnCall(i int, result1 discoverya.Members)
- type EndorserClient
- func (fake *EndorserClient) Invocations() map[string][][]interface{}
- func (fake *EndorserClient) ProcessProposal(arg1 context.Context, arg2 *peer.SignedProposal, arg3 ...grpc.CallOption) (*peer.ProposalResponse, error)
- func (fake *EndorserClient) ProcessProposalArgsForCall(i int) (context.Context, *peer.SignedProposal, []grpc.CallOption)
- func (fake *EndorserClient) ProcessProposalCallCount() int
- func (fake *EndorserClient) ProcessProposalCalls(...)
- func (fake *EndorserClient) ProcessProposalReturns(result1 *peer.ProposalResponse, result2 error)
- func (fake *EndorserClient) ProcessProposalReturnsOnCall(i int, result1 *peer.ProposalResponse, result2 error)
- type Ledger
- func (fake *Ledger) Close()
- func (fake *Ledger) CloseCallCount() int
- func (fake *Ledger) CloseCalls(stub func())
- func (fake *Ledger) GetBlockByNumber(arg1 uint64) (*common.Block, error)
- func (fake *Ledger) GetBlockByNumberArgsForCall(i int) uint64
- func (fake *Ledger) GetBlockByNumberCallCount() int
- func (fake *Ledger) GetBlockByNumberCalls(stub func(uint64) (*common.Block, error))
- func (fake *Ledger) GetBlockByNumberReturns(result1 *common.Block, result2 error)
- func (fake *Ledger) GetBlockByNumberReturnsOnCall(i int, result1 *common.Block, result2 error)
- func (fake *Ledger) GetBlockchainInfo() (*common.BlockchainInfo, error)
- func (fake *Ledger) GetBlockchainInfoCallCount() int
- func (fake *Ledger) GetBlockchainInfoCalls(stub func() (*common.BlockchainInfo, error))
- func (fake *Ledger) GetBlockchainInfoReturns(result1 *common.BlockchainInfo, result2 error)
- func (fake *Ledger) GetBlockchainInfoReturnsOnCall(i int, result1 *common.BlockchainInfo, result2 error)
- func (fake *Ledger) GetBlocksIterator(arg1 uint64) (ledger.ResultsIterator, error)
- func (fake *Ledger) GetBlocksIteratorArgsForCall(i int) uint64
- func (fake *Ledger) GetBlocksIteratorCallCount() int
- func (fake *Ledger) GetBlocksIteratorCalls(stub func(uint64) (ledger.ResultsIterator, error))
- func (fake *Ledger) GetBlocksIteratorReturns(result1 ledger.ResultsIterator, result2 error)
- func (fake *Ledger) GetBlocksIteratorReturnsOnCall(i int, result1 ledger.ResultsIterator, result2 error)
- func (fake *Ledger) Invocations() map[string][][]interface{}
- type LedgerProvider
- func (fake *LedgerProvider) Invocations() map[string][][]interface{}
- func (fake *LedgerProvider) Ledger(arg1 string) (ledger.Ledger, error)
- func (fake *LedgerProvider) LedgerArgsForCall(i int) string
- func (fake *LedgerProvider) LedgerCallCount() int
- func (fake *LedgerProvider) LedgerCalls(stub func(string) (ledger.Ledger, error))
- func (fake *LedgerProvider) LedgerReturns(result1 ledger.Ledger, result2 error)
- func (fake *LedgerProvider) LedgerReturnsOnCall(i int, result1 ledger.Ledger, result2 error)
- type ResultsIterator
- func (fake *ResultsIterator) Close()
- func (fake *ResultsIterator) CloseCallCount() int
- func (fake *ResultsIterator) CloseCalls(stub func())
- func (fake *ResultsIterator) Invocations() map[string][][]interface{}
- func (fake *ResultsIterator) Next() (ledger.QueryResult, error)
- func (fake *ResultsIterator) NextCallCount() int
- func (fake *ResultsIterator) NextCalls(stub func() (ledger.QueryResult, error))
- func (fake *ResultsIterator) NextReturns(result1 ledger.QueryResult, result2 error)
- func (fake *ResultsIterator) NextReturnsOnCall(i int, result1 ledger.QueryResult, result2 error)
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) CloseSendCallCount ¶
func (*ABBClient) CloseSendCalls ¶
func (*ABBClient) CloseSendReturns ¶
func (*ABBClient) CloseSendReturnsOnCall ¶
func (*ABBClient) ContextCallCount ¶
func (*ABBClient) ContextCalls ¶
func (*ABBClient) ContextReturns ¶
func (*ABBClient) ContextReturnsOnCall ¶
func (*ABBClient) HeaderCallCount ¶
func (*ABBClient) HeaderCalls ¶
func (*ABBClient) HeaderReturns ¶
func (*ABBClient) HeaderReturnsOnCall ¶
func (*ABBClient) Invocations ¶
func (*ABBClient) RecvCallCount ¶
func (*ABBClient) RecvCalls ¶
func (fake *ABBClient) RecvCalls(stub func() (*orderer.BroadcastResponse, error))
func (*ABBClient) RecvMsgArgsForCall ¶
func (*ABBClient) RecvMsgCallCount ¶
func (*ABBClient) RecvMsgCalls ¶
func (*ABBClient) RecvMsgReturns ¶
func (*ABBClient) RecvMsgReturnsOnCall ¶
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) SendCallCount ¶
func (*ABBClient) SendMsgArgsForCall ¶
func (*ABBClient) SendMsgCallCount ¶
func (*ABBClient) SendMsgCalls ¶
func (*ABBClient) SendMsgReturns ¶
func (*ABBClient) SendMsgReturnsOnCall ¶
func (*ABBClient) SendReturns ¶
func (*ABBClient) SendReturnsOnCall ¶
func (*ABBClient) TrailerCallCount ¶
func (*ABBClient) TrailerCalls ¶
func (*ABBClient) TrailerReturns ¶
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 (fake *ABClient) Broadcast(arg1 context.Context, arg2 ...grpc.CallOption) (orderer.AtomicBroadcast_BroadcastClient, error)
func (*ABClient) BroadcastArgsForCall ¶
func (*ABClient) BroadcastCallCount ¶
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 (fake *ABClient) Deliver(arg1 context.Context, arg2 ...grpc.CallOption) (orderer.AtomicBroadcast_DeliverClient, error)
func (*ABClient) DeliverArgsForCall ¶
func (*ABClient) DeliverCallCount ¶
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 ¶
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 (fake *ChaincodeEventsServer) Send(arg1 *gateway.ChaincodeEventsResponse) error
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 (*CommitFinder) TransactionStatusArgsForCall ¶
func (*CommitFinder) TransactionStatusCallCount ¶
func (fake *CommitFinder) TransactionStatusCallCount() int
func (*CommitFinder) TransactionStatusCalls ¶
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 (*Dialer) Calls ¶
func (fake *Dialer) Calls(stub func(context.Context, string, ...grpc.DialOption) (*grpc.ClientConn, error))
func (*Dialer) Invocations ¶
func (*Dialer) ReturnsOnCall ¶
func (fake *Dialer) ReturnsOnCall(i int, result1 *grpc.ClientConn, result2 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 (*Discovery) ConfigCallCount ¶
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 (*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 (*Discovery) PeersForEndorsement ¶
func (fake *Discovery) PeersForEndorsement(arg1 common.ChannelID, arg2 *peer.ChaincodeInterest) (*discovery.EndorsementDescriptor, error)
func (*Discovery) PeersForEndorsementArgsForCall ¶
func (*Discovery) PeersForEndorsementCallCount ¶
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 (*Discovery) PeersOfChannelCallCount ¶
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) CloseCallCount ¶
func (*Ledger) CloseCalls ¶
func (fake *Ledger) CloseCalls(stub func())
func (*Ledger) GetBlockByNumber ¶
func (*Ledger) GetBlockByNumberArgsForCall ¶
func (*Ledger) GetBlockByNumberCallCount ¶
func (*Ledger) GetBlockByNumberCalls ¶
func (*Ledger) GetBlockByNumberReturns ¶
func (*Ledger) GetBlockByNumberReturnsOnCall ¶
func (*Ledger) GetBlockchainInfo ¶
func (fake *Ledger) GetBlockchainInfo() (*common.BlockchainInfo, error)
func (*Ledger) GetBlockchainInfoCallCount ¶
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 (*Ledger) GetBlocksIteratorCallCount ¶
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.