package routes
import "k8s.io/kubernetes/pkg/routes"
Package routes holds a collection of optional master http handlers.
Index ¶
Types ¶
type DefaultMetrics ¶
type DefaultMetrics struct{}
DefaultMetrics installs the default prometheus metrics handler
func (DefaultMetrics) Install ¶
func (m DefaultMetrics) Install(c *mux.APIContainer)
type Logs ¶
type Logs struct{}
Logs adds handlers for the /logs path serving log files from /var/log.
func (Logs) Install ¶
func (l Logs) Install(c *mux.APIContainer)
type MetricsWithReset ¶
type MetricsWithReset struct{}
MetricsWithReset install the prometheus metrics handler extended with support for the DELETE method which resets the metrics.
func (MetricsWithReset) Install ¶
func (m MetricsWithReset) Install(c *mux.APIContainer)
type UIRedirect ¶
type UIRedirect struct{}
UIRediect redirects /ui to the kube-ui proxy path.
func (UIRedirect) Install ¶
func (r UIRedirect) Install(c *mux.APIContainer)
Source Files ¶
doc.go logs.go metrics.go ui.go
- Version
- v1.5.0-alpha.1
- Published
- Oct 11, 2016
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 7 minutes ago –
Tools for package owners.