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, authTokenGenerator auth.AuthTokenGenerator, csrfTokenGenerator auth.CSRFTokenGenerator, providerFactory auth.ProviderFactory, oAuthBaseURL string, dbTeamFactory db.TeamFactory, dbPipelineFactory db.PipelineFactory, dbWorkerFactory db.WorkerFactory, volumeFactory db.VolumeFactory, containerFactory db.ContainerFactory, dbBuildFactory db.BuildFactory, peerURL string, eventHandlerFactory buildserver.EventHandlerFactory, drain <-chan struct{}, engine engine.Engine, workerClient worker.Client, schedulerFactory jobserver.SchedulerFactory, scannerFactory resourceserver.ScannerFactory, sink *lager.ReconfigurableSink, expire time.Duration, isTLSEnabled bool, cliDownloadsDir string, version string, workerVersion string, variablesFactory creds.VariablesFactory, ) (http.Handler, error)
Types ¶
type TeamScopedHandlerFactory ¶
type TeamScopedHandlerFactory struct {
// contains filtered or unexported fields
}
func NewTeamScopedHandlerFactory ¶
func NewTeamScopedHandlerFactory( logger lager.Logger, teamFactory db.TeamFactory, ) *TeamScopedHandlerFactory
func (*TeamScopedHandlerFactory) HandlerFor ¶
func (f *TeamScopedHandlerFactory) HandlerFor(teamScopedHandler func(db.Team) http.Handler) http.HandlerFunc
Directories ¶
Path | Synopsis |
---|---|
jobserverfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
resourceserverfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.