Documentation ¶
Index ¶
- type Capabilities
- func (_m *Capabilities) ACLs() bool
- func (_m *Capabilities) CollectionUpgrade() bool
- func (_m *Capabilities) FabToken() bool
- func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool
- func (_m *Capabilities) KeyLevelEndorsement() bool
- func (_m *Capabilities) MetadataLifecycle() bool
- func (_m *Capabilities) PrivateChannelData() bool
- func (_m *Capabilities) Supported() error
- func (_m *Capabilities) V1_1Validation() bool
- func (_m *Capabilities) V1_2Validation() bool
- func (_m *Capabilities) V1_3Validation() bool
- func (_m *Capabilities) V2_0Validation() bool
- type ChannelPolicyManagerGetter
- type ChannelResources
- type CollectionResources
- type Dispatcher
- type IdentityDeserializer
- type LedgerResources
- type Mapper
- type Plugin
- type PluginFactory
- 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)
- type QueryExecutorCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
func (*Capabilities) ACLs ¶
func (_m *Capabilities) ACLs() bool
func (*Capabilities) CollectionUpgrade ¶
func (_m *Capabilities) CollectionUpgrade() bool
func (*Capabilities) FabToken ¶
func (_m *Capabilities) FabToken() bool
func (*Capabilities) ForbidDuplicateTXIdInBlock ¶
func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool
func (*Capabilities) KeyLevelEndorsement ¶
func (_m *Capabilities) KeyLevelEndorsement() bool
func (*Capabilities) MetadataLifecycle ¶
func (_m *Capabilities) MetadataLifecycle() bool
func (*Capabilities) PrivateChannelData ¶
func (_m *Capabilities) PrivateChannelData() bool
func (*Capabilities) Supported ¶
func (_m *Capabilities) Supported() error
func (*Capabilities) V1_1Validation ¶
func (_m *Capabilities) V1_1Validation() bool
func (*Capabilities) V1_2Validation ¶
func (_m *Capabilities) V1_2Validation() bool
func (*Capabilities) V1_3Validation ¶
func (_m *Capabilities) V1_3Validation() bool
func (*Capabilities) V2_0Validation ¶
func (_m *Capabilities) V2_0Validation() bool
type ChannelResources ¶
func (*ChannelResources) Apply ¶
func (_m *ChannelResources) Apply(configtx *common.ConfigEnvelope) error
func (*ChannelResources) Capabilities ¶
func (_m *ChannelResources) Capabilities() channelconfig.ApplicationCapabilities
func (*ChannelResources) GetMSPIDs ¶
func (_m *ChannelResources) GetMSPIDs() []string
func (*ChannelResources) MSPManager ¶
func (_m *ChannelResources) MSPManager() msp.MSPManager
type CollectionResources ¶
func (*CollectionResources) CollectionValidationInfo ¶
func (_m *CollectionResources) CollectionValidationInfo(chaincodeName string, collectionName string, state validation.State) ([]byte, error, error)
type Dispatcher ¶
type IdentityDeserializer ¶
func (*IdentityDeserializer) DeserializeIdentity ¶
func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)
func (*IdentityDeserializer) IsWellFormed ¶
func (_m *IdentityDeserializer) IsWellFormed(identity *protosmsp.SerializedIdentity) error
type LedgerResources ¶
func (*LedgerResources) GetTransactionByID ¶
func (_m *LedgerResources) GetTransactionByID(txID string) (*peer.ProcessedTransaction, error)
func (*LedgerResources) NewQueryExecutor ¶
func (_m *LedgerResources) NewQueryExecutor() (ledger.QueryExecutor, error)
type Mapper ¶
func (*Mapper) FactoryByName ¶
func (_m *Mapper) FactoryByName(name plugin.Name) validation.PluginFactory
type Plugin ¶
func (*Plugin) Init ¶
func (_m *Plugin) Init(dependencies ...validation.Dependency) error
type PluginFactory ¶
func (*PluginFactory) New ¶
func (_m *PluginFactory) New() validation.Plugin
type PolicyManager ¶
type QueryExecutor ¶
func (*QueryExecutor) Done ¶
func (_m *QueryExecutor) Done()
func (*QueryExecutor) ExecuteQuery ¶
func (_m *QueryExecutor) ExecuteQuery(namespace string, query string) (ledger.ResultsIterator, error)
func (*QueryExecutor) ExecuteQueryOnPrivateData ¶
func (_m *QueryExecutor) ExecuteQueryOnPrivateData(namespace string, collection string, query string) (ledger.ResultsIterator, error)
func (*QueryExecutor) ExecuteQueryWithMetadata ¶
func (_m *QueryExecutor) ExecuteQueryWithMetadata(namespace string, query string, metadata map[string]interface{}) (coreledger.QueryResultsIterator, error)
func (*QueryExecutor) GetPrivateData ¶
func (*QueryExecutor) GetPrivateDataHash ¶
func (*QueryExecutor) GetPrivateDataMetadata ¶
func (*QueryExecutor) GetPrivateDataMetadataByHash ¶
func (*QueryExecutor) GetPrivateDataMultipleKeys ¶
func (*QueryExecutor) GetPrivateDataRangeScanIterator ¶
func (_m *QueryExecutor) GetPrivateDataRangeScanIterator(namespace string, collection string, startKey string, endKey string) (ledger.ResultsIterator, error)
func (*QueryExecutor) GetState ¶
func (_m *QueryExecutor) GetState(namespace string, key string) ([]byte, error)
func (*QueryExecutor) GetStateMetadata ¶
func (*QueryExecutor) GetStateMultipleKeys ¶
func (_m *QueryExecutor) GetStateMultipleKeys(namespace string, keys []string) ([][]byte, error)
func (*QueryExecutor) GetStateRangeScanIterator ¶
func (_m *QueryExecutor) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (ledger.ResultsIterator, error)
func (*QueryExecutor) GetStateRangeScanIteratorWithMetadata ¶
func (_m *QueryExecutor) GetStateRangeScanIteratorWithMetadata(namespace string, startKey string, endKey string, metadata map[string]interface{}) (coreledger.QueryResultsIterator, error)
type QueryExecutorCreator ¶
func (*QueryExecutorCreator) NewQueryExecutor ¶
func (_m *QueryExecutorCreator) NewQueryExecutor() (ledger.QueryExecutor, error)
Click to show internal directories.
Click to hide internal directories.