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. 不要编辑。
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 StateBasedValidator
- func (_m *StateBasedValidator) PostValidate(cc string, blockNum uint64, txNum uint64, err error)
- func (_m *StateBasedValidator) PreValidate(txNum uint64, block *common.Block)
- func (_m *StateBasedValidator) Validate(cc string, blockNum uint64, txNum uint64, rwset []byte, prp []byte, ep []byte, ...) errors.TxValidationError
- 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 StateBasedValidator ¶
StateBasedvalidator是StateBasedvalidator类型的自动生成的模拟类型
func (*StateBasedValidator) PostValidate ¶
func (_m *StateBasedValidator) PostValidate(cc string, blockNum uint64, txNum uint64, err error)
postvalidate提供了一个具有给定字段的模拟函数:cc、blocknum、txnum、err
func (*StateBasedValidator) PreValidate ¶
func (_m *StateBasedValidator) PreValidate(txNum uint64, block *common.Block)
prevalidate提供具有给定字段的模拟函数:txnum,block
func (*StateBasedValidator) Validate ¶
func (_m *StateBasedValidator) Validate(cc string, blockNum uint64, txNum uint64, rwset []byte, prp []byte, ep []byte, endorsements []*peer.Endorsement) errors.TxValidationError
validate提供具有给定字段的模拟函数:cc、blocknum、txnum、rwset、prp、ep、背书
type StateFetcher ¶
StateFetcher是为StateFetcher类型自动生成的模拟类型
func (*StateFetcher) FetchState ¶
func (_m *StateFetcher) FetchState() (validation.State, error)
fetchstate提供了一个具有给定字段的模拟函数: