api

package
v1.7.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2015 License: Apache-2.0 Imports: 10 Imported by: 1

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.19"       // Current REST API version
	DefaultDockerfileName string          = "Dockerfile" // Default filename with Docker commands, read by docker build
)

Common constants for daemon and client.

Variables

This section is empty.

Functions

func DisplayablePorts added in v0.10.0

func DisplayablePorts(ports []types.Port) string

func FormGroup added in v1.6.0

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

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

Types

type ByPrivatePort added in v1.7.0

type ByPrivatePort []types.Port

func (ByPrivatePort) Len added in v1.7.0

func (r ByPrivatePort) Len() int

func (ByPrivatePort) Less added in v1.7.0

func (r ByPrivatePort) Less(i, j int) bool

func (ByPrivatePort) Swap added in v1.7.0

func (r ByPrivatePort) Swap(i, j int)

Directories

Path Synopsis
Package client provides a command-line interface for Docker.
Package client provides a command-line interface for Docker.
This package is used for API stability in the types and response to the consumers of the API stats endpoint.
This package is used for API stability in the types and response to the consumers of the API stats endpoint.

Jump to

Keyboard shortcuts

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