Documentation ¶
Index ¶
- type Capabilities
- func (_m *Capabilities) ACLs() bool
- func (_m *Capabilities) CollectionUpgrade() bool
- func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool
- func (_m *Capabilities) KeyLevelEndorsement() bool
- func (_m *Capabilities) MetadataLifecycle() bool
- func (_m *Capabilities) PrivateChannelData() bool
- func (_m *Capabilities) StorePvtDataOfInvalidTx() 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 IdentityDeserializer
- type LifecycleResources
- type Mapper
- type Plugin
- type PluginFactory
- type PolicyManager
- type QueryExecutorCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
Capabilities is an autogenerated mock type for the Capabilities type
func (*Capabilities) ACLs ¶
func (_m *Capabilities) ACLs() bool
ACLs provides a mock function with given fields:
func (*Capabilities) CollectionUpgrade ¶
func (_m *Capabilities) CollectionUpgrade() bool
CollectionUpgrade provides a mock function with given fields:
func (*Capabilities) ForbidDuplicateTXIdInBlock ¶
func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool
ForbidDuplicateTXIdInBlock provides a mock function with given fields:
func (*Capabilities) KeyLevelEndorsement ¶
func (_m *Capabilities) KeyLevelEndorsement() bool
KeyLevelEndorsement provides a mock function with given fields:
func (*Capabilities) MetadataLifecycle ¶
func (_m *Capabilities) MetadataLifecycle() bool
MetadataLifecycle provides a mock function with given fields:
func (*Capabilities) PrivateChannelData ¶
func (_m *Capabilities) PrivateChannelData() bool
PrivateChannelData provides a mock function with given fields:
func (*Capabilities) StorePvtDataOfInvalidTx ¶
func (_m *Capabilities) StorePvtDataOfInvalidTx() bool
StorePvtDataOfInvalidTx provides a mock function with given fields:
func (*Capabilities) Supported ¶
func (_m *Capabilities) Supported() error
Supported provides a mock function with given fields:
func (*Capabilities) V1_1Validation ¶
func (_m *Capabilities) V1_1Validation() bool
V1_1Validation provides a mock function with given fields:
func (*Capabilities) V1_2Validation ¶
func (_m *Capabilities) V1_2Validation() bool
V1_2Validation provides a mock function with given fields:
func (*Capabilities) V1_3Validation ¶
func (_m *Capabilities) V1_3Validation() bool
V1_3Validation provides a mock function with given fields:
func (*Capabilities) V2_0Validation ¶
func (_m *Capabilities) V2_0Validation() bool
V2_0Validation provides a mock function with given fields:
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 IdentityDeserializer ¶
IdentityDeserializer is an autogenerated mock type for the IdentityDeserializer type
func (*IdentityDeserializer) DeserializeIdentity ¶
func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)
DeserializeIdentity provides a mock function with given fields: serializedIdentity
func (*IdentityDeserializer) IsWellFormed ¶
func (_m *IdentityDeserializer) IsWellFormed(identity *fabric_protos_gomsp.SerializedIdentity) error
IsWellFormed provides a mock function with given fields: identity
type LifecycleResources ¶
LifecycleResources is an autogenerated mock type for the LifecycleResources type
func (*LifecycleResources) ValidationInfo ¶
func (_m *LifecycleResources) ValidationInfo(channelID string, chaincodeName string, qe ledger.SimpleQueryExecutor) (string, []byte, error, error)
ValidationInfo provides a mock function with given fields: channelID, chaincodeName, qe
type Mapper ¶
Mapper is an autogenerated mock type for the Mapper type
func (*Mapper) FactoryByName ¶
func (_m *Mapper) FactoryByName(name plugin.Name) validation.PluginFactory
FactoryByName provides a mock function with given fields: name
type Plugin ¶
Plugin is an autogenerated mock type for the Plugin type
func (*Plugin) Init ¶
func (_m *Plugin) Init(dependencies ...validation.Dependency) error
Init provides a mock function with given fields: dependencies
func (*Plugin) Validate ¶
func (_m *Plugin) Validate(block *common.Block, namespace string, txPosition int, actionPosition int, contextData ...validation.ContextDatum) error
Validate provides a mock function with given fields: block, namespace, txPosition, actionPosition, contextData
type PluginFactory ¶
PluginFactory is an autogenerated mock type for the PluginFactory type
func (*PluginFactory) New ¶
func (_m *PluginFactory) New() validation.Plugin
New provides a mock function with given fields:
type PolicyManager ¶
PolicyManager is an autogenerated mock type for the PolicyManager type
type QueryExecutorCreator ¶
QueryExecutorCreator is an autogenerated mock type for the QueryExecutorCreator type
func (*QueryExecutorCreator) NewQueryExecutor ¶
func (_m *QueryExecutorCreator) NewQueryExecutor() (ledger.QueryExecutor, error)
NewQueryExecutor provides a mock function with given fields: