mock

package
v1.4.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2019 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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