mock_server

package
v1.0.33 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mock_server is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGRPCWebServiceBuilder

type MockGRPCWebServiceBuilder struct {
	// contains filtered or unexported fields
}

MockGRPCWebServiceBuilder is a mock of GRPCWebServiceBuilder interface.

func NewMockGRPCWebServiceBuilder

func NewMockGRPCWebServiceBuilder(ctrl *gomock.Controller) *MockGRPCWebServiceBuilder

NewMockGRPCWebServiceBuilder creates a new mock instance.

func (*MockGRPCWebServiceBuilder) AddGRPCServerOptions

func (m *MockGRPCWebServiceBuilder) AddGRPCServerOptions(options ...grpc.ServerOption) server.GRPCWebServiceBuilder

AddGRPCServerOptions mocks base method.

func (*MockGRPCWebServiceBuilder) AddRESTServerConfiguration

func (m *MockGRPCWebServiceBuilder) AddRESTServerConfiguration() server.RESTBuilder

AddRESTServerConfiguration mocks base method.

func (*MockGRPCWebServiceBuilder) Build

Build mocks base method.

func (*MockGRPCWebServiceBuilder) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGRPCWebServiceBuilder) ListenOn

ListenOn mocks base method.

func (*MockGRPCWebServiceBuilder) RegisterGRPCAPIs

RegisterGRPCAPIs mocks base method.

func (*MockGRPCWebServiceBuilder) SetCustomGRPCServer

func (m *MockGRPCWebServiceBuilder) SetCustomGRPCServer(customServer *grpc.Server) server.GRPCWebServiceBuilder

SetCustomGRPCServer mocks base method.

func (*MockGRPCWebServiceBuilder) SetCustomListener

func (m *MockGRPCWebServiceBuilder) SetCustomListener(listener net.Listener) server.GRPCWebServiceBuilder

SetCustomListener mocks base method.

func (*MockGRPCWebServiceBuilder) SetLogger

func (m *MockGRPCWebServiceBuilder) SetLogger(logger func(context.Context, string, ...interface{})) server.GRPCWebServiceBuilder

SetLogger mocks base method.

func (*MockGRPCWebServiceBuilder) SetPanicHandler

func (m *MockGRPCWebServiceBuilder) SetPanicHandler(handler func(interface{}) error) server.GRPCWebServiceBuilder

SetPanicHandler mocks base method.

type MockGRPCWebServiceBuilderMockRecorder

type MockGRPCWebServiceBuilderMockRecorder struct {
	// contains filtered or unexported fields
}

MockGRPCWebServiceBuilderMockRecorder is the mock recorder for MockGRPCWebServiceBuilder.

func (*MockGRPCWebServiceBuilderMockRecorder) AddGRPCServerOptions

func (mr *MockGRPCWebServiceBuilderMockRecorder) AddGRPCServerOptions(options ...interface{}) *gomock.Call

AddGRPCServerOptions indicates an expected call of AddGRPCServerOptions.

func (*MockGRPCWebServiceBuilderMockRecorder) AddRESTServerConfiguration

func (mr *MockGRPCWebServiceBuilderMockRecorder) AddRESTServerConfiguration() *gomock.Call

AddRESTServerConfiguration indicates an expected call of AddRESTServerConfiguration.

func (*MockGRPCWebServiceBuilderMockRecorder) Build

Build indicates an expected call of Build.

func (*MockGRPCWebServiceBuilderMockRecorder) ListenOn

func (mr *MockGRPCWebServiceBuilderMockRecorder) ListenOn(addr interface{}) *gomock.Call

ListenOn indicates an expected call of ListenOn.

func (*MockGRPCWebServiceBuilderMockRecorder) RegisterGRPCAPIs

func (mr *MockGRPCWebServiceBuilderMockRecorder) RegisterGRPCAPIs(register ...interface{}) *gomock.Call

RegisterGRPCAPIs indicates an expected call of RegisterGRPCAPIs.

