handlers

package
v0.0.0-...-b61a845 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2016 License: Apache-2.0 Imports: 9 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 New

func New(
	localCellClient rep.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(logger lager.Logger, executorClient executor.Client) *CancelTaskHandler

func (CancelTaskHandler) ServeHTTP

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

type EvacuationHandler

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

func NewEvacuationHandler

func NewEvacuationHandler(
	logger lager.Logger,
	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)

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)

type StopLRPInstanceHandler

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

func NewStopLRPInstanceHandler

func NewStopLRPInstanceHandler(logger lager.Logger, client executor.Client) *StopLRPInstanceHandler

func (StopLRPInstanceHandler) ServeHTTP

Jump to

Keyboard shortcuts

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