package api
import "github.com/dotcloud/docker/api"
Index ¶
- Constants
- func DisplayablePorts(ports *engine.Table) string
- func MatchesContentType(contentType, expectedType string) bool
- func ValidateHost(val string) (string, error)
- type Container
Constants ¶
const ( APIVERSION version.Version = "1.11" DEFAULTHTTPHOST = "127.0.0.1" DEFAULTUNIXSOCKET = "/var/run/docker.sock" )
Functions ¶
func DisplayablePorts ¶
TODO remove, used on < 1.5 in getContainersJSON
func MatchesContentType ¶
func ValidateHost ¶
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 ¶
Directories ¶
Path | Synopsis |
---|---|
api/client | |
api/server |
- Version
- v0.11.0
- Published
- May 7, 2014
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- now –
Tools for package owners.