moby--moby/plugin
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
..
executor/containerd Decouple plugin manager from libcontainerd package 2017-09-19 12:17:55 -04:00
v2 Update containerd to 06b9cb35161009dcb7123345749fef02f7cea8e0 2017-08-21 12:04:07 -07:00
backend_linux.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
backend_unsupported.go Make plugin emit strongly typed, consumable events 2017-07-06 14:26:06 -04:00
blobstore.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
defs.go Make plugin emit strongly typed, consumable events 2017-07-06 14:26:06 -04:00
errors.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
events.go Make plugin emit strongly typed, consumable events 2017-07-06 14:26:06 -04:00
manager.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
manager_linux.go Decouple plugin manager from libcontainerd package 2017-09-19 12:17:55 -04:00
manager_solaris.go Make plugins dir private. 2017-08-02 16:58:07 -04:00
manager_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00
manager_windows.go Make plugins dir private. 2017-08-02 16:58:07 -04:00
store.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
store_test.go fixed:go vetting warning unkeyed fields 2017-03-20 16:30:01 +08:00