package api
import "github.com/docker/docker/api"
Index ¶
- Constants
- func DisplayablePorts(ports []types.Port) string
- func FormGroup(key string, start, last int) string
- func LoadOrCreateTrustKey(trustKeyPath string) (libtrust.PrivateKey, error)
- func MatchesContentType(contentType, expectedType string) bool
- type ByPrivatePort
Constants ¶
const ( APIVERSION version.Version = "1.19" // Current REST API version DefaultDockerfileName string = "Dockerfile" // Default filename with Docker commands, read by docker build )
Common constants for daemon and client.
Functions ¶
func DisplayablePorts ¶
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 ¶
Types ¶
type ByPrivatePort ¶
func (ByPrivatePort) Len ¶
func (r ByPrivatePort) Len() int
func (ByPrivatePort) Less ¶
func (r ByPrivatePort) Less(i, j int) bool
func (ByPrivatePort) Swap ¶
func (r ByPrivatePort) Swap(i, j int)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
api/client | Package client provides a command-line interface for Docker. |
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.7.0-rc3
- Published
- Jun 12, 2015
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 46 minutes ago –
Tools for package owners.