Documentation ¶
Index ¶
- type ChannelPolicyManagerGetter
- type ChannelResources
- type CollectionResources
- type Dispatcher
- type LedgerResources
- type PolicyManager
- type QueryExecutor
- func (_m *QueryExecutor) Done()
- func (_m *QueryExecutor) ExecuteQuery(namespace string, query string) (ledger.ResultsIterator, error)
- func (_m *QueryExecutor) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (ledger.ResultsIterator, error)
- func (_m *QueryExecutor) ExecuteQueryWithMetadata(namespace string, query string, metadata map[string]interface{}) (coreledger.QueryResultsIterator, error)
- func (_m *QueryExecutor) GetPrivateData(namespace string, collection string, key string) ([]byte, error)
- func (_m *QueryExecutor) GetPrivateDataHash(namespace string, collection string, key string) ([]byte, error)
- func (_m *QueryExecutor) GetPrivateDataMetadata(namespace string, collection string, key string) (map[string][]byte, error)
- func (_m *QueryExecutor) GetPrivateDataMetadataByHash(namespace string, collection string, keyhash []byte) (map[string][]byte, error)
- func (_m *QueryExecutor) GetPrivateDataMultipleKeys(namespace string, collection string, keys []string) ([][]byte, error)
- func (_m *QueryExecutor) GetPrivateDataRangeScanIterator(namespace string, collection string, startKey string, endKey string) (ledger.ResultsIterator, error)
- func (_m *QueryExecutor) GetState(namespace string, key string) ([]byte, error)
- func (_m *QueryExecutor) GetStateMetadata(namespace string, key string) (map[string][]byte, error)
- func (_m *QueryExecutor) GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)
- func (_m *QueryExecutor) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (ledger.ResultsIterator, error)
- func (_m *QueryExecutor) GetStateRangeScanIteratorWithMetadata(namespace string, startKey string, endKey string, ...) (coreledger.QueryResultsIterator, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelPolicyManagerGetter ¶
ChannelPolicyManagerGetter is an autogenerated mock type for the ChannelPolicyManagerGetter type
func (*ChannelPolicyManagerGetter) Manager ¶
func (_m *ChannelPolicyManagerGetter) Manager(channelID string) policies.Manager
Manager provides a mock function with given fields: channelID
type ChannelResources ¶
ChannelResources is an autogenerated mock type for the ChannelResources type
func (*ChannelResources) Apply ¶
func (_m *ChannelResources) Apply(configtx *common.ConfigEnvelope) error
Apply provides a mock function with given fields: configtx
func (*ChannelResources) Capabilities ¶
func (_m *ChannelResources) Capabilities() channelconfig.ApplicationCapabilities
Capabilities provides a mock function with given fields:
func (*ChannelResources) GetMSPIDs ¶
func (_m *ChannelResources) GetMSPIDs() []string
GetMSPIDs provides a mock function with given fields:
func (*ChannelResources) MSPManager ¶
func (_m *ChannelResources) MSPManager() msp.MSPManager
MSPManager provides a mock function with given fields:
type CollectionResources ¶
CollectionResources is an autogenerated mock type for the CollectionResources type
func (*CollectionResources) CollectionValidationInfo ¶
func (_m *CollectionResources) CollectionValidationInfo(chaincodeName string, collectionName string, state validation.State) ([]byte, error, error)
CollectionValidationInfo provides a mock function with given fields: chaincodeName, collectionName, state
type Dispatcher ¶
Dispatcher is an autogenerated mock type for the Dispatcher type
type LedgerResources ¶
LedgerResources is an autogenerated mock type for the LedgerResources type
func (*LedgerResources) GetTransactionByID ¶
func (_m *LedgerResources) GetTransactionByID(txID string) (*peer.ProcessedTransaction, error)
GetTransactionByID provides a mock function with given fields: txID
func (*LedgerResources) NewQueryExecutor ¶
func (_m *LedgerResources) NewQueryExecutor() (ledger.QueryExecutor, error)
NewQueryExecutor provides a mock function with given fields:
type PolicyManager ¶
PolicyManager is an autogenerated mock type for the PolicyManager type
type QueryExecutor ¶
QueryExecutor is an autogenerated mock type for the QueryExecutor type
func (*QueryExecutor) Done ¶
func (_m *QueryExecutor) Done()
Done provides a mock function with given fields:
func (*QueryExecutor) ExecuteQuery ¶
func (_m *QueryExecutor) ExecuteQuery(namespace string, query string) (ledger.ResultsIterator, error)
ExecuteQuery provides a mock function with given fields: namespace, query
func (*QueryExecutor) ExecuteQueryOnPrivateData ¶
func (_m *QueryExecutor) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (ledger.ResultsIterator, error)
ExecuteQueryOnPrivateData provides a mock function with given fields: namespace, collection, query
func (*QueryExecutor) ExecuteQueryWithMetadata ¶
func (_m *QueryExecutor) ExecuteQueryWithMetadata(namespace string, query string, metadata map[string]interface{}) (coreledger.QueryResultsIterator, error)
ExecuteQueryWithMetadata provides a mock function with given fields: namespace, query, metadata
func (*QueryExecutor) GetPrivateData ¶
func (_m *QueryExecutor) GetPrivateData(namespace string, collection string, key string) ([]byte, error)
GetPrivateData provides a mock function with given fields: namespace, collection, key
func (*QueryExecutor) GetPrivateDataHash ¶
func (_m *QueryExecutor) GetPrivateDataHash(namespace string, collection string, key string) ([]byte, error)
GetPrivateDataHash provides a mock function with given fields: namespace, collection, key
func (*QueryExecutor) GetPrivateDataMetadata ¶
func (_m *QueryExecutor) GetPrivateDataMetadata(namespace string, collection string, key string) (map[string][]byte, error)
GetPrivateDataMetadata provides a mock function with given fields: namespace, collection, key
func (*QueryExecutor) GetPrivateDataMetadataByHash ¶
func (_m *QueryExecutor) GetPrivateDataMetadataByHash(namespace string, collection string, keyhash []byte) (map[string][]byte, error)
GetPrivateDataMetadataByHash provides a mock function with given fields: namespace, collection, keyhash
func (*QueryExecutor) GetPrivateDataMultipleKeys ¶
func (_m *QueryExecutor) GetPrivateDataMultipleKeys(namespace string, collection string, keys []string) ([][]byte, error)
GetPrivateDataMultipleKeys provides a mock function with given fields: namespace, collection, keys
func (*QueryExecutor) GetPrivateDataRangeScanIterator ¶
func (_m *QueryExecutor) GetPrivateDataRangeScanIterator(namespace string, collection string, startKey string, endKey string) (ledger.ResultsIterator, error)
GetPrivateDataRangeScanIterator provides a mock function with given fields: namespace, collection, startKey, endKey
func (*QueryExecutor) GetState ¶
func (_m *QueryExecutor) GetState(namespace string, key string) ([]byte, error)
GetState provides a mock function with given fields: namespace, key
func (*QueryExecutor) GetStateMetadata ¶
GetStateMetadata provides a mock function with given fields: namespace, key
func (*QueryExecutor) GetStateMultipleKeys ¶
func (_m *QueryExecutor) GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)
GetStateMultipleKeys provides a mock function with given fields: namespace, keys
func (*QueryExecutor) GetStateRangeScanIterator ¶
func (_m *QueryExecutor) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (ledger.ResultsIterator, error)
GetStateRangeScanIterator provides a mock function with given fields: namespace, startKey, endKey
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadata ¶
func (_m *QueryExecutor) GetStateRangeScanIteratorWithMetadata(namespace string, startKey string, endKey string, metadata map[string]interface{}) (coreledger.QueryResultsIterator, error)
GetStateRangeScanIteratorWithMetadata provides a mock function with given fields: namespace, startKey, endKey, metadata