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.
Index ¶
- type DCASClient
- func (fake *DCASClient) Delete(ns string, coll string, keys ...string) error
- func (fake *DCASClient) DeleteArgsForCall(i int) (string, string, []string)
- func (fake *DCASClient) DeleteCallCount() int
- func (fake *DCASClient) DeleteReturns(result1 error)
- func (fake *DCASClient) DeleteReturnsOnCall(i int, result1 error)
- func (fake *DCASClient) Get(ns string, coll string, key string) ([]byte, error)
- func (fake *DCASClient) GetArgsForCall(i int) (string, string, string)
- func (fake *DCASClient) GetCallCount() int
- func (fake *DCASClient) GetMultipleKeys(ns string, coll string, keys ...string) ([][]byte, error)
- func (fake *DCASClient) GetMultipleKeysArgsForCall(i int) (string, string, []string)
- func (fake *DCASClient) GetMultipleKeysCallCount() int
- func (fake *DCASClient) GetMultipleKeysReturns(result1 [][]byte, result2 error)
- func (fake *DCASClient) GetMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *DCASClient) GetReturns(result1 []byte, result2 error)
- func (fake *DCASClient) GetReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *DCASClient) Invocations() map[string][][]interface{}
- func (fake *DCASClient) Put(ns string, coll string, value []byte) (string, error)
- func (fake *DCASClient) PutArgsForCall(i int) (string, string, []byte)
- func (fake *DCASClient) PutCallCount() int
- func (fake *DCASClient) PutMultipleValues(ns string, coll string, values [][]byte) ([]string, error)
- func (fake *DCASClient) PutMultipleValuesArgsForCall(i int) (string, string, [][]byte)
- func (fake *DCASClient) PutMultipleValuesCallCount() int
- func (fake *DCASClient) PutMultipleValuesReturns(result1 []string, result2 error)
- func (fake *DCASClient) PutMultipleValuesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *DCASClient) PutReturns(result1 string, result2 error)
- func (fake *DCASClient) PutReturnsOnCall(i int, result1 string, result2 error)
- func (fake *DCASClient) Query(ns string, coll string, query string) (commonledger.ResultsIterator, error)
- func (fake *DCASClient) QueryArgsForCall(i int) (string, string, string)
- func (fake *DCASClient) QueryCallCount() int
- func (fake *DCASClient) QueryReturns(result1 commonledger.ResultsIterator, result2 error)
- func (fake *DCASClient) QueryReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
- type DCASClientProvider
- func (fake *DCASClientProvider) ForChannel(channelID string) (dcasclient.DCAS, error)
- func (fake *DCASClientProvider) ForChannelArgsForCall(i int) string
- func (fake *DCASClientProvider) ForChannelCallCount() int
- func (fake *DCASClientProvider) ForChannelReturns(result1 dcasclient.DCAS, result2 error)
- func (fake *DCASClientProvider) ForChannelReturnsOnCall(i int, result1 dcasclient.DCAS, result2 error)
- func (fake *DCASClientProvider) Invocations() map[string][][]interface{}
- type TxnService
- func (fake *TxnService) Endorse(req *api.Request) (resp *channel.Response, err error)
- func (fake *TxnService) EndorseAndCommit(req *api.Request) (resp *channel.Response, err error)
- func (fake *TxnService) EndorseAndCommitArgsForCall(i int) *api.Request
- func (fake *TxnService) EndorseAndCommitCallCount() int
- func (fake *TxnService) EndorseAndCommitReturns(result1 *channel.Response, result2 error)
- func (fake *TxnService) EndorseAndCommitReturnsOnCall(i int, result1 *channel.Response, result2 error)
- func (fake *TxnService) EndorseArgsForCall(i int) *api.Request
- func (fake *TxnService) EndorseCallCount() int
- func (fake *TxnService) EndorseReturns(result1 *channel.Response, result2 error)
- func (fake *TxnService) EndorseReturnsOnCall(i int, result1 *channel.Response, result2 error)
- func (fake *TxnService) Invocations() map[string][][]interface{}
- type TxnServiceProvider
- func (fake *TxnServiceProvider) ForChannel(channelID string) (txnapi.Service, error)
- func (fake *TxnServiceProvider) ForChannelArgsForCall(i int) string
- func (fake *TxnServiceProvider) ForChannelCallCount() int
- func (fake *TxnServiceProvider) ForChannelReturns(result1 txnapi.Service, result2 error)
- func (fake *TxnServiceProvider) ForChannelReturnsOnCall(i int, result1 txnapi.Service, result2 error)
- func (fake *TxnServiceProvider) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DCASClient ¶
type DCASClient struct { PutStub func(ns, coll string, value []byte) (string, error) PutMultipleValuesStub func(ns, coll string, values [][]byte) ([]string, error) DeleteStub func(ns, coll string, keys ...string) error GetStub func(ns, coll, key string) ([]byte, error) GetMultipleKeysStub func(ns, coll string, keys ...string) ([][]byte, error) QueryStub func(ns, coll, query string) (commonledger.ResultsIterator, error) // contains filtered or unexported fields }
func (*DCASClient) Delete ¶
func (fake *DCASClient) Delete(ns string, coll string, keys ...string) error
func (*DCASClient) DeleteArgsForCall ¶
func (fake *DCASClient) DeleteArgsForCall(i int) (string, string, []string)
func (*DCASClient) DeleteCallCount ¶
func (fake *DCASClient) DeleteCallCount() int
func (*DCASClient) DeleteReturns ¶
func (fake *DCASClient) DeleteReturns(result1 error)
func (*DCASClient) DeleteReturnsOnCall ¶
func (fake *DCASClient) DeleteReturnsOnCall(i int, result1 error)
func (*DCASClient) GetArgsForCall ¶
func (fake *DCASClient) GetArgsForCall(i int) (string, string, string)
func (*DCASClient) GetCallCount ¶
func (fake *DCASClient) GetCallCount() int
func (*DCASClient) GetMultipleKeys ¶
func (*DCASClient) GetMultipleKeysArgsForCall ¶
func (fake *DCASClient) GetMultipleKeysArgsForCall(i int) (string, string, []string)
func (*DCASClient) GetMultipleKeysCallCount ¶
func (fake *DCASClient) GetMultipleKeysCallCount() int
func (*DCASClient) GetMultipleKeysReturns ¶
func (fake *DCASClient) GetMultipleKeysReturns(result1 [][]byte, result2 error)
func (*DCASClient) GetMultipleKeysReturnsOnCall ¶
func (fake *DCASClient) GetMultipleKeysReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*DCASClient) GetReturns ¶
func (fake *DCASClient) GetReturns(result1 []byte, result2 error)
func (*DCASClient) GetReturnsOnCall ¶
func (fake *DCASClient) GetReturnsOnCall(i int, result1 []byte, result2 error)
func (*DCASClient) Invocations ¶
func (fake *DCASClient) Invocations() map[string][][]interface{}
func (*DCASClient) PutArgsForCall ¶
func (fake *DCASClient) PutArgsForCall(i int) (string, string, []byte)
func (*DCASClient) PutCallCount ¶
func (fake *DCASClient) PutCallCount() int
func (*DCASClient) PutMultipleValues ¶
func (*DCASClient) PutMultipleValuesArgsForCall ¶
func (fake *DCASClient) PutMultipleValuesArgsForCall(i int) (string, string, [][]byte)
func (*DCASClient) PutMultipleValuesCallCount ¶
func (fake *DCASClient) PutMultipleValuesCallCount() int
func (*DCASClient) PutMultipleValuesReturns ¶
func (fake *DCASClient) PutMultipleValuesReturns(result1 []string, result2 error)
func (*DCASClient) PutMultipleValuesReturnsOnCall ¶
func (fake *DCASClient) PutMultipleValuesReturnsOnCall(i int, result1 []string, result2 error)
func (*DCASClient) PutReturns ¶
func (fake *DCASClient) PutReturns(result1 string, result2 error)
func (*DCASClient) PutReturnsOnCall ¶
func (fake *DCASClient) PutReturnsOnCall(i int, result1 string, result2 error)
func (*DCASClient) Query ¶
func (fake *DCASClient) Query(ns string, coll string, query string) (commonledger.ResultsIterator, error)
func (*DCASClient) QueryArgsForCall ¶
func (fake *DCASClient) QueryArgsForCall(i int) (string, string, string)
func (*DCASClient) QueryCallCount ¶
func (fake *DCASClient) QueryCallCount() int
func (*DCASClient) QueryReturns ¶
func (fake *DCASClient) QueryReturns(result1 commonledger.ResultsIterator, result2 error)
func (*DCASClient) QueryReturnsOnCall ¶
func (fake *DCASClient) QueryReturnsOnCall(i int, result1 commonledger.ResultsIterator, result2 error)
type DCASClientProvider ¶
type DCASClientProvider struct { ForChannelStub func(channelID string) (dcasclient.DCAS, error) // contains filtered or unexported fields }
func (*DCASClientProvider) ForChannel ¶
func (fake *DCASClientProvider) ForChannel(channelID string) (dcasclient.DCAS, error)
func (*DCASClientProvider) ForChannelArgsForCall ¶
func (fake *DCASClientProvider) ForChannelArgsForCall(i int) string
func (*DCASClientProvider) ForChannelCallCount ¶
func (fake *DCASClientProvider) ForChannelCallCount() int
func (*DCASClientProvider) ForChannelReturns ¶
func (fake *DCASClientProvider) ForChannelReturns(result1 dcasclient.DCAS, result2 error)
func (*DCASClientProvider) ForChannelReturnsOnCall ¶
func (fake *DCASClientProvider) ForChannelReturnsOnCall(i int, result1 dcasclient.DCAS, result2 error)
func (*DCASClientProvider) Invocations ¶
func (fake *DCASClientProvider) Invocations() map[string][][]interface{}
type TxnService ¶
type TxnService struct { EndorseStub func(req *api.Request) (resp *channel.Response, err error) EndorseAndCommitStub func(req *api.Request) (resp *channel.Response, err error) // contains filtered or unexported fields }
func (*TxnService) EndorseAndCommit ¶
func (*TxnService) EndorseAndCommitArgsForCall ¶
func (fake *TxnService) EndorseAndCommitArgsForCall(i int) *api.Request
func (*TxnService) EndorseAndCommitCallCount ¶
func (fake *TxnService) EndorseAndCommitCallCount() int
func (*TxnService) EndorseAndCommitReturns ¶
func (fake *TxnService) EndorseAndCommitReturns(result1 *channel.Response, result2 error)
func (*TxnService) EndorseAndCommitReturnsOnCall ¶
func (fake *TxnService) EndorseAndCommitReturnsOnCall(i int, result1 *channel.Response, result2 error)
func (*TxnService) EndorseArgsForCall ¶
func (fake *TxnService) EndorseArgsForCall(i int) *api.Request
func (*TxnService) EndorseCallCount ¶
func (fake *TxnService) EndorseCallCount() int
func (*TxnService) EndorseReturns ¶
func (fake *TxnService) EndorseReturns(result1 *channel.Response, result2 error)
func (*TxnService) EndorseReturnsOnCall ¶
func (fake *TxnService) EndorseReturnsOnCall(i int, result1 *channel.Response, result2 error)
func (*TxnService) Invocations ¶
func (fake *TxnService) Invocations() map[string][][]interface{}
type TxnServiceProvider ¶
type TxnServiceProvider struct { ForChannelStub func(channelID string) (txnapi.Service, error) // contains filtered or unexported fields }
func (*TxnServiceProvider) ForChannel ¶
func (fake *TxnServiceProvider) ForChannel(channelID string) (txnapi.Service, error)
func (*TxnServiceProvider) ForChannelArgsForCall ¶
func (fake *TxnServiceProvider) ForChannelArgsForCall(i int) string
func (*TxnServiceProvider) ForChannelCallCount ¶
func (fake *TxnServiceProvider) ForChannelCallCount() int
func (*TxnServiceProvider) ForChannelReturns ¶
func (fake *TxnServiceProvider) ForChannelReturns(result1 txnapi.Service, result2 error)
func (*TxnServiceProvider) ForChannelReturnsOnCall ¶
func (fake *TxnServiceProvider) ForChannelReturnsOnCall(i int, result1 txnapi.Service, result2 error)
func (*TxnServiceProvider) Invocations ¶
func (fake *TxnServiceProvider) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.