package api

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

Index

Constants

const (
	APIVERSION            version.Version = "1.18"
	DEFAULTHTTPHOST                       = "127.0.0.1"
	DEFAULTUNIXSOCKET                     = "/var/run/docker.sock"
	DefaultDockerfileName string          = "Dockerfile"
)

Functions

func DisplayablePorts

func DisplayablePorts(ports *engine.Table) string

TODO remove, used on < 1.5 in getContainersJSON

func FormGroup

func FormGroup(key string, start, last int) string

func LoadOrCreateTrustKey

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

func ValidateHost(val string) (string, error)

Source Files

common.go

Directories

PathSynopsis
api/client
api/server
api/typesThis package is used for API stability in the types and response to the consumers of the API stats endpoint.
Version
v1.6.0-rc5
Published
Apr 6, 2015
Platform
js/wasm
Imports
10 packages
Last checked
46 minutes ago

Tools for package owners.