handlers

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandlerInstance added in v0.0.4

func NewHandlerInstance(
	handlerConfig *models.HandlerConfig,
) models.HandlerInterface

Types

type Handler added in v0.0.4

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

func (*Handler) AuthMiddleware added in v0.0.4

func (h *Handler) AuthMiddleware(next http.Handler) http.Handler

func (*Handler) CollectStaticMetrics added in v0.0.6

func (h *Handler) CollectStaticMetrics(config *models.SubmitMetricsConfig) error

func (*Handler) EventStreamHandler added in v0.0.6

func (h *Handler) EventStreamHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) FetchResultsHandler added in v0.0.6

func (h *Handler) FetchResultsHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) GetAllAdaptersHandler added in v0.0.6

func (h *Handler) GetAllAdaptersHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) GrafanaBoardImportForPrometheusHandler added in v0.0.6

func (h *Handler) GrafanaBoardImportForPrometheusHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) GrafanaBoardsHandler added in v0.0.6

func (h *Handler) GrafanaBoardsHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) GrafanaConfigHandler added in v0.0.6

func (h *Handler) GrafanaConfigHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) GrafanaQueryHandler added in v0.0.6

func (h *Handler) GrafanaQueryHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) GrafanaQueryRangeHandler added in v0.0.6

func (h *Handler) GrafanaQueryRangeHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) K8SConfigHandler added in v0.0.4

func (h *Handler) K8SConfigHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) LoadTestHandler added in v0.0.4

func (h *Handler) LoadTestHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) LoginHandler added in v0.0.4

func (h *Handler) LoginHandler(w http.ResponseWriter, r *http.Request)

func (*Handler) LogoutHandler added in v0.0.4

func (h *Handler) LogoutHandler(w http.ResponseWriter, req *http.Request)

logoutHandler destroys the session on POSTs and redirects to home.

func (*Handler) MeshAdapterConfigHandler added in v0.0.6

func (h *Handler) MeshAdapterConfigHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) MeshOpsHandler added in v0.0.4

func (h *Handler) MeshOpsHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) PrometheusConfigHandler added in v0.0.6

func (h *Handler) PrometheusConfigHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) PrometheusQueryHandler added in v0.0.6

func (h *Handler) PrometheusQueryHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) PrometheusQueryRangeHandler added in v0.0.6

func (h *Handler) PrometheusQueryRangeHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) PrometheusStaticBoardHandler added in v0.0.6

func (h *Handler) PrometheusStaticBoardHandler(w http.ResponseWriter, req *http.Request)

func (*Handler) UserHandler added in v0.0.4

func (h *Handler) UserHandler(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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