api

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2014 License: Apache-2.0 Imports: 10 Imported by: 20

README

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func DisplayablePorts added in v0.10.0

func DisplayablePorts(ports *engine.Table) string

TODO remove, used on < 1.5 in getContainersJSON

func LoadOrCreateTrustKey added in v1.4.0

func LoadOrCreateTrustKey(trustKeyPath string) (libtrust.PrivateKey, error)

LoadOrCreateTrustKey attempts to load the libtrust key at the given path, otherwise generates a new one

func MatchesContentType

func MatchesContentType(contentType, expectedType string) bool

func ValidateHost added in v0.8.1

func ValidateHost(val string) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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