api

package
v0.11.2-0...-5511be7 Latest Latest
Warning

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

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

README

This directory contains code pertaining to the Docker API:

  • Used by the docker client when comunicating with the docker deamon

  • Used by third party tools wishing to interface with the docker deamon

Documentation

Index

Constants

View Source
const (
	APIVERSION        version.Version = "1.11"
	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