handlers

package
v0.0.0-...-45400c2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: Apache-2.0 Imports: 15 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger lager.Logger, bbsClient bbs.Client, recipebuilders map[string]recipebuilder.RecipeBuilder) http.Handler

Types

type CancelTaskHandler

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

func NewCancelTaskHandler

func NewCancelTaskHandler(
	logger lager.Logger,
	bbsClient bbs.Client,
) CancelTaskHandler

func (*CancelTaskHandler) CancelTask

func (h *CancelTaskHandler) CancelTask(resp http.ResponseWriter, req *http.Request)

type DesireAppHandler

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

func NewDesireAppHandler

func NewDesireAppHandler(logger lager.Logger, bbsClient bbs.Client, builders map[string]recipebuilder.RecipeBuilder) DesireAppHandler

func (*DesireAppHandler) DesireApp

func (h *DesireAppHandler) DesireApp(resp http.ResponseWriter, req *http.Request)

type KillIndexHandler

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

func NewKillIndexHandler

func NewKillIndexHandler(logger lager.Logger, bbsClient bbs.Client) KillIndexHandler

func (*KillIndexHandler) KillIndex

func (h *KillIndexHandler) KillIndex(resp http.ResponseWriter, req *http.Request)

type StopAppHandler

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

func NewStopAppHandler

func NewStopAppHandler(logger lager.Logger, bbsClient bbs.Client) *StopAppHandler

func (*StopAppHandler) StopApp

func (h *StopAppHandler) StopApp(resp http.ResponseWriter, req *http.Request)

type TaskHandler

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

func NewTaskHandler

func NewTaskHandler(
	logger lager.Logger,
	bbsClient bbs.Client,
	recipeBuilders map[string]recipebuilder.RecipeBuilder,
) TaskHandler

func (*TaskHandler) DesireTask

func (h *TaskHandler) DesireTask(resp http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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