fabric: github.com/hyperledger/fabric/common/grpclogging/fakes Index | Files

package fakes

import "github.com/hyperledger/fabric/common/grpclogging/fakes"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

echo_service.go leveler.go

type EchoServiceServer Uses

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 Uses

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

func (*EchoServiceServer) EchoArgsForCall Uses

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

func (*EchoServiceServer) EchoCallCount Uses

func (fake *EchoServiceServer) EchoCallCount() int

func (*EchoServiceServer) EchoCalls Uses

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

func (*EchoServiceServer) EchoReturns Uses

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

func (*EchoServiceServer) EchoReturnsOnCall Uses

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

func (*EchoServiceServer) EchoStream Uses

func (fake *EchoServiceServer) EchoStream(arg1 testpb.EchoService_EchoStreamServer) error

func (*EchoServiceServer) EchoStreamArgsForCall Uses

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

func (*EchoServiceServer) EchoStreamCallCount Uses

func (fake *EchoServiceServer) EchoStreamCallCount() int

func (*EchoServiceServer) EchoStreamCalls Uses

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

func (*EchoServiceServer) EchoStreamReturns Uses

func (fake *EchoServiceServer) EchoStreamReturns(result1 error)

func (*EchoServiceServer) EchoStreamReturnsOnCall Uses

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

func (*EchoServiceServer) Invocations Uses

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

type Leveler Uses

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

func (*Leveler) ArgsForCall Uses

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

func (*Leveler) CallCount Uses

func (fake *Leveler) CallCount() int

func (*Leveler) Calls Uses

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

func (*Leveler) Invocations Uses

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

func (*Leveler) Returns Uses

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

func (*Leveler) ReturnsOnCall Uses

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

func (*Leveler) Spy Uses

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

Package fakes imports 5 packages (graph). Updated 2018-12-11. Refresh now. Tools for package owners.