package pages

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/google/cadvisor/pages"

Page for /containers/

Index

Constants

const ContainersPage = "/containers/"
const DockerPage = "/docker/"

Functions

func RegisterHandlersBasic

func RegisterHandlersBasic(mux httpMux.Mux, containerManager manager.Manager, authenticator *auth.BasicAuth) error

func RegisterHandlersDigest

func RegisterHandlersDigest(mux httpMux.Mux, containerManager manager.Manager, authenticator *auth.DigestAuth) error

Register http handlers

Types

type ByteSize

type ByteSize float64

from http://golang.org/doc/effective_go.html#constants

const (

	// KB - kilobyte
	KB ByteSize = 1 << (10 * iota)
	// MB - megabyte
	MB
	// GB - gigabyte
	GB
	// TB - terabyte
	TB
	// PB - petabyte
	PB
	// EB - exabyte
	EB
	// ZB - zettabyte
	ZB
	// YB - yottabyte
	YB
)

func (ByteSize) Size

func (b ByteSize) Size() string

func (ByteSize) Unit

func (b ByteSize) Unit() string

Source Files

containers.go containers_html.go docker.go pages.go

Directories

PathSynopsis
Godeps/_workspace/src/github.com/google/cadvisor/pages/static
Version
v0.19.3
Published
Jun 22, 2015
Platform
windows/amd64
Imports
15 packages
Last checked
3 minutes ago

Tools for package owners.