mocks

package
v0.0.0-...-fbe82ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. 不要编辑。

Code generated by mockery v1.0.0. 不要编辑。

Code generated by mockery v1.0.0. 不要编辑。

Code generated by mockery v1.0.0. 不要编辑。

Code generated by mockery v1.0.0. 不要编辑。

Code generated by mockery v1.0.0. 不要编辑。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capabilities

type Capabilities struct {
	mock.Mock
}

功能是为功能类型自动生成的模拟类型

func (*Capabilities) ACLs

func (_m *Capabilities) ACLs() bool

acls为给定字段提供模拟函数:

func (*Capabilities) CollectionUpgrade

func (_m *Capabilities) CollectionUpgrade() bool

collectionupgrade为给定字段提供模拟函数:

func (*Capabilities) FabToken

func (_m *Capabilities) FabToken() bool

fabtoken提供具有给定字段的模拟函数:

func (*Capabilities) ForbidDuplicateTXIdInBlock

func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool

ForbidDuplicateXdinBlock提供具有给定字段的模拟函数:

func (*Capabilities) KeyLevelEndorsement

func (_m *Capabilities) KeyLevelEndorsement() bool

keylangendorsement提供了一个具有给定字段的模拟函数:

func (*Capabilities) MetadataLifecycle

func (_m *Capabilities) MetadataLifecycle() bool

MetadataLifecycle提供了一个具有给定字段的模拟函数:

func (*Capabilities) PrivateChannelData

func (_m *Capabilities) PrivateChannelData() bool

privatechanneldata为给定字段提供模拟函数:

func (*Capabilities) Supported

func (_m *Capabilities) Supported() error

支持提供具有给定字段的模拟函数:

func (*Capabilities) V1_1Validation

func (_m *Capabilities) V1_1Validation() bool

v11validation为给定字段提供模拟函数:

func (*Capabilities) V1_2Validation

func (_m *Capabilities) V1_2Validation() bool

v12validation为给定字段提供模拟函数:

func (*Capabilities) V1_3Validation

func (_m *Capabilities) V1_3Validation() bool

v13validation为给定字段提供模拟函数:

type IdentityDeserializer

type IdentityDeserializer struct {
	mock.Mock
}

IdentityDeserializer是IdentityDeserializer类型的自动生成的模拟类型

func (*IdentityDeserializer) DeserializeIdentity

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

DeserializeIDentity提供了一个具有给定字段的模拟函数:SerializeIDentity

func (*IdentityDeserializer) IsWellFormed

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

iswell格式为给定字段提供了一个模拟函数:标识

type Plugin

type Plugin struct {
	mock.Mock
}

插件是插件类型的自动生成的模拟类型

func (*Plugin) Init

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

init提供了一个具有给定字段的模拟函数:依赖项

func (*Plugin) Validate

func (_m *Plugin) Validate(block *common.Block, namespace string, txPosition int, actionPosition int, contextData ...validation.ContextDatum) error

validate提供具有给定字段的模拟函数:block、namespace、txposition、actionposition、contextdata

type PluginFactory

type PluginFactory struct {
	mock.Mock
}

PlugInfectory是PlugInfectory类型的自动生成的模拟类型

func (*PluginFactory) New

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

new为给定字段提供模拟函数:

type PluginMapper

type PluginMapper struct {
	mock.Mock
}

pluginmapper是为pluginmapper类型自动生成的模拟类型

func (*PluginMapper) PluginFactoryByName

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

PlugInfactoryByName提供了一个具有给定字段的模拟函数:name

type QueryExecutorCreator

type QueryExecutorCreator struct {
	mock.Mock
}

QueryExecutorCreator是针对QueryExecutorCreator类型自动生成的模拟类型

func (*QueryExecutorCreator) NewQueryExecutor

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

NewQueryExecutor提供具有给定字段的模拟函数:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL