mock

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaincodeInfoProvider

type ChaincodeInfoProvider struct {
	ChaincodeInfoStub func(string, string, ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)

	CollectionInfoStub func(string, string, string, ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error)
	// contains filtered or unexported fields
}

func (*ChaincodeInfoProvider) ChaincodeInfo

func (*ChaincodeInfoProvider) ChaincodeInfoArgsForCall

func (fake *ChaincodeInfoProvider) ChaincodeInfoArgsForCall(i int) (string, string, ledger.SimpleQueryExecutor)

func (*ChaincodeInfoProvider) ChaincodeInfoCallCount

func (fake *ChaincodeInfoProvider) ChaincodeInfoCallCount() int

func (*ChaincodeInfoProvider) ChaincodeInfoCalls

func (*ChaincodeInfoProvider) ChaincodeInfoReturns

func (fake *ChaincodeInfoProvider) ChaincodeInfoReturns(result1 *ledger.DeployedChaincodeInfo, result2 error)

func (*ChaincodeInfoProvider) ChaincodeInfoReturnsOnCall

func (fake *ChaincodeInfoProvider) ChaincodeInfoReturnsOnCall(i int, result1 *ledger.DeployedChaincodeInfo, result2 error)

func (*ChaincodeInfoProvider) CollectionInfo

func (fake *ChaincodeInfoProvider) CollectionInfo(arg1 string, arg2 string, arg3 string, arg4 ledger.SimpleQueryExecutor) (*common.StaticCollectionConfig, error)

func (*ChaincodeInfoProvider) CollectionInfoArgsForCall

func (fake *ChaincodeInfoProvider) CollectionInfoArgsForCall(i int) (string, string, string, ledger.SimpleQueryExecutor)

func (*ChaincodeInfoProvider) CollectionInfoCallCount

func (fake *ChaincodeInfoProvider) CollectionInfoCallCount() int

func (*ChaincodeInfoProvider) CollectionInfoCalls

func (*ChaincodeInfoProvider) CollectionInfoReturns

func (fake *ChaincodeInfoProvider) CollectionInfoReturns(result1 *common.StaticCollectionConfig, result2 error)

func (*ChaincodeInfoProvider) CollectionInfoReturnsOnCall

func (fake *ChaincodeInfoProvider) CollectionInfoReturnsOnCall(i int, result1 *common.StaticCollectionConfig, result2 error)

func (*ChaincodeInfoProvider) Invocations

func (fake *ChaincodeInfoProvider) Invocations() map[string][][]interface{}

type IdentityDeserializerFactory

type IdentityDeserializerFactory struct {
	GetIdentityDeserializerStub func(string) msp.IdentityDeserializer
	// contains filtered or unexported fields
}

func (*IdentityDeserializerFactory) GetIdentityDeserializer

func (fake *IdentityDeserializerFactory) GetIdentityDeserializer(arg1 string) msp.IdentityDeserializer

func (*IdentityDeserializerFactory) GetIdentityDeserializerArgsForCall

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerArgsForCall(i int) string

func (*IdentityDeserializerFactory) GetIdentityDeserializerCallCount

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerCallCount() int

func (*IdentityDeserializerFactory) GetIdentityDeserializerCalls

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerCalls(stub func(string) msp.IdentityDeserializer)

func (*IdentityDeserializerFactory) GetIdentityDeserializerReturns

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerReturns(result1 msp.IdentityDeserializer)

func (*IdentityDeserializerFactory) GetIdentityDeserializerReturnsOnCall

func (fake *IdentityDeserializerFactory) GetIdentityDeserializerReturnsOnCall(i int, result1 msp.IdentityDeserializer)

func (*IdentityDeserializerFactory) Invocations

func (fake *IdentityDeserializerFactory) Invocations() map[string][][]interface{}

type QueryExecutorFactory

type QueryExecutorFactory struct {
	NewQueryExecutorStub func() (ledger.QueryExecutor, error)
	// contains filtered or unexported fields
}

func (*QueryExecutorFactory) Invocations

func (fake *QueryExecutorFactory) Invocations() map[string][][]interface{}

func (*QueryExecutorFactory) NewQueryExecutor

func (fake *QueryExecutorFactory) NewQueryExecutor() (ledger.QueryExecutor, error)

func (*QueryExecutorFactory) NewQueryExecutorCallCount

func (fake *QueryExecutorFactory) NewQueryExecutorCallCount() int

func (*QueryExecutorFactory) NewQueryExecutorCalls

func (fake *QueryExecutorFactory) NewQueryExecutorCalls(stub func() (ledger.QueryExecutor, error))

func (*QueryExecutorFactory) NewQueryExecutorReturns

func (fake *QueryExecutorFactory) NewQueryExecutorReturns(result1 ledger.QueryExecutor, result2 error)

func (*QueryExecutorFactory) NewQueryExecutorReturnsOnCall

func (fake *QueryExecutorFactory) NewQueryExecutorReturnsOnCall(i int, result1 ledger.QueryExecutor, result2 error)

Jump to

Keyboard shortcuts

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