mock

package
v0.0.0-...-5a1d878 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 ClientStream

type ClientStream struct {
	CloseSendStub func() error

	RecvStub func() (*peer.ChaincodeMessage, error)

	SendStub func(*peer.ChaincodeMessage) error
	// contains filtered or unexported fields
}

func (*ClientStream) CloseSend

func (fake *ClientStream) CloseSend() error

func (*ClientStream) CloseSendCallCount

func (fake *ClientStream) CloseSendCallCount() int

func (*ClientStream) CloseSendCalls

func (fake *ClientStream) CloseSendCalls(stub func() error)

func (*ClientStream) CloseSendReturns

func (fake *ClientStream) CloseSendReturns(result1 error)

func (*ClientStream) CloseSendReturnsOnCall

func (fake *ClientStream) CloseSendReturnsOnCall(i int, result1 error)

func (*ClientStream) Invocations

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

func (*ClientStream) Recv

func (fake *ClientStream) Recv() (*peer.ChaincodeMessage, error)

func (*ClientStream) RecvCallCount

func (fake *ClientStream) RecvCallCount() int

func (*ClientStream) RecvCalls

func (fake *ClientStream) RecvCalls(stub func() (*peer.ChaincodeMessage, error))

func (*ClientStream) RecvReturns

func (fake *ClientStream) RecvReturns(result1 *peer.ChaincodeMessage, result2 error)

func (*ClientStream) RecvReturnsOnCall

func (fake *ClientStream) RecvReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error)

func (*ClientStream) Send

func (fake *ClientStream) Send(arg1 *peer.ChaincodeMessage) error

func (*ClientStream) SendArgsForCall

func (fake *ClientStream) SendArgsForCall(i int) *peer.ChaincodeMessage

func (*ClientStream) SendCallCount

func (fake *ClientStream) SendCallCount() int

func (*ClientStream) SendCalls

func (fake *ClientStream) SendCalls(stub func(*peer.ChaincodeMessage) error)

func (*ClientStream) SendReturns

func (fake *ClientStream) SendReturns(result1 error)

func (*ClientStream) SendReturnsOnCall

func (fake *ClientStream) SendReturnsOnCall(i int, result1 error)

type PeerChaincodeStream

type PeerChaincodeStream struct {
	RecvStub func() (*peer.ChaincodeMessage, error)

	SendStub func(*peer.ChaincodeMessage) error
	// contains filtered or unexported fields
}

func (*PeerChaincodeStream) Invocations

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

func (*PeerChaincodeStream) Recv

func (*PeerChaincodeStream) RecvCallCount

func (fake *PeerChaincodeStream) RecvCallCount() int

func (*PeerChaincodeStream) RecvCalls

func (fake *PeerChaincodeStream) RecvCalls(stub func() (*peer.ChaincodeMessage, error))

func (*PeerChaincodeStream) RecvReturns

func (fake *PeerChaincodeStream) RecvReturns(result1 *peer.ChaincodeMessage, result2 error)

func (*PeerChaincodeStream) RecvReturnsOnCall

func (fake *PeerChaincodeStream) RecvReturnsOnCall(i int, result1 *peer.ChaincodeMessage, result2 error)

func (*PeerChaincodeStream) Send

func (fake *PeerChaincodeStream) Send(arg1 *peer.ChaincodeMessage) error

func (*PeerChaincodeStream) SendArgsForCall

func (fake *PeerChaincodeStream) SendArgsForCall(i int) *peer.ChaincodeMessage

func (*PeerChaincodeStream) SendCallCount

func (fake *PeerChaincodeStream) SendCallCount() int

func (*PeerChaincodeStream) SendCalls

func (fake *PeerChaincodeStream) SendCalls(stub func(*peer.ChaincodeMessage) error)

func (*PeerChaincodeStream) SendReturns

func (fake *PeerChaincodeStream) SendReturns(result1 error)

func (*PeerChaincodeStream) SendReturnsOnCall

func (fake *PeerChaincodeStream) SendReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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