Documentation ¶
Index ¶
- func NewHandlerInstance(handlerConfig *models.HandlerConfig) models.HandlerInterface
- type Handler
- func (h *Handler) AuthMiddleware(next http.Handler) http.Handler
- func (h *Handler) CollectStaticMetrics(config *models.SubmitMetricsConfig) error
- func (h *Handler) EventStreamHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) FetchResultsHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) GetAllAdaptersHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) GrafanaBoardImportForPrometheusHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) GrafanaBoardsHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) GrafanaConfigHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) GrafanaQueryHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) GrafanaQueryRangeHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) K8SConfigHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) LoadTestHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) LoginHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handler) LogoutHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) MeshAdapterConfigHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) MeshOpsHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) PrometheusConfigHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) PrometheusQueryHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) PrometheusQueryRangeHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) PrometheusStaticBoardHandler(w http.ResponseWriter, req *http.Request)
- func (h *Handler) UserHandler(w http.ResponseWriter, req *http.Request)
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 (*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)
Click to show internal directories.
Click to hide internal directories.