v2

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2015 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	// contains filtered or unexported fields
}

func NewApi

func NewApi(m manager.Manager) *Api

Create a new Api to serve from the specified cache.

func (*Api) Register

func (a *Api) Register(container *restful.Container)

Register the Api on the specified endpoint.

func (*Api) RegisterMetrics

func (a *Api) RegisterMetrics(container *restful.Container)

RegisterMetrics registers the Metrics API endpoints. All endpoints that end with a {metric-name} also receive a start time query parameter. The start and end times should be specified as a string, formatted according to RFC 3339. These apis are experimental, so they may change or disappear in the future.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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