pages

package
v0.5.2 Latest Latest
Warning

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

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

Documentation

Overview

Page for /containers/

Index

Constants

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

Variables

This section is empty.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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