fakes

package
Version: v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 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{}

type Leveler

type Leveler struct {
	Stub func(context.Context, string) zapcore.Level
	// contains filtered or unexported fields
}

func (*Leveler) ArgsForCall

func (fake *Leveler) ArgsForCall(i int) (context.Context, string)

func (*Leveler) CallCount

func (fake *Leveler) CallCount() int

func (*Leveler) Calls

func (fake *Leveler) Calls(stub func(context.Context, string) zapcore.Level)

func (*Leveler) Invocations

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

func (*Leveler) Returns

func (fake *Leveler) Returns(result1 zapcore.Level)

func (*Leveler) ReturnsOnCall

func (fake *Leveler) ReturnsOnCall(i int, result1 zapcore.Level)

func (*Leveler) Spy

func (fake *Leveler) Spy(arg1 context.Context, arg2 string) zapcore.Level

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to