mock

package
v0.0.0-...-193ac73 Latest Latest
Warning

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

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

Documentation

Overview

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 Deliver

type Deliver struct {
	SendStub func(*pcommon.Envelope) error

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

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

func (*Deliver) CloseSend

func (fake *Deliver) CloseSend() error

func (*Deliver) CloseSendCallCount

func (fake *Deliver) CloseSendCallCount() int

func (*Deliver) CloseSendReturns

func (fake *Deliver) CloseSendReturns(result1 error)

func (*Deliver) CloseSendReturnsOnCall

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

func (*Deliver) Invocations

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

func (*Deliver) Recv

func (fake *Deliver) Recv() (*pb.DeliverResponse, error)

func (*Deliver) RecvCallCount

func (fake *Deliver) RecvCallCount() int

func (*Deliver) RecvReturns

func (fake *Deliver) RecvReturns(result1 *pb.DeliverResponse, result2 error)

func (*Deliver) RecvReturnsOnCall

func (fake *Deliver) RecvReturnsOnCall(i int, result1 *pb.DeliverResponse, result2 error)

func (*Deliver) Send

func (fake *Deliver) Send(arg1 *pcommon.Envelope) error

func (*Deliver) SendArgsForCall

func (fake *Deliver) SendArgsForCall(i int) *pcommon.Envelope

func (*Deliver) SendCallCount

func (fake *Deliver) SendCallCount() int

func (*Deliver) SendReturns

func (fake *Deliver) SendReturns(result1 error)

func (*Deliver) SendReturnsOnCall

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

Jump to

Keyboard shortcuts

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