func (*MockGRPCWebServiceBuilderMockRecorder) SetCustomGRPCServer

func (mr *MockGRPCWebServiceBuilderMockRecorder) SetCustomGRPCServer(customServer interface{}) *gomock.Call

SetCustomGRPCServer indicates an expected call of SetCustomGRPCServer.

func (*MockGRPCWebServiceBuilderMockRecorder) SetCustomListener

func (mr *MockGRPCWebServiceBuilderMockRecorder) SetCustomListener(listener interface{}) *gomock.Call

SetCustomListener indicates an expected call of SetCustomListener.

func (*MockGRPCWebServiceBuilderMockRecorder) SetLogger

func (mr *MockGRPCWebServiceBuilderMockRecorder) SetLogger(logger interface{}) *gomock.Call

SetLogger indicates an expected call of SetLogger.

func (*MockGRPCWebServiceBuilderMockRecorder) SetPanicHandler

func (mr *MockGRPCWebServiceBuilderMockRecorder) SetPanicHandler(handler interface{}) *gomock.Call

SetPanicHandler indicates an expected call of SetPanicHandler.

type MockRESTBuilder

type MockRESTBuilder struct {
	// contains filtered or unexported fields
}

MockRESTBuilder is a mock of RESTBuilder interface.

func NewMockRESTBuilder

func NewMockRESTBuilder(ctrl *gomock.Controller) *MockRESTBuilder

NewMockRESTBuilder creates a new mock instance.

func (*MockRESTBuilder) AddGRPCGatewayInterceptors

func (m *MockRESTBuilder) AddGRPCGatewayInterceptors(interceptors ...server.GRPCGatewayInterceptor) server.RESTBuilder

AddGRPCGatewayInterceptors mocks base method.

func (*MockRESTBuilder) AddGRPCGatewayOptions

func (m *MockRESTBuilder) AddGRPCGatewayOptions(options ...runtime.ServeMuxOption) server.RESTBuilder

AddGRPCGatewayOptions mocks base method.

func (*MockRESTBuilder) AddHandler

func (m *MockRESTBuilder) AddHandler(pattern string, handler http.Handler) server.RESTBuilder

AddHandler mocks base method.

func (*MockRESTBuilder) AddHandlerFunc

func (m *MockRESTBuilder) AddHandlerFunc(pattern string, handlerFunc http.HandlerFunc) server.RESTBuilder

AddHandlerFunc mocks base method.

func (*MockRESTBuilder) BuildRESTPart

func (m *MockRESTBuilder) BuildRESTPart() server.GRPCWebServiceBuilder

BuildRESTPart mocks base method.

func (*MockRESTBuilder) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRESTBuilder) ListenOn

func (m *MockRESTBuilder) ListenOn(addr string) server.RESTBuilder

ListenOn mocks base method.

func (*MockRESTBuilder) RegisterGRPCGatewayHandlers

func (m *MockRESTBuilder) RegisterGRPCGatewayHandlers(handlers ...server.GRPCGatewayGeneratedHandlers) server.RESTBuilder

RegisterGRPCGatewayHandlers mocks base method.

func (*MockRESTBuilder) SetCustomGRPCGatewayMux

func (m *MockRESTBuilder) SetCustomGRPCGatewayMux(mux *runtime.ServeMux) server.RESTBuilder

SetCustomGRPCGatewayMux mocks base method.

func (*MockRESTBuilder) SetCustomListener

func (m *MockRESTBuilder) SetCustomListener(listener net.Listener) server.RESTBuilder

SetCustomListener mocks base method.

func (*MockRESTBuilder) SetCustomServer

func (m *MockRESTBuilder) SetCustomServer(customServer *http.Server) server.RESTBuilder

SetCustomServer mocks base method.

type MockRESTBuilderMockRecorder

type MockRESTBuilderMockRecorder struct {
	// contains filtered or unexported fields
}

MockRESTBuilderMockRecorder is the mock recorder for MockRESTBuilder.

func (*MockRESTBuilderMockRecorder) AddGRPCGatewayInterceptors

func (mr *MockRESTBuilderMockRecorder) AddGRPCGatewayInterceptors(interceptors ...interface{}) *gomock.Call

AddGRPCGatewayInterceptors indicates an expected call of AddGRPCGatewayInterceptors.

func (*MockRESTBuilderMockRecorder) AddGRPCGatewayOptions

func (mr *MockRESTBuilderMockRecorder) AddGRPCGatewayOptions(options ...interface{}) *gomock.Call

AddGRPCGatewayOptions indicates an expected call of AddGRPCGatewayOptions.

func (*MockRESTBuilderMockRecorder) AddHandler

func (mr *MockRESTBuilderMockRecorder) AddHandler(pattern, handler interface{}) *gomock.Call

AddHandler indicates an expected call of AddHandler.

func (*MockRESTBuilderMockRecorder) AddHandlerFunc

func (mr *MockRESTBuilderMockRecorder) AddHandlerFunc(pattern, handlerFunc interface{}) *gomock.Call

AddHandlerFunc indicates an expected call of AddHandlerFunc.

func (*MockRESTBuilderMockRecorder) BuildRESTPart

func (mr *MockRESTBuilderMockRecorder) BuildRESTPart() *gomock.Call

BuildRESTPart indicates an expected call of BuildRESTPart.

func (*MockRESTBuilderMockRecorder) ListenOn

func (mr *MockRESTBuilderMockRecorder) ListenOn(addr interface{}) *gomock.Call

ListenOn indicates an expected call of ListenOn.

func (*MockRESTBuilderMockRecorder) RegisterGRPCGatewayHandlers

func (mr *MockRESTBuilderMockRecorder) RegisterGRPCGatewayHandlers(handlers ...interface{}) *gomock.Call

RegisterGRPCGatewayHandlers indicates an expected call of RegisterGRPCGatewayHandlers.

func (*MockRESTBuilderMockRecorder) SetCustomGRPCGatewayMux

func (mr *MockRESTBuilderMockRecorder) SetCustomGRPCGatewayMux(mux interface{}) *gomock.Call

SetCustomGRPCGatewayMux indicates an expected call of SetCustomGRPCGatewayMux.

func (*MockRESTBuilderMockRecorder) SetCustomListener

func (mr *MockRESTBuilderMockRecorder) SetCustomListener(listener interface{}) *gomock.Call

SetCustomListener indicates an expected call of SetCustomListener.

func (*MockRESTBuilderMockRecorder) SetCustomServer

func (mr *MockRESTBuilderMockRecorder) SetCustomServer(customServer interface{}) *gomock.Call

SetCustomServer indicates an expected call of SetCustomServer.

type MockWebService

type MockWebService struct {
	// contains filtered or unexported fields
}

MockWebService is a mock of WebService interface.

func NewMockWebService

func NewMockWebService(ctrl *gomock.Controller) *MockWebService

NewMockWebService creates a new mock instance.

func (*MockWebService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWebService) Ports

func (m *MockWebService) Ports() []server.ListenInfo

Ports mocks base method.

func (*MockWebService) Run

func (m *MockWebService) Run(ctx context.Context) error

Run mocks base method.

func (*MockWebService) Stop

func (m *MockWebService) Stop(ctx context.Context) error

Stop mocks base method.

type MockWebServiceMockRecorder

type MockWebServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockWebServiceMockRecorder is the mock recorder for MockWebService.

func (*MockWebServiceMockRecorder) Ports

func (mr *MockWebServiceMockRecorder) Ports() *gomock.Call

Ports indicates an expected call of Ports.

func (*MockWebServiceMockRecorder) Run

func (mr *MockWebServiceMockRecorder) Run(ctx interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockWebServiceMockRecorder) Stop

func (mr *MockWebServiceMockRecorder) Stop(ctx interface{}) *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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