Documentation ¶
Overview ¶
Package mock_server is a generated GoMock package.
Index ¶
- type MockGRPCWebServiceBuilder
- func (m *MockGRPCWebServiceBuilder) AddGRPCServerOptions(options ...grpc.ServerOption) server.GRPCWebServiceBuilder
- func (m *MockGRPCWebServiceBuilder) AddRESTServerConfiguration() server.RESTBuilder
- func (m *MockGRPCWebServiceBuilder) Build() (server.WebService, error)
- func (m *MockGRPCWebServiceBuilder) EXPECT() *MockGRPCWebServiceBuilderMockRecorder
- func (m *MockGRPCWebServiceBuilder) ListenOn(addr string) server.GRPCWebServiceBuilder
- func (m *MockGRPCWebServiceBuilder) RegisterGRPCAPIs(register ...server.GRPCServerAPI) server.GRPCWebServiceBuilder
- func (m *MockGRPCWebServiceBuilder) SetCustomGRPCServer(customServer *grpc.Server) server.GRPCWebServiceBuilder
- func (m *MockGRPCWebServiceBuilder) SetCustomListener(listener net.Listener) server.GRPCWebServiceBuilder
- func (m *MockGRPCWebServiceBuilder) SetLogger(logger func(context.Context, string, ...interface{})) server.GRPCWebServiceBuilder
- func (m *MockGRPCWebServiceBuilder) SetPanicHandler(handler func(interface{}) error) server.GRPCWebServiceBuilder
- type MockGRPCWebServiceBuilderMockRecorder
- func (mr *MockGRPCWebServiceBuilderMockRecorder) AddGRPCServerOptions(options ...interface{}) *gomock.Call
- func (mr *MockGRPCWebServiceBuilderMockRecorder) AddRESTServerConfiguration() *gomock.Call
- func (mr *MockGRPCWebServiceBuilderMockRecorder) Build() *gomock.Call
- func (mr *MockGRPCWebServiceBuilderMockRecorder) ListenOn(addr interface{}) *gomock.Call
- func (mr *MockGRPCWebServiceBuilderMockRecorder) RegisterGRPCAPIs(register ...interface{}) *gomock.Call
- func (mr *MockGRPCWebServiceBuilderMockRecorder) SetCustomGRPCServer(customServer interface{}) *gomock.Call
- func (mr *MockGRPCWebServiceBuilderMockRecorder) SetCustomListener(listener interface{}) *gomock.Call
- func (mr *MockGRPCWebServiceBuilderMockRecorder) SetLogger(logger interface{}) *gomock.Call
- func (mr *MockGRPCWebServiceBuilderMockRecorder) SetPanicHandler(handler interface{}) *gomock.Call
- type MockRESTBuilder
- func (m *MockRESTBuilder) AddGRPCGatewayOptions(options ...runtime.ServeMuxOption) server.RESTBuilder
- func (m *MockRESTBuilder) AddHandler(pattern string, handler http.Handler) server.RESTBuilder
- func (m *MockRESTBuilder) AddHandlerFunc(pattern string, handlerFunc http.HandlerFunc) server.RESTBuilder
- func (m *MockRESTBuilder) BuildRESTPart() server.GRPCWebServiceBuilder
- func (m *MockRESTBuilder) EXPECT() *MockRESTBuilderMockRecorder
- func (m *MockRESTBuilder) ListenOn(addr string) server.RESTBuilder
- func (m *MockRESTBuilder) RegisterGRPCGatewayHandlers(handlers ...server.GRPCGatewayGeneratedHandlers) server.RESTBuilder
- func (m *MockRESTBuilder) SetCustomGRPCGatewayMux(mux *runtime.ServeMux) server.RESTBuilder
- func (m *MockRESTBuilder) SetCustomListener(listener net.Listener) server.RESTBuilder
- func (m *MockRESTBuilder) SetCustomServer(customServer *http.Server) server.RESTBuilder
- type MockRESTBuilderMockRecorder
- func (mr *MockRESTBuilderMockRecorder) AddGRPCGatewayOptions(options ...interface{}) *gomock.Call
- func (mr *MockRESTBuilderMockRecorder) AddHandler(pattern, handler interface{}) *gomock.Call
- func (mr *MockRESTBuilderMockRecorder) AddHandlerFunc(pattern, handlerFunc interface{}) *gomock.Call
- func (mr *MockRESTBuilderMockRecorder) BuildRESTPart() *gomock.Call
- func (mr *MockRESTBuilderMockRecorder) ListenOn(addr interface{}) *gomock.Call
- func (mr *MockRESTBuilderMockRecorder) RegisterGRPCGatewayHandlers(handlers ...interface{}) *gomock.Call
- func (mr *MockRESTBuilderMockRecorder) SetCustomGRPCGatewayMux(mux interface{}) *gomock.Call
- func (mr *MockRESTBuilderMockRecorder) SetCustomListener(listener interface{}) *gomock.Call
- func (mr *MockRESTBuilderMockRecorder) SetCustomServer(customServer interface{}) *gomock.Call
- type MockWebService
- type MockWebServiceMockRecorder
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 ¶
func (m *MockGRPCWebServiceBuilder) Build() (server.WebService, error)
Build mocks base method
func (*MockGRPCWebServiceBuilder) EXPECT ¶
func (m *MockGRPCWebServiceBuilder) EXPECT() *MockGRPCWebServiceBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGRPCWebServiceBuilder) ListenOn ¶
func (m *MockGRPCWebServiceBuilder) ListenOn(addr string) server.GRPCWebServiceBuilder
ListenOn mocks base method
func (*MockGRPCWebServiceBuilder) RegisterGRPCAPIs ¶
func (m *MockGRPCWebServiceBuilder) RegisterGRPCAPIs(register ...server.GRPCServerAPI) server.GRPCWebServiceBuilder
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 ¶
func (mr *MockGRPCWebServiceBuilderMockRecorder) Build() *gomock.Call
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) 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 ¶
func (m *MockRESTBuilder) EXPECT() *MockRESTBuilderMockRecorder
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) 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 ¶
func (m *MockWebService) EXPECT() *MockWebServiceMockRecorder
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
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