Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionConfigRetriever ¶
type CollectionConfigRetriever struct {
// contains filtered or unexported fields
}
CollectionConfigRetriever loads and caches collection configuration and policies
func (*CollectionConfigRetriever) Config ¶
func (s *CollectionConfigRetriever) Config(ns, coll string) (*pb.StaticCollectionConfig, error)
Config returns the configuration for the given collection
func (*CollectionConfigRetriever) Policy ¶
func (s *CollectionConfigRetriever) Policy(ns, coll string) (privdata.CollectionAccessPolicy, error)
Policy returns the collection access policy
type CollectionConfigRetrieverProvider ¶ added in v0.1.1
type CollectionConfigRetrieverProvider struct {
// contains filtered or unexported fields
}
CollectionConfigRetrieverProvider is a collection config retriever provider
func NewCollectionConfigRetrieverProvider ¶ added in v0.1.1
func NewCollectionConfigRetrieverProvider( stateDBProvider stateDBProvider, blockPublisherProvider api.BlockPublisherProvider, idProvider collcommon.IdentityDeserializerProvider, identifierProvider collcommon.IdentifierProvider, lifecycleCCInfoProvider chaincodeInfoProvider) *CollectionConfigRetrieverProvider
NewCollectionConfigRetrieverProvider returns a new CollectionConfigRetrieverProvider
func (*CollectionConfigRetrieverProvider) ForChannel ¶ added in v0.1.1
func (rc *CollectionConfigRetrieverProvider) ForChannel(channelID string) support.CollectionConfigRetriever
ForChannel returns the retriever for the given channel
Click to show internal directories.
Click to hide internal directories.