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: 4 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. 不要编辑。

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) (validation.Identity, error)

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

type PolicyEvaluator

type PolicyEvaluator struct {
	mock.Mock
}

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

func (*PolicyEvaluator) Evaluate

func (_m *PolicyEvaluator) Evaluate(policyBytes []byte, signatureSet []*common.SignedData) error

Evaluate提供了一个具有给定字段的模拟函数:policyBytes、signatureSet

type StateFetcher

type StateFetcher struct {
	mock.Mock
}

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

func (*StateFetcher) FetchState

func (_m *StateFetcher) FetchState() (validation.State, error)

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

Jump to

Keyboard shortcuts

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