mocks

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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