handlers

package
v0.0.0-...-82c1071 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	localCellClient auctioncellrep.AuctionCellClient,
	executorClient executor.Client,
	evacuatable evacuation_context.Evacuatable,
	logger lager.Logger,
	secure bool,
) rata.Handlers

func NewLegacy

func NewLegacy(
	localCellClient auctioncellrep.AuctionCellClient,
	executorClient executor.Client,
	evacuatable evacuation_context.Evacuatable,
	logger lager.Logger,
) rata.Handlers

Types

type CancelTaskHandler

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

func NewCancelTaskHandler

func NewCancelTaskHandler(executorClient executor.Client) *CancelTaskHandler

func (CancelTaskHandler) ServeHTTP

func (h CancelTaskHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, logger lager.Logger)

type EvacuationHandler

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

func NewEvacuationHandler

func NewEvacuationHandler(
	evacuatable evacuation_context.Evacuatable,
) *EvacuationHandler

Evacuation Handler serves a route that is called by the rep drain script

func (*EvacuationHandler) ServeHTTP

func (h *EvacuationHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, logger lager.Logger)

type PingHandler

type PingHandler struct{}

func NewPingHandler

func NewPingHandler() *PingHandler

Ping Handler serves a route that is called by the rep ctl script

func (PingHandler) ServeHTTP

func (h PingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, logger lager.Logger)

type StopLRPInstanceHandler

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

func NewStopLRPInstanceHandler

func NewStopLRPInstanceHandler(client executor.Client) *StopLRPInstanceHandler

func (StopLRPInstanceHandler) ServeHTTP

func (h StopLRPInstanceHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, logger lager.Logger)

Jump to

Keyboard shortcuts

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