wrappa

package
v3.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 7 Imported by: 37 modules, 77 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 APIAuthWrappa

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

func NewAPIAuthWrappa

func NewAPIAuthWrappa(
	checkPipelineAccessHandlerFactory auth.CheckPipelineAccessHandlerFactory,
	checkBuildReadAccessHandlerFactory auth.CheckBuildReadAccessHandlerFactory,
	checkBuildWriteAccessHandlerFactory auth.CheckBuildWriteAccessHandlerFactory,
	checkWorkerTeamAccessHandlerFactory auth.CheckWorkerTeamAccessHandlerFactory,
) *APIAuthWrappa

func (*APIAuthWrappa) Wrap

func (wrappa *APIAuthWrappa) Wrap(handlers rata.Handlers) rata.Handlers

type APIMetricsWrappa

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

func (APIMetricsWrappa) Wrap

func (wrappa APIMetricsWrappa) Wrap(handlers rata.Handlers) rata.Handlers

type ConcourseVersionWrappa

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

func (ConcourseVersionWrappa) Wrap

func (wrappa ConcourseVersionWrappa) Wrap(handlers rata.Handlers) rata.Handlers

type LoggerHandler

type LoggerHandler struct {
	Logger  lager.Logger
	Handler http.Handler
}

func (LoggerHandler) ServeHTTP

func (handler LoggerHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type MultiWrappa

type MultiWrappa []Wrappa

func (MultiWrappa) Wrap

func (wrappas MultiWrappa) Wrap(handlers rata.Handlers) rata.Handlers

type SecurityHandler

type SecurityHandler struct {
	XFrameOptions string
	Handler       http.Handler
}

func (SecurityHandler) ServeHTTP

func (handler SecurityHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type VersionedHandler

type VersionedHandler struct {
	Version string
	Handler http.Handler
}

func (VersionedHandler) ServeHTTP

func (handler VersionedHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Wrappa

type Wrappa interface {
	Wrap(rata.Handlers) rata.Handlers
}

func NewAPIMetricsWrappa

func NewAPIMetricsWrappa(logger lager.Logger) Wrappa

func NewConcourseVersionWrappa

func NewConcourseVersionWrappa(version string) Wrappa

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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