mock

package
v2.0.0-alpha.0...-c5d4087 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaincodeInfoProvider

type ChaincodeInfoProvider struct {
	AllCollectionsConfigPkgStub func(string, string, ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error)

	ChaincodeInfoStub func(string, string, ledger.SimpleQueryExecutor) (*ledger.DeployedChaincodeInfo, error)

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

func (*ChaincodeInfoProvider) AllCollectionsConfigPkg

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkg(arg1 string, arg2 string, arg3 ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error)

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgArgsForCall

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

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgCallCount

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgCallCount() int

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgCalls

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgCalls(stub func(string, string, ledger.SimpleQueryExecutor) (*peer.CollectionConfigPackage, error))

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgReturns

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgReturns(result1 *peer.CollectionConfigPackage, result2 error)

func (*ChaincodeInfoProvider) AllCollectionsConfigPkgReturnsOnCall

func (fake *ChaincodeInfoProvider) AllCollectionsConfigPkgReturnsOnCall(i int, result1 *peer.CollectionConfigPackage, result2 error)

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) (*peer.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 *peer.StaticCollectionConfig, result2 error)

func (*ChaincodeInfoProvider) CollectionInfoReturnsOnCall

func (fake *ChaincodeInfoProvider) CollectionInfoReturnsOnCall(i int, result1 *peer.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