Documentation ¶
Overview ¶
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 ¶
- type Capabilities
- func (_m *Capabilities) ACLs() bool
- func (_m *Capabilities) CollectionUpgrade() 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
- type IdentityDeserializer
- type PolicyEvaluator
- type StateFetcher
- type TransactionValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶ added in v1.2.0
Capabilities is an autogenerated mock type for the Capabilities type
func (*Capabilities) ACLs ¶ added in v1.2.0
func (_m *Capabilities) ACLs() bool
ACLs provides a mock function with given fields:
func (*Capabilities) CollectionUpgrade ¶ added in v1.2.0
func (_m *Capabilities) CollectionUpgrade() bool
CollectionUpgrade provides a mock function with given fields:
func (*Capabilities) ForbidDuplicateTXIdInBlock ¶ added in v1.2.0
func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool
ForbidDuplicateTXIdInBlock provides a mock function with given fields:
func (*Capabilities) KeyLevelEndorsement ¶ added in v1.2.0
func (_m *Capabilities) KeyLevelEndorsement() bool
KeyLevelEndorsement provides a mock function with given fields:
func (*Capabilities) MetadataLifecycle ¶ added in v1.2.0
func (_m *Capabilities) MetadataLifecycle() bool
MetadataLifecycle provides a mock function with given fields:
func (*Capabilities) PrivateChannelData ¶ added in v1.2.0
func (_m *Capabilities) PrivateChannelData() bool
PrivateChannelData provides a mock function with given fields:
func (*Capabilities) Supported ¶ added in v1.2.0
func (_m *Capabilities) Supported() error
Supported provides a mock function with given fields:
func (*Capabilities) V1_1Validation ¶ added in v1.2.0
func (_m *Capabilities) V1_1Validation() bool
V1_1Validation provides a mock function with given fields:
func (*Capabilities) V1_2Validation ¶ added in v1.2.0
func (_m *Capabilities) V1_2Validation() bool
V1_2Validation provides a mock function with given fields:
type IdentityDeserializer ¶ added in v1.2.0
IdentityDeserializer is an autogenerated mock type for the IdentityDeserializer type
func (*IdentityDeserializer) DeserializeIdentity ¶ added in v1.2.0
func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (validation.Identity, error)
DeserializeIdentity provides a mock function with given fields: serializedIdentity
type PolicyEvaluator ¶ added in v1.2.0
PolicyEvaluator is an autogenerated mock type for the PolicyEvaluator type
func (*PolicyEvaluator) Evaluate ¶ added in v1.2.0
func (_m *PolicyEvaluator) Evaluate(policyBytes []byte, signatureSet []*common.SignedData) error
Evaluate provides a mock function with given fields: policyBytes, signatureSet
type StateFetcher ¶ added in v1.2.0
StateFetcher is an autogenerated mock type for the StateFetcher type
func (*StateFetcher) FetchState ¶ added in v1.2.0
func (_m *StateFetcher) FetchState() (validation.State, error)
FetchState provides a mock function with given fields:
type TransactionValidator ¶
TransactionValidator is an autogenerated mock type for the TransactionValidator type
func (*TransactionValidator) Validate ¶
func (_m *TransactionValidator) Validate(txData []byte, policy []byte) errors.TxValidationError
Validate provides a mock function with given fields: txData, policy