Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler( logger lager.Logger, externalURL string, wrapper wrappa.Wrappa, tokenGenerator auth.TokenGenerator, providerFactory auth.ProviderFactory, oAuthBaseURL string, pipelineDBFactory db.PipelineDBFactory, teamDBFactory db.TeamDBFactory, teamsDB teamserver.TeamsDB, workerDB workerserver.WorkerDB, buildsDB buildserver.BuildsDB, containerDB containerserver.ContainerDB, volumesDB volumeserver.VolumesDB, pipeDB pipes.PipeDB, pipelinesDB db.PipelinesDB, configValidator configserver.ConfigValidator, peerURL string, eventHandlerFactory buildserver.EventHandlerFactory, drain <-chan struct{}, engine engine.Engine, workerClient worker.Client, schedulerFactory jobserver.SchedulerFactory, scannerFactory resourceserver.ScannerFactory, sink *lager.ReconfigurableSink, cliDownloadsDir string, version string, ) (http.Handler, error)
Types ¶
type TeamScopedHandlerFactory ¶
type TeamScopedHandlerFactory struct {
// contains filtered or unexported fields
}
func NewTeamScopedHandlerFactory ¶
func NewTeamScopedHandlerFactory( logger lager.Logger, teamDBFactory db.TeamDBFactory, ) *TeamScopedHandlerFactory
func (*TeamScopedHandlerFactory) HandlerFor ¶
func (f *TeamScopedHandlerFactory) HandlerFor(teamScopedHandler func(db.TeamDB) http.Handler) http.HandlerFunc
Directories
¶
Path | Synopsis |
---|---|
buildserverfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
containerserverfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
jobserverfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
pipesfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
resourceserverfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
teamserverfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
volumeserverfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
workerserverfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.