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 ¶
- type Capabilities
- func (_m *Capabilities) ACLs() bool
- func (_m *Capabilities) CollectionUpgrade() bool
- func (_m *Capabilities) FabToken() bool
- func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool
- func (_m *Capabilities) KeyLevelEndorsement() bool
- func (_m *Capabilities) MetadataLifecycle() bool
- func (_m *Capabilities) PrivateChannelData() bool
- func (_m *Capabilities) Supported() error
- func (_m *Capabilities) V1_1Validation() bool
- func (_m *Capabilities) V1_2Validation() bool
- func (_m *Capabilities) V1_3Validation() bool
- type IdentityDeserializer
- type PolicyEvaluator
- type StateFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
功能是为功能类型自动生成的模拟类型
func (*Capabilities) CollectionUpgrade ¶
func (_m *Capabilities) CollectionUpgrade() bool
collectionupgrade为给定字段提供模拟函数:
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) 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 ¶
IdentityDeserializer是IdentityDeserializer类型的自动生成的模拟类型
func (*IdentityDeserializer) DeserializeIdentity ¶
func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (validation.Identity, error)
DeserializeIDentity提供了一个具有给定字段的模拟函数:SerializeIDentity
type PolicyEvaluator ¶
policyEvaluator是policyEvaluator类型的自动生成的模拟类型
func (*PolicyEvaluator) Evaluate ¶
func (_m *PolicyEvaluator) Evaluate(policyBytes []byte, signatureSet []*common.SignedData) error
Evaluate提供了一个具有给定字段的模拟函数:policyBytes、signatureSet
type StateFetcher ¶
StateFetcher是为StateFetcher类型自动生成的模拟类型
func (*StateFetcher) FetchState ¶
func (_m *StateFetcher) FetchState() (validation.State, error)
fetchstate提供了一个具有给定字段的模拟函数: