wrappa

package
v0.75.0-no-limit Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2016 License: Apache-2.0 Imports: 7 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 {
	PubliclyViewable  bool
	Validator         auth.Validator
	UserContextReader auth.UserContextReader
}

func NewAPIAuthWrappa

func NewAPIAuthWrappa(
	publiclyViewable bool,
	validator auth.Validator,
	userContextReader auth.UserContextReader,
) *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 WebAuthWrappa

type WebAuthWrappa struct {
	Validator         auth.Validator
	UserContextReader auth.UserContextReader
}

func NewWebAuthWrappa

func NewWebAuthWrappa(
	validator auth.Validator,
	userContextReader auth.UserContextReader,
) *WebAuthWrappa

func (*WebAuthWrappa) Wrap

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

type WebMetricsWrappa

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

func (WebMetricsWrappa) Wrap

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

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

func NewWebMetricsWrappa

func NewWebMetricsWrappa(logger lager.Logger) Wrappa

Jump to

Keyboard shortcuts

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