mock

package
v1.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 7 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 DeliverClient

type DeliverClient struct {
	DeliverStub func(ctx context.Context, opts ...grpc.CallOption) (api.DeliverService, error)
	// contains filtered or unexported fields
}

func (*DeliverClient) Deliver

func (fake *DeliverClient) Deliver(ctx context.Context, opts ...grpc.CallOption) (api.DeliverService, error)

func (*DeliverClient) DeliverArgsForCall

func (fake *DeliverClient) DeliverArgsForCall(i int) (context.Context, []grpc.CallOption)

func (*DeliverClient) DeliverCallCount

func (fake *DeliverClient) DeliverCallCount() int

func (*DeliverClient) DeliverReturns

func (fake *DeliverClient) DeliverReturns(result1 api.DeliverService, result2 error)

func (*DeliverClient) DeliverReturnsOnCall

func (fake *DeliverClient) DeliverReturnsOnCall(i int, result1 api.DeliverService, result2 error)

func (*DeliverClient) Invocations

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

type DeliverService

type DeliverService struct {
	SendStub func(*cb.Envelope) error

	RecvStub func() (*ab.DeliverResponse, error)

	CloseSendStub func() error
	// contains filtered or unexported fields
}

func (*DeliverService) CloseSend

func (fake *DeliverService) CloseSend() error

func (*DeliverService) CloseSendCallCount

func (fake *DeliverService) CloseSendCallCount() int

func (*DeliverService) CloseSendReturns

func (fake *DeliverService) CloseSendReturns(result1 error)

func (*DeliverService) CloseSendReturnsOnCall

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

func (*DeliverService) Invocations

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

func (*DeliverService) Recv

func (fake *DeliverService) Recv() (*ab.DeliverResponse, error)

func (*DeliverService) RecvCallCount

func (fake *DeliverService) RecvCallCount() int

func (*DeliverService) RecvReturns

func (fake *DeliverService) RecvReturns(result1 *ab.DeliverResponse, result2 error)

func (*DeliverService) RecvReturnsOnCall

func (fake *DeliverService) RecvReturnsOnCall(i int, result1 *ab.DeliverResponse, result2 error)

func (*DeliverService) Send

func (fake *DeliverService) Send(arg1 *cb.Envelope) error

func (*DeliverService) SendArgsForCall

func (fake *DeliverService) SendArgsForCall(i int) *cb.Envelope

func (*DeliverService) SendCallCount

func (fake *DeliverService) SendCallCount() int

func (*DeliverService) SendReturns

func (fake *DeliverService) SendReturns(result1 error)

func (*DeliverService) SendReturnsOnCall

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

type PeerDeliverClient

type PeerDeliverClient struct {
	DeliverStub func(ctx context.Context, opts ...grpc.CallOption) (apichaincode.Deliver, error)

	DeliverFilteredStub func(ctx context.Context, opts ...grpc.CallOption) (apichaincode.Deliver, error)
	// contains filtered or unexported fields
}

func (*PeerDeliverClient) Deliver

func (fake *PeerDeliverClient) Deliver(ctx context.Context, opts ...grpc.CallOption) (apichaincode.Deliver, error)

func (*PeerDeliverClient) DeliverArgsForCall

func (fake *PeerDeliverClient) DeliverArgsForCall(i int) (context.Context, []grpc.CallOption)

func (*PeerDeliverClient) DeliverCallCount

func (fake *PeerDeliverClient) DeliverCallCount() int

func (*PeerDeliverClient) DeliverFiltered

func (fake *PeerDeliverClient) DeliverFiltered(ctx context.Context, opts ...grpc.CallOption) (apichaincode.Deliver, error)

func (*PeerDeliverClient) DeliverFilteredArgsForCall

func (fake *PeerDeliverClient) DeliverFilteredArgsForCall(i int) (context.Context, []grpc.CallOption)

func (*PeerDeliverClient) DeliverFilteredCallCount

func (fake *PeerDeliverClient) DeliverFilteredCallCount() int

func (*PeerDeliverClient) DeliverFilteredReturns

func (fake *PeerDeliverClient) DeliverFilteredReturns(result1 apichaincode.Deliver, result2 error)

func (*PeerDeliverClient) DeliverFilteredReturnsOnCall

func (fake *PeerDeliverClient) DeliverFilteredReturnsOnCall(i int, result1 apichaincode.Deliver, result2 error)

func (*PeerDeliverClient) DeliverReturns

func (fake *PeerDeliverClient) DeliverReturns(result1 apichaincode.Deliver, result2 error)

func (*PeerDeliverClient) DeliverReturnsOnCall

func (fake *PeerDeliverClient) DeliverReturnsOnCall(i int, result1 apichaincode.Deliver, result2 error)

func (*PeerDeliverClient) Invocations

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

Jump to

Keyboard shortcuts

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