routes

package
v1.5.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Overview

Package routes holds a collection of optional genericapiserver http handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct{}

Index provides a webservice for the http root / listing all known paths.

func (Index) Install

func (i Index) Install(c *mux.APIContainer)

Install adds the Index webservice to the given mux.

type Profiling

type Profiling struct{}

Profiling adds handlers for pprof under /debug/pprof.

func (Profiling) Install

func (d Profiling) Install(c *mux.APIContainer)

Install adds the Profiling webservice to the given mux.

type SwaggerUI

type SwaggerUI struct{}

SwaggerUI exposes files in third_party/swagger-ui/ under /swagger-ui.

func (SwaggerUI) Install

func (l SwaggerUI) Install(c *mux.APIContainer)

Install adds the SwaggerUI webservice to the given mux.

type Version

type Version struct{}

Version provides a webservice with version information.

func (Version) Install

func (v Version) Install(c *mux.APIContainer)

Install registers the APIServer's `/version` handler.

Directories

Path Synopsis
data

Jump to

Keyboard shortcuts

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