mocks

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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