Documentation
¶
Overview ¶
Package server serves the engine's Docker Engine API subset over HTTP.
Index ¶
Constants ¶
View Source
const DefaultMaxUploadBytes = 1 << 30
DefaultMaxUploadBytes bounds an image load or an archive upload when Info.MaxUploadBytes is not set.
Variables ¶
View Source
var StatsInterval = time.Second
StatsInterval is how often a stats stream reads (Docker's: 1 s); tests shorten it.
Functions ¶
Types ¶
type Info ¶
type Info struct {
Version string
GitCommit string
// MaxUploadBytes bounds POST /images/load and PUT
// /containers/{id}/archive bodies (default DefaultMaxUploadBytes);
// every other request body is bounded at 1 MiB.
MaxUploadBytes int64
}
Info is what /version reports about the build.
Click to show internal directories.
Click to hide internal directories.