api

package
v0.0.0-...-7f11b89 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 29 Imported by: ? 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

func NewHandler

func NewHandler(
	logger lager.Logger,

	externalURL string,

	wrapper wrappa.Wrappa,

	authTokenGenerator auth.AuthTokenGenerator,
	csrfTokenGenerator auth.CSRFTokenGenerator,
	providerFactory auth.ProviderFactory,
	oAuthBaseURL string,

	pipelineDBFactory db.PipelineDBFactory,
	teamDBFactory db.TeamDBFactory,
	dbTeamFactory dbng.TeamFactory,
	dbPipelineFactory dbng.PipelineFactory,
	dbWorkerFactory dbng.WorkerFactory,
	volumeFactory dbng.VolumeFactory,
	containerFactory dbng.ContainerFactory,

	teamsDB teamserver.TeamsDB,
	buildsDB buildserver.BuildsDB,
	pipeDB pipes.PipeDB,
	pipelinesDB db.PipelinesDB,

	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,
) (http.Handler, error)

Types

type TeamScopedHandlerFactory

type TeamScopedHandlerFactory struct {
	// contains filtered or unexported fields
}

func NewTeamScopedHandlerFactory

func NewTeamScopedHandlerFactory(
	logger lager.Logger,
	teamDBFactory db.TeamDBFactory,
	teamFactory dbng.TeamFactory,
) *TeamScopedHandlerFactory

func (*TeamScopedHandlerFactory) HandlerFor

func (f *TeamScopedHandlerFactory) HandlerFor(teamScopedHandler func(db.TeamDB, dbng.Team) http.Handler) http.HandlerFunc

Directories

Path Synopsis
buildserverfakes
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

Jump to

Keyboard shortcuts

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