fabric: github.com/hyperledger/fabric/core/common/validation/statebased/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/core/common/validation/statebased/mocks"

Index

Package Files

collection_resources.go key_level_validation_parameter_manager.go

type CollectionResources Uses

type CollectionResources struct {
    mock.Mock
}

CollectionResources is an autogenerated mock type for the CollectionResources type

func (*CollectionResources) CollectionValidationInfo Uses

func (_m *CollectionResources) CollectionValidationInfo(chaincodeName string, collectionName string, state validation.State) ([]byte, error, error)

CollectionValidationInfo provides a mock function with given fields: chaincodeName, collectionName, state

type KeyLevelValidationParameterManager Uses

type KeyLevelValidationParameterManager struct {
    mock.Mock
}

KeyLevelValidationParameterManager is an autogenerated mock type for the KeyLevelValidationParameterManager type

func (*KeyLevelValidationParameterManager) ExtractValidationParameterDependency Uses

func (_m *KeyLevelValidationParameterManager) ExtractValidationParameterDependency(blockNum uint64, txNum uint64, rwset []byte)

ExtractValidationParameterDependency provides a mock function with given fields: blockNum, txNum, rwset

func (*KeyLevelValidationParameterManager) GetValidationParameterForKey Uses

func (_m *KeyLevelValidationParameterManager) GetValidationParameterForKey(cc string, coll string, key string, blockNum uint64, txNum uint64) ([]byte, error)

GetValidationParameterForKey provides a mock function with given fields: cc, coll, key, blockNum, txNum

func (*KeyLevelValidationParameterManager) SetTxValidationResult Uses

func (_m *KeyLevelValidationParameterManager) SetTxValidationResult(cc string, blockNum uint64, txNum uint64, err error)

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

Package mocks imports 2 packages (graph). Updated 2019-11-14. Refresh now. Tools for package owners.