wrappa

package
v0.0.0-...-8b5a1e4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

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(
	authValidator auth.Validator,
	getTokenValidator auth.Validator,
	userContextReader auth.UserContextReader,
	checkPipelineAccessHandlerFactory auth.CheckPipelineAccessHandlerFactory,
	checkBuildReadAccessHandlerFactory auth.CheckBuildReadAccessHandlerFactory,
	checkBuildWriteAccessHandlerFactory auth.CheckBuildWriteAccessHandlerFactory,
) *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 MultiWrappa

type MultiWrappa []Wrappa

func (MultiWrappa) Wrap

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

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

Jump to

Keyboard shortcuts

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