Files
docker-cli/components/engine/pkg
John Howard 35db73fa01 LCOW: API: Add platform to /images/create and /build
Signed-off-by: John Howard <jhoward@microsoft.com>

This PR has the API changes described in https://github.com/moby/moby/issues/34617.
Specifically, it adds an HTTP header "X-Requested-Platform" which is a JSON-encoded
OCI Image-spec `Platform` structure.

In addition, it renames (almost all) uses of a string variable platform (and associated)
methods/functions to os. This makes it much clearer to disambiguate with the swarm
"platform" which is really os/arch. This is a stepping stone to getting the daemon towards
fully multi-platform/arch-aware, and makes it clear when "operating system" is being
referred to rather than "platform" which is misleadingly used - sometimes in the swarm
meaning, but more often as just the operating system.
Upstream-commit: 0380fbff37922cadf294851b1546f4c212c7f364
Component: engine
2017-10-06 11:44:18 -07:00
..
2017-09-12 12:09:59 -04:00
2017-08-24 15:08:31 -04:00
2017-09-12 12:09:59 -04:00
2017-07-31 13:16:46 -07:00
2017-08-21 18:15:08 -04:00
2017-08-18 14:23:44 -04:00
2017-10-02 11:20:21 -07:00
2017-09-12 12:09:59 -04:00
2017-05-08 17:02:02 -07:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-09-08 18:23:21 -04:00
2017-09-12 12:09:59 -04:00
2017-09-12 12:09:59 -04:00
2017-07-03 13:13:09 -07:00
2017-08-21 18:15:08 -04:00
2017-05-08 17:02:02 -07:00
2017-05-08 17:02:02 -07:00
2017-07-31 13:16:46 -07:00
2016-11-13 20:08:51 -08:00
2017-09-08 18:23:21 -04:00
2017-06-26 10:07:04 -07:00

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Docker organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!