package api
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/google/cadvisor/api"
Package api provides a handler for /api/
Index ¶
Functions ¶
func RegisterHandlers ¶
Types ¶
type ApiVersion ¶
type ApiVersion interface { // Returns the version string. Version() string // List of supported API endpoints. SupportedRequestTypes() []string // Handles a request. The second argument is the parameters after /api/<version>/<endpoint> HandleRequest(requestType string, request []string, m manager.Manager, w http.ResponseWriter, r *http.Request) error }
Interface for a cAdvisor API version
Source Files ¶
handler.go versions.go
- Version
- v0.13.1
- Published
- Mar 17, 2015
- Platform
- js/wasm
- Imports
- 17 packages
- Last checked
- 10 seconds ago –
Tools for package owners.