routes

package
v1.5.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

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