pages

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2016 License: Apache-2.0, 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(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