api

package
v0.9.1-0...-65eeb0f Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIVERSION        version.Version = "1.10"
	DEFAULTHTTPHOST                   = "127.0.0.1"
	DEFAULTUNIXSOCKET                 = "/var/run/docker.sock"
)

Variables

This section is empty.

Functions

func DisplayablePorts

func DisplayablePorts(ports *engine.Table) string

TODO remove, used on < 1.5 in getContainersJSON

func MatchesContentType

func MatchesContentType(contentType, expectedType string) bool

func ValidateHost

func ValidateHost(val string) (string, error)

Types

type Container

type Container struct {
	Config     runconfig.Config
	HostConfig runconfig.HostConfig
	State      struct {
		Running  bool
		ExitCode int
	}
	NetworkSettings struct {
		Ports nat.PortMap
	}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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