package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev
# Packages
Code generated by counterfeiter.
# Functions
BuildCollectionKVSKey constructs the collection config key for a given chaincode name.
GetCCNameFromCollectionConfigKey returns the chaincode name given a collection config key.
IsCollectionConfigKey detects if a key is a collection key.
NewMembershipInfoProvider returns MembershipProvider.
NewSimpleCollection returns a simple collection object based on a given StaticCollectionConfig proto that has all the necessary information.
ParseCollectionConfig parses the collection configuration from the given serialized representation.
RetrieveCollectionConfigPackageFromState retrieves the collection config package from the given key from the given state.
# Structs
CollectionCriteria defines an element of a private data that corresponds to a certain transaction and collection.
MembershipProvider can be used to check whether a peer is eligible to a collection or not.
SimpleCollection implements a collection with static properties and a public member set.
# Interfaces
ChaincodeInfoProvider provides information about deployed chaincode.
Collection defines a common interface for collections.
CollectionAccessPolicy encapsulates functions for the access policy of a collection.
CollectionPersistenceConfigs encapsulates configurations related to persistence of a collection.
CollectionStore provides various APIs to retrieves stored collections and perform membership check & read permission check based on the collection's properties.
IdentityDeserializerFactory creates msp.IdentityDeserializer for a chain.
A QueryExecutorFactory is responsible for creating ledger.QueryExectuor instances.
State retrieves data from the state.
# Type aliases
Filter defines a rule that filters peers according to data signed by them.
IdentityDeserializerFactoryFunc is a function adapater for IdentityDeserializerFactory.