moby--moby/layer
John Howard 0380fbff37 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.
2017-10-06 11:44:18 -07:00
..
empty.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
empty_test.go add testcase in layer/empty_test.go with Metadata() 2017-09-15 14:13:48 +08:00
filestore.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
filestore_test.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
filestore_unix.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
filestore_windows.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
layer.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
layer_store.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
layer_store_windows.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
layer_test.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
layer_unix.go Use describable interfaces 2016-06-06 17:49:34 -07:00
layer_unix_test.go Verify layer tarstream 2016-02-17 14:26:16 -05:00
layer_windows.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
migration.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
migration_test.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
mount_test.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
mounted_layer.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
ro_layer.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
ro_layer_unix.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
ro_layer_windows.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00