fabric-chaincode-go: github.com/hyperledger/fabric-chaincode-go/shim/internal/mock Index | Files

package mock

import "github.com/hyperledger/fabric-chaincode-go/shim/internal/mock"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

client_stream.go peer_chaincode_stream.go

type ClientStream Uses

type ClientStream struct {
    CloseSendStub func() error

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

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

func (*ClientStream) CloseSend Uses

func (fake *ClientStream) CloseSend() error

func (*ClientStream) CloseSendCallCount Uses

func (fake *ClientStream) CloseSendCallCount() int

func (*ClientStream) CloseSendCalls Uses

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

func (*ClientStream) CloseSendReturns Uses

func (fake *ClientStream) CloseSendReturns(result1 error)

func (*ClientStream) CloseSendReturnsOnCall Uses

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

func (*ClientStream) Invocations Uses

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

func (*ClientStream) Recv Uses

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

func (*ClientStream) RecvCallCount Uses

func (fake *ClientStream) RecvCallCount() int

func (*ClientStream) RecvCalls Uses

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

func (*ClientStream) RecvReturns Uses

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

func (*ClientStream) RecvReturnsOnCall Uses

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

func (*ClientStream) Send Uses

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

func (*ClientStream) SendArgsForCall Uses

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

func (*ClientStream) SendCallCount Uses

func (fake *ClientStream) SendCallCount() int

func (*ClientStream) SendCalls Uses

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

func (*ClientStream) SendReturns Uses

func (fake *ClientStream) SendReturns(result1 error)

func (*ClientStream) SendReturnsOnCall Uses

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

type PeerChaincodeStream Uses

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

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

func (*PeerChaincodeStream) Invocations Uses

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

func (*PeerChaincodeStream) Recv Uses

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

func (*PeerChaincodeStream) RecvCallCount Uses

func (fake *PeerChaincodeStream) RecvCallCount() int

func (*PeerChaincodeStream) RecvCalls Uses

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

func (*PeerChaincodeStream) RecvReturns Uses

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

func (*PeerChaincodeStream) RecvReturnsOnCall Uses

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

func (*PeerChaincodeStream) Send Uses

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

func (*PeerChaincodeStream) SendArgsForCall Uses

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

func (*PeerChaincodeStream) SendCallCount Uses

func (fake *PeerChaincodeStream) SendCallCount() int

func (*PeerChaincodeStream) SendCalls Uses

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

func (*PeerChaincodeStream) SendReturns Uses

func (fake *PeerChaincodeStream) SendReturns(result1 error)

func (*PeerChaincodeStream) SendReturnsOnCall Uses

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

Package mock imports 2 packages (graph). Updated 2019-12-16. Refresh now. Tools for package owners.