mocks

package
v2.0.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionResources

type CollectionResources struct {
	mock.Mock
}

CollectionResources is an autogenerated mock type for the CollectionResources type

func (*CollectionResources) CollectionValidationInfo

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

type KeyLevelValidationParameterManager struct {
	mock.Mock
}

KeyLevelValidationParameterManager is an autogenerated mock type for the KeyLevelValidationParameterManager type

func (*KeyLevelValidationParameterManager) ExtractValidationParameterDependency

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

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

func (*KeyLevelValidationParameterManager) GetValidationParameterForKey

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

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

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

Jump to

Keyboard shortcuts

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