Capabilities is an autogenerated mock type for the Capabilities type
type Capabilities struct { mock.Mock }
func (_m *Capabilities) ACLs() bool
ACLs provides a mock function with given fields:
func (_m *Capabilities) CollectionUpgrade() bool
CollectionUpgrade provides a mock function with given fields:
func (_m *Capabilities) FabToken() bool
FabToken provides a mock function with given fields:
func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool
ForbidDuplicateTXIdInBlock provides a mock function with given fields:
func (_m *Capabilities) KeyLevelEndorsement() bool
KeyLevelEndorsement provides a mock function with given fields:
func (_m *Capabilities) MetadataLifecycle() bool
MetadataLifecycle provides a mock function with given fields:
func (_m *Capabilities) PrivateChannelData() bool
PrivateChannelData provides a mock function with given fields:
func (_m *Capabilities) StorePvtDataOfInvalidTx() bool
StorePvtDataOfInvalidTx provides a mock function with given fields:
func (_m *Capabilities) Supported() error
Supported provides a mock function with given fields:
func (_m *Capabilities) V1_1Validation() bool
V1_1Validation provides a mock function with given fields:
func (_m *Capabilities) V1_2Validation() bool
V1_2Validation provides a mock function with given fields:
func (_m *Capabilities) V1_3Validation() bool
V1_3Validation provides a mock function with given fields:
IdentityDeserializer is an autogenerated mock type for the IdentityDeserializer type
type IdentityDeserializer struct { mock.Mock }
func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)
DeserializeIdentity provides a mock function with given fields: serializedIdentity
func (_m *IdentityDeserializer) IsWellFormed(identity *protosmsp.SerializedIdentity) error
IsWellFormed provides a mock function with given fields: identity
Plugin is an autogenerated mock type for the Plugin type
type Plugin struct { mock.Mock }
func (_m *Plugin) Init(dependencies ...validation.Dependency) error
Init provides a mock function with given fields: dependencies
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
PluginFactory is an autogenerated mock type for the PluginFactory type
type PluginFactory struct { mock.Mock }
func (_m *PluginFactory) New() validation.Plugin
New provides a mock function with given fields:
PluginMapper is an autogenerated mock type for the PluginMapper type
type PluginMapper struct { mock.Mock }
func (_m *PluginMapper) PluginFactoryByName(name txvalidator.PluginName) validation.PluginFactory
PluginFactoryByName provides a mock function with given fields: name
QueryExecutorCreator is an autogenerated mock type for the QueryExecutorCreator type
type QueryExecutorCreator struct { mock.Mock }
func (_m *QueryExecutorCreator) NewQueryExecutor() (ledger.QueryExecutor, error)
NewQueryExecutor provides a mock function with given fields: