mocks

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capabilities

type Capabilities struct {
	mock.Mock
}

Capabilities is an autogenerated mock type for the Capabilities type

func (*Capabilities) ACLs

func (_m *Capabilities) ACLs() bool

ACLs provides a mock function with given fields:

func (*Capabilities) CollectionUpgrade

func (_m *Capabilities) CollectionUpgrade() bool

CollectionUpgrade provides a mock function with given fields:

func (*Capabilities) FabToken

func (_m *Capabilities) FabToken() bool

FabToken provides a mock function with given fields:

func (*Capabilities) ForbidDuplicateTXIdInBlock

func (_m *Capabilities) ForbidDuplicateTXIdInBlock() bool

ForbidDuplicateTXIdInBlock provides a mock function with given fields:

func (*Capabilities) KeyLevelEndorsement

func (_m *Capabilities) KeyLevelEndorsement() bool

KeyLevelEndorsement provides a mock function with given fields:

func (*Capabilities) MetadataLifecycle

func (_m *Capabilities) MetadataLifecycle() bool

MetadataLifecycle provides a mock function with given fields:

func (*Capabilities) PrivateChannelData

func (_m *Capabilities) PrivateChannelData() bool

PrivateChannelData provides a mock function with given fields:

func (*Capabilities) StorePvtDataOfInvalidTx

func (_m *Capabilities) StorePvtDataOfInvalidTx() bool

StorePvtDataOfInvalidTx provides a mock function with given fields:

func (*Capabilities) Supported

func (_m *Capabilities) Supported() error

Supported provides a mock function with given fields:

func (*Capabilities) V1_1Validation

func (_m *Capabilities) V1_1Validation() bool

V1_1Validation provides a mock function with given fields:

func (*Capabilities) V1_2Validation

func (_m *Capabilities) V1_2Validation() bool

V1_2Validation provides a mock function with given fields:

func (*Capabilities) V1_3Validation

func (_m *Capabilities) V1_3Validation() bool

V1_3Validation provides a mock function with given fields:

type IdentityDeserializer

type IdentityDeserializer struct {
	mock.Mock
}

IdentityDeserializer is an autogenerated mock type for the IdentityDeserializer type

func (*IdentityDeserializer) DeserializeIdentity

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

DeserializeIdentity provides a mock function with given fields: serializedIdentity

type PolicyEvaluator

type PolicyEvaluator struct {
	mock.Mock
}

PolicyEvaluator is an autogenerated mock type for the PolicyEvaluator type

func (*PolicyEvaluator) Evaluate

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

Evaluate provides a mock function with given fields: policyBytes, signatureSet

type StateBasedValidator

type StateBasedValidator struct {
	mock.Mock
}

StateBasedValidator is an autogenerated mock type for the StateBasedValidator type

func (*StateBasedValidator) PostValidate

func (_m *StateBasedValidator) PostValidate(cc string, blockNum uint64, txNum uint64, err error)

PostValidate provides a mock function with given fields: cc, blockNum, txNum, err

func (*StateBasedValidator) PreValidate

func (_m *StateBasedValidator) PreValidate(txNum uint64, block *common.Block)

PreValidate provides a mock function with given fields: 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 provides a mock function with given fields: cc, blockNum, txNum, rwset, prp, ep, endorsements

type StateFetcher

type StateFetcher struct {
	mock.Mock
}

StateFetcher is an autogenerated mock type for the StateFetcher type

func (*StateFetcher) FetchState

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

FetchState provides a mock function with given fields:

Jump to

Keyboard shortcuts

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