pages

package
v0.0.0-...-8eec529 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2014 License: Apache-2.0 Imports: 14 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(containerManager manager.Manager, authenticator *auth.BasicAuth) error

func RegisterHandlersDigest

func RegisterHandlersDigest(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