package api

import "github.com/dotcloud/docker/api"

Index

Constants

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

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
	}
}

Source Files

common.go container.go

Directories

PathSynopsis
api/client
api/server
Version
v0.11.1
Published
May 8, 2014
Platform
js/wasm
Imports
8 packages
Last checked
56 seconds ago

Tools for package owners.