mock

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 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 Chaincode

type Chaincode struct {
	InitStub func(shim.ChaincodeStubInterface) peer.Response

	InvokeStub func(shim.ChaincodeStubInterface) peer.Response
	// contains filtered or unexported fields
}

func (*Chaincode) Init

func (*Chaincode) InitArgsForCall

func (fake *Chaincode) InitArgsForCall(i int) shim.ChaincodeStubInterface

func (*Chaincode) InitCallCount

func (fake *Chaincode) InitCallCount() int

func (*Chaincode) InitCalls

func (fake *Chaincode) InitCalls(stub func(shim.ChaincodeStubInterface) peer.Response)

func (*Chaincode) InitReturns

func (fake *Chaincode) InitReturns(result1 peer.Response)

func (*Chaincode) InitReturnsOnCall

func (fake *Chaincode) InitReturnsOnCall(i int, result1 peer.Response)

func (*Chaincode) Invocations

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

func (*Chaincode) Invoke

func (fake *Chaincode) Invoke(arg1 shim.ChaincodeStubInterface) peer.Response

func (*Chaincode) InvokeArgsForCall

func (fake *Chaincode) InvokeArgsForCall(i int) shim.ChaincodeStubInterface

func (*Chaincode) InvokeCallCount

func (fake *Chaincode) InvokeCallCount() int

func (*Chaincode) InvokeCalls

func (fake *Chaincode) InvokeCalls(stub func(shim.ChaincodeStubInterface) peer.Response)

func (*Chaincode) InvokeReturns

func (fake *Chaincode) InvokeReturns(result1 peer.Response)

func (*Chaincode) InvokeReturnsOnCall

func (fake *Chaincode) InvokeReturnsOnCall(i int, result1 peer.Response)

type ChaincodeStreamHandler

type ChaincodeStreamHandler struct {
	HandleChaincodeStreamStub func(ccintf.ChaincodeStream) error

	LaunchInProcStub func(string) <-chan struct{}
	// contains filtered or unexported fields
}

func (*ChaincodeStreamHandler) HandleChaincodeStream

func (fake *ChaincodeStreamHandler) HandleChaincodeStream(arg1 ccintf.ChaincodeStream) error

func (*ChaincodeStreamHandler) HandleChaincodeStreamArgsForCall

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamArgsForCall(i int) ccintf.ChaincodeStream

func (*ChaincodeStreamHandler) HandleChaincodeStreamCallCount

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamCallCount() int

func (*ChaincodeStreamHandler) HandleChaincodeStreamCalls

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamCalls(stub func(ccintf.ChaincodeStream) error)

func (*ChaincodeStreamHandler) HandleChaincodeStreamReturns

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamReturns(result1 error)

func (*ChaincodeStreamHandler) HandleChaincodeStreamReturnsOnCall

func (fake *ChaincodeStreamHandler) HandleChaincodeStreamReturnsOnCall(i int, result1 error)

func (*ChaincodeStreamHandler) Invocations

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

func (*ChaincodeStreamHandler) LaunchInProc

func (fake *ChaincodeStreamHandler) LaunchInProc(arg1 string) <-chan struct{}

func (*ChaincodeStreamHandler) LaunchInProcArgsForCall

func (fake *ChaincodeStreamHandler) LaunchInProcArgsForCall(i int) string

func (*ChaincodeStreamHandler) LaunchInProcCallCount

func (fake *ChaincodeStreamHandler) LaunchInProcCallCount() int

func (*ChaincodeStreamHandler) LaunchInProcCalls

func (fake *ChaincodeStreamHandler) LaunchInProcCalls(stub func(string) <-chan struct{})

func (*ChaincodeStreamHandler) LaunchInProcReturns

func (fake *ChaincodeStreamHandler) LaunchInProcReturns(result1 <-chan struct{})

func (*ChaincodeStreamHandler) LaunchInProcReturnsOnCall

func (fake *ChaincodeStreamHandler) LaunchInProcReturnsOnCall(i int, result1 <-chan struct{})

type SelfDescribingSysCC

type SelfDescribingSysCC struct {
	ChaincodeStub func() shim.Chaincode

	NameStub func() string
	// contains filtered or unexported fields
}

func (*SelfDescribingSysCC) Chaincode

func (fake *SelfDescribingSysCC) Chaincode() shim.Chaincode

func (*SelfDescribingSysCC) ChaincodeCallCount

func (fake *SelfDescribingSysCC) ChaincodeCallCount() int

func (*SelfDescribingSysCC) ChaincodeCalls

func (fake *SelfDescribingSysCC) ChaincodeCalls(stub func() shim.Chaincode)

func (*SelfDescribingSysCC) ChaincodeReturns

func (fake *SelfDescribingSysCC) ChaincodeReturns(result1 shim.Chaincode)

func (*SelfDescribingSysCC) ChaincodeReturnsOnCall

func (fake *SelfDescribingSysCC) ChaincodeReturnsOnCall(i int, result1 shim.Chaincode)

func (*SelfDescribingSysCC) Invocations

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

func (*SelfDescribingSysCC) Name

func (fake *SelfDescribingSysCC) Name() string

func (*SelfDescribingSysCC) NameCallCount

func (fake *SelfDescribingSysCC) NameCallCount() int

func (*SelfDescribingSysCC) NameCalls

func (fake *SelfDescribingSysCC) NameCalls(stub func() string)

func (*SelfDescribingSysCC) NameReturns

func (fake *SelfDescribingSysCC) NameReturns(result1 string)

func (*SelfDescribingSysCC) NameReturnsOnCall

func (fake *SelfDescribingSysCC) NameReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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