Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CoreComponentFactory = &ComponentFactory{ Services: Services, Resolvers: Resolvers, Middleware: Middleware, Modules: Modules, }
View Source
var Middleware = middleware.Factory{ audit.Name: audit.New, authn.Name: authn.New, authz.Name: authz.New, stats.Name: stats.New, validate.Name: validate.New, }
View Source
var Modules = module.Factory{ assetsmod.Name: assetsmod.New, auditmod.Name: auditmod.New, authnmod.Name: authnmod.New, authzmod.Name: authzmod.New, awsmod.Name: awsmod.New, dynamodbmod.Name: dynamodbmod.New, envoytriage.Name: envoytriage.New, experimentationapi.Name: experimentationapi.New, featureflag.Name: featureflag.New, feedbackmod.Name: feedbackmod.New, healthcheck.Name: healthcheck.New, k8smod.Name: k8smod.New, kinesismod.Name: kinesismod.New, projectmod.Name: projectmod.New, proxymod.Name: proxymod.New, redisexperimentation.Name: redisexperimentation.New, resolvermod.Name: resolvermod.New, serverexperimentation.Name: serverexperimentation.New, shortlinkmod.Name: shortlinkmod.New, slackbotmod.Name: slackbotmod.New, sourcecontrol.Name: sourcecontrol.New, topologymod.Name: topologymod.New, xdsmod.Name: xdsmod.New, }
View Source
var Resolvers = resolver.Factory{ awsresolver.Name: awsresolver.New, coreresolver.Name: coreresolver.New, k8sresolver.Name: k8sresolver.New, }
View Source
var Services = service.Factory{ auditservice.Name: auditservice.New, authnservice.Name: authnservice.New, authnservice.StorageName: authnservice.NewStorage, authzservice.Name: authzservice.New, awsservice.Name: awsservice.New, bot.Name: bot.New, envoyadmin.Name: envoyadmin.New, experimentstore.Name: experimentstore.New, feedbackservice.Name: feedbackservice.New, github.Name: github.New, k8sservice.Name: k8sservice.New, loggingsink.Name: loggingsink.New, pgservice.Name: pgservice.New, project.Name: project.New, shortlinkservice.Name: shortlinkservice.New, slack.Name: slack.New, sourcegraphservice.Name: sourcegraphservice.New, temporal.Name: temporal.New, terminator.Name: terminator.New, topologyservice.Name: topologyservice.New, }
Functions ¶
func Run ¶
func Run(f *Flags, cf *ComponentFactory, assets http.FileSystem)
func RunWithConfig ¶
func RunWithConfig(f *Flags, cfg *gatewayv1.Config, cf *ComponentFactory, assets http.FileSystem)
Types ¶
type ComponentFactory ¶
type ComponentFactory struct { Services service.Factory Resolvers resolver.Factory Middleware middleware.Factory Modules module.Factory }
All available components supply their factory here. Whether or not they are used at runtime is dependent on the configuration passed to the Gateway.
Click to show internal directories.
Click to hide internal directories.