http

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

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.

Jump to

Keyboard shortcuts

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