mocks

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServerFactory

type AppServerFactory struct {
	mock.Mock
}

AppServerFactory is an autogenerated mock type for the AppServerFactory type

func (*AppServerFactory) Name

func (_m *AppServerFactory) Name() string

Name provides a mock function with given fields:

func (*AppServerFactory) Serve

func (_m *AppServerFactory) Serve()

Serve provides a mock function with given fields:

func (*AppServerFactory) Shutdown

func (_m *AppServerFactory) Shutdown(ctx context.Context)

Shutdown provides a mock function with given fields: ctx

type ModuleFactory

type ModuleFactory struct {
	mock.Mock
}

ModuleFactory is an autogenerated mock type for the ModuleFactory type

func (*ModuleFactory) GRPCHandler

func (_m *ModuleFactory) GRPCHandler() interfaces.GRPCHandler

GRPCHandler provides a mock function with given fields:

func (*ModuleFactory) GraphQLHandler

func (_m *ModuleFactory) GraphQLHandler() interfaces.GraphQLHandler

GraphQLHandler provides a mock function with given fields:

func (*ModuleFactory) Name

func (_m *ModuleFactory) Name() types.Module

Name provides a mock function with given fields:

func (*ModuleFactory) RESTHandler

func (_m *ModuleFactory) RESTHandler() interfaces.RESTHandler

RESTHandler provides a mock function with given fields:

func (*ModuleFactory) ServerHandler added in v1.7.0

func (_m *ModuleFactory) ServerHandler(serverType types.Server) interfaces.ServerHandler

ServerHandler provides a mock function with given fields: serverType

func (*ModuleFactory) WorkerHandler

func (_m *ModuleFactory) WorkerHandler(workerType types.Worker) interfaces.WorkerHandler

WorkerHandler provides a mock function with given fields: workerType

type ServiceFactory

type ServiceFactory struct {
	mock.Mock
}

ServiceFactory is an autogenerated mock type for the ServiceFactory type

func (*ServiceFactory) GetApplications

func (_m *ServiceFactory) GetApplications() []factory.AppServerFactory

GetApplications provides a mock function with given fields:

func (*ServiceFactory) GetConfig

func (_m *ServiceFactory) GetConfig() *config.Config

GetConfig provides a mock function with given fields:

func (*ServiceFactory) GetDependency

func (_m *ServiceFactory) GetDependency() dependency.Dependency

GetDependency provides a mock function with given fields:

func (*ServiceFactory) GetModules

func (_m *ServiceFactory) GetModules() []factory.ModuleFactory

GetModules provides a mock function with given fields:

func (*ServiceFactory) Name

func (_m *ServiceFactory) Name() types.Service

Name provides a mock function with given fields:

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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