fabric: github.com/hyperledger/fabric/core/committer/txvalidator/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/core/committer/txvalidator/mocks"

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Package Files

capabilities.go identity_deserializer.go plugin.go plugin_factory.go plugin_mapper.go query_executor_creator.go

type Capabilities Uses

type Capabilities struct {
    mock.Mock
}

Capabilities is an autogenerated mock type for the Capabilities type

func (*Capabilities) ACLs Uses

func (_m *Capabilities) ACLs() bool

ACLs provides a mock function with given fields:

func (*Capabilities) CollectionUpgrade Uses

func (_m *Capabilities) CollectionUpgrade() bool

CollectionUpgrade provides a mock function with given fields:

func (*Capabilities) FabToken Uses

func (_m *Capabilities) FabToken() bool

FabToken provides a mock function with given fields:

func (*Capabilities) ForbidDuplicateTXIdInBlock Uses

func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool

ForbidDuplicateTXIdInBlock provides a mock function with given fields:

func (*Capabilities) KeyLevelEndorsement Uses

func (_m *Capabilities) KeyLevelEndorsement() bool

KeyLevelEndorsement provides a mock function with given fields:

func (*Capabilities) MetadataLifecycle Uses

func (_m *Capabilities) MetadataLifecycle() bool

MetadataLifecycle provides a mock function with given fields:

func (*Capabilities) PrivateChannelData Uses

func (_m *Capabilities) PrivateChannelData() bool

PrivateChannelData provides a mock function with given fields:

func (*Capabilities) StorePvtDataOfInvalidTx Uses

func (_m *Capabilities) StorePvtDataOfInvalidTx() bool

StorePvtDataOfInvalidTx provides a mock function with given fields:

func (*Capabilities) Supported Uses

func (_m *Capabilities) Supported() error

Supported provides a mock function with given fields:

func (*Capabilities) V1_1Validation Uses

func (_m *Capabilities) V1_1Validation() bool

V1_1Validation provides a mock function with given fields:

func (*Capabilities) V1_2Validation Uses

func (_m *Capabilities) V1_2Validation() bool

V1_2Validation provides a mock function with given fields:

func (*Capabilities) V1_3Validation Uses

func (_m *Capabilities) V1_3Validation() bool

V1_3Validation provides a mock function with given fields:

type IdentityDeserializer Uses

type IdentityDeserializer struct {
    mock.Mock
}

IdentityDeserializer is an autogenerated mock type for the IdentityDeserializer type

func (*IdentityDeserializer) DeserializeIdentity Uses

func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)

DeserializeIdentity provides a mock function with given fields: serializedIdentity

func (*IdentityDeserializer) IsWellFormed Uses

func (_m *IdentityDeserializer) IsWellFormed(identity *protosmsp.SerializedIdentity) error

IsWellFormed provides a mock function with given fields: identity

type Plugin Uses

type Plugin struct {
    mock.Mock
}

Plugin is an autogenerated mock type for the Plugin type

func (*Plugin) Init Uses

func (_m *Plugin) Init(dependencies ...validation.Dependency) error

Init provides a mock function with given fields: dependencies

func (*Plugin) Validate Uses

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 Uses

type PluginFactory struct {
    mock.Mock
}

PluginFactory is an autogenerated mock type for the PluginFactory type

func (*PluginFactory) New Uses

func (_m *PluginFactory) New() validation.Plugin

New provides a mock function with given fields:

type PluginMapper Uses

type PluginMapper struct {
    mock.Mock
}

PluginMapper is an autogenerated mock type for the PluginMapper type

func (*PluginMapper) PluginFactoryByName Uses

func (_m *PluginMapper) PluginFactoryByName(name txvalidator.PluginName) validation.PluginFactory

PluginFactoryByName provides a mock function with given fields: name

type QueryExecutorCreator Uses

type QueryExecutorCreator struct {
    mock.Mock
}

QueryExecutorCreator is an autogenerated mock type for the QueryExecutorCreator type

func (*QueryExecutorCreator) NewQueryExecutor Uses

func (_m *QueryExecutorCreator) NewQueryExecutor() (ledger.QueryExecutor, error)

NewQueryExecutor provides a mock function with given fields:

Package mocks imports 7 packages (graph). Updated 2019-08-10. Refresh now. Tools for package owners.