grpcfakes

package
v3.0.0-...-6fc1f16 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 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 FakeGrpcConnectionInterface

type FakeGrpcConnectionInterface struct {
	CloseStub func(context.Context) error

	CommandServiceClientStub func() v1.CommandServiceClient

	FileServiceClientStub func() v1.FileServiceClient

	RestartStub func(context.Context) (*grpc.GrpcConnection, error)
	// contains filtered or unexported fields
}

func (*FakeGrpcConnectionInterface) Close

func (*FakeGrpcConnectionInterface) CloseArgsForCall

func (fake *FakeGrpcConnectionInterface) CloseArgsForCall(i int) context.Context

func (*FakeGrpcConnectionInterface) CloseCallCount

func (fake *FakeGrpcConnectionInterface) CloseCallCount() int

func (*FakeGrpcConnectionInterface) CloseCalls

func (fake *FakeGrpcConnectionInterface) CloseCalls(stub func(context.Context) error)

func (*FakeGrpcConnectionInterface) CloseReturns

func (fake *FakeGrpcConnectionInterface) CloseReturns(result1 error)

func (*FakeGrpcConnectionInterface) CloseReturnsOnCall

func (fake *FakeGrpcConnectionInterface) CloseReturnsOnCall(i int, result1 error)

func (*FakeGrpcConnectionInterface) CommandServiceClient

func (fake *FakeGrpcConnectionInterface) CommandServiceClient() v1.CommandServiceClient

func (*FakeGrpcConnectionInterface) CommandServiceClientCallCount

func (fake *FakeGrpcConnectionInterface) CommandServiceClientCallCount() int

func (*FakeGrpcConnectionInterface) CommandServiceClientCalls

func (fake *FakeGrpcConnectionInterface) CommandServiceClientCalls(stub func() v1.CommandServiceClient)

func (*FakeGrpcConnectionInterface) CommandServiceClientReturns

func (fake *FakeGrpcConnectionInterface) CommandServiceClientReturns(result1 v1.CommandServiceClient)

func (*FakeGrpcConnectionInterface) CommandServiceClientReturnsOnCall

func (fake *FakeGrpcConnectionInterface) CommandServiceClientReturnsOnCall(i int, result1 v1.CommandServiceClient)

func (*FakeGrpcConnectionInterface) FileServiceClient

func (fake *FakeGrpcConnectionInterface) FileServiceClient() v1.FileServiceClient

func (*FakeGrpcConnectionInterface) FileServiceClientCallCount

func (fake *FakeGrpcConnectionInterface) FileServiceClientCallCount() int

func (*FakeGrpcConnectionInterface) FileServiceClientCalls

func (fake *FakeGrpcConnectionInterface) FileServiceClientCalls(stub func() v1.FileServiceClient)

func (*FakeGrpcConnectionInterface) FileServiceClientReturns

func (fake *FakeGrpcConnectionInterface) FileServiceClientReturns(result1 v1.FileServiceClient)

func (*FakeGrpcConnectionInterface) FileServiceClientReturnsOnCall

func (fake *FakeGrpcConnectionInterface) FileServiceClientReturnsOnCall(i int, result1 v1.FileServiceClient)

func (*FakeGrpcConnectionInterface) Invocations

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

func (*FakeGrpcConnectionInterface) Restart

func (*FakeGrpcConnectionInterface) RestartArgsForCall

func (fake *FakeGrpcConnectionInterface) RestartArgsForCall(i int) context.Context

func (*FakeGrpcConnectionInterface) RestartCallCount

func (fake *FakeGrpcConnectionInterface) RestartCallCount() int

func (*FakeGrpcConnectionInterface) RestartCalls

func (fake *FakeGrpcConnectionInterface) RestartCalls(stub func(context.Context) (*grpc.GrpcConnection, error))

func (*FakeGrpcConnectionInterface) RestartReturns

func (fake *FakeGrpcConnectionInterface) RestartReturns(result1 *grpc.GrpcConnection, result2 error)

func (*FakeGrpcConnectionInterface) RestartReturnsOnCall

func (fake *FakeGrpcConnectionInterface) RestartReturnsOnCall(i int, result1 *grpc.GrpcConnection, result2 error)

Jump to

Keyboard shortcuts

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