package api
import "github.com/docker/docker/api"
Index ¶
- Constants
- func DisplayablePorts(ports *engine.Table) string
- func FormGroup(key string, start, last int) 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.18" DEFAULTHTTPHOST = "127.0.0.1" DEFAULTUNIXSOCKET = "/var/run/docker.sock" DefaultDockerfileName string = "Dockerfile" )
Functions ¶
func DisplayablePorts ¶
TODO remove, used on < 1.5 in getContainersJSON
func FormGroup ¶
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 | |
api/types | This 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.