package api
import "github.com/docker/docker/api"
Index ¶
- Constants
- func DisplayablePorts(ports *engine.Table) string
- func LoadOrCreateTrustKey(trustKeyPath string) (libtrust.PrivateKey, error)
- func MatchesContentType(contentType, expectedType string) bool
- func ValidateHost(val string) (string, error)
Constants ¶
const ( APIVERSION version.Version = "1.16" DEFAULTHTTPHOST = "127.0.0.1" DEFAULTUNIXSOCKET = "/var/run/docker.sock" )
Functions ¶
func DisplayablePorts ¶
TODO remove, used on < 1.5 in getContainersJSON
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 ValidateHost ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
api/client | |
api/server |
- Version
- v1.4.1
- Published
- Dec 15, 2014
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 42 minutes ago –
Tools for package owners.