Documentation ¶
Overview ¶
Package routes holds a collection of optional master http handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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)
Click to show internal directories.
Click to hide internal directories.