Documentation ¶
Index ¶
- func DashboardHandler(queryParams url.Values, pathParams map[string]string, w http.ResponseWriter, ...)
- func ExtractDashboardQueryParams(queryParams url.Values, q *model.DashboardQuery) error
- func SearchDashboardsHandler(queryParams url.Values, pathParams map[string]string, w http.ResponseWriter, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DashboardHandler ¶
func DashboardHandler(queryParams url.Values, pathParams map[string]string, w http.ResponseWriter, conf config.Config, logger log.LogAdapter)
DashboardHandler is the API handler to fetch runtime metrics to be displayed. It expects "namespace" and "dashboard" to be provided as path params. Label filters can be provided as query params (see also: ExtractDashboardQueryParams)
func ExtractDashboardQueryParams ¶
func ExtractDashboardQueryParams(queryParams url.Values, q *model.DashboardQuery) error
func SearchDashboardsHandler ¶
func SearchDashboardsHandler(queryParams url.Values, pathParams map[string]string, w http.ResponseWriter, conf config.Config, logger log.LogAdapter)
SearchDashboardsHandler is the API handler to search for all available dashboards on pods It expects "namespace" to be provided as path param. Label filters can be provided as query params (see also: ExtractDashboardQueryParams)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.