fakes

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 3 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 EchoServiceServer

type EchoServiceServer struct {
	EchoStub func(context.Context, *testpb.Message) (*testpb.Message, error)

	EchoStreamStub func(testpb.EchoService_EchoStreamServer) error
	// contains filtered or unexported fields
}

func (*EchoServiceServer) Echo

func (fake *EchoServiceServer) Echo(arg1 context.Context, arg2 *testpb.Message) (*testpb.Message, error)

func (*EchoServiceServer) EchoArgsForCall

func (fake *EchoServiceServer) EchoArgsForCall(i int) (context.Context, *testpb.Message)

func (*EchoServiceServer) EchoCallCount

func (fake *EchoServiceServer) EchoCallCount() int

func (*EchoServiceServer) EchoCalls

func (fake *EchoServiceServer) EchoCalls(stub func(context.Context, *testpb.Message) (*testpb.Message, error))

func (*EchoServiceServer) EchoReturns

func (fake *EchoServiceServer) EchoReturns(result1 *testpb.Message, result2 error)

func (*EchoServiceServer) EchoReturnsOnCall

func (fake *EchoServiceServer) EchoReturnsOnCall(i int, result1 *testpb.Message, result2 error)

func (*EchoServiceServer) EchoStream

func (*EchoServiceServer) EchoStreamArgsForCall

func (fake *EchoServiceServer) EchoStreamArgsForCall(i int) testpb.EchoService_EchoStreamServer

func (*EchoServiceServer) EchoStreamCallCount

func (fake *EchoServiceServer) EchoStreamCallCount() int

func (*EchoServiceServer) EchoStreamCalls

func (fake *EchoServiceServer) EchoStreamCalls(stub func(testpb.EchoService_EchoStreamServer) error)

func (*EchoServiceServer) EchoStreamReturns

func (fake *EchoServiceServer) EchoStreamReturns(result1 error)

func (*EchoServiceServer) EchoStreamReturnsOnCall

func (fake *EchoServiceServer) EchoStreamReturnsOnCall(i int, result1 error)

func (*EchoServiceServer) Invocations

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

Jump to

Keyboard shortcuts

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