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 ¶
func (h StopLRPInstanceHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.