1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/system
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
..
chtimes.go LCOW: Add environment variable to enable 2017-06-20 08:55:46 -07:00
chtimes_test.go This fixes Chtimes on systems with 32 bit Timespec 2015-11-19 11:08:29 -08:00
chtimes_unix.go Fixing 'docker save' on Windows. 2016-02-08 18:08:49 -08:00
chtimes_unix_test.go Modify func name from TestChtimes to TestChtimesLinux 2016-07-27 10:05:59 +08:00
chtimes_windows.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
chtimes_windows_test.go Modify func name from TestChtimes to TestChtimesLinux 2016-07-27 10:05:59 +08:00
errors.go fix golint warnings/errors on pkg/system and pkg/stdcopy 2015-08-13 18:47:13 +08:00
exitcode.go Remove use of pkg/integration in pkg/idtools 2016-11-08 17:21:02 +01:00
filesys.go LCOW: Create layer folders with correct ACL 2017-06-20 19:50:12 -07:00
filesys_windows.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
init.go LCOW: Add environment variable to enable 2017-06-20 08:55:46 -07:00
init_unix.go Add LCOW behind experimental, 2017-09-14 13:51:16 -07:00
init_windows.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
lcow.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
lcow_unix.go LCOW: Graphdriver 2017-06-20 19:49:24 -07:00
lcow_windows.go LCOW: Graphdriver 2017-06-20 19:49:24 -07:00
lstat_unix.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
lstat_unix_test.go Fixed file modified time not changing on Windows 2015-10-01 10:45:32 -07:00
lstat_windows.go Tidy pkg\system *stat* functions 2017-04-05 16:01:53 -07:00
meminfo.go Add MemInfo to the system pkg. 2014-10-22 14:05:45 -07:00
meminfo_linux.go fix typos 2016-03-11 23:22:16 +08:00
meminfo_solaris.go pkg/system: Set appropriate CFLAGS on Solaris 2017-03-09 13:40:05 -05:00
meminfo_unix_test.go Replace pkg/units with docker/go-units. 2015-12-16 12:26:49 -05:00
meminfo_unsupported.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
meminfo_windows.go Swap usage of LazyDLL and LoadDLL to LazySystemDLL. 2016-11-22 14:57:11 -08:00
mknod.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
mknod_windows.go fix golint warnings/errors on pkg/system and pkg/stdcopy 2015-08-13 18:47:13 +08:00
path.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
path_windows_test.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
process_unix.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
rm.go Spelling fixes 2017-07-03 13:13:09 -07:00
rm_test.go Do not remove containers from memory on error 2017-05-05 17:02:04 -04:00
stat_darwin.go Tidy pkg\system *stat* functions 2017-04-05 16:01:53 -07:00
stat_freebsd.go Tidy pkg\system *stat* functions 2017-04-05 16:01:53 -07:00
stat_linux.go Add unconvert linter 2017-08-24 15:08:31 -04:00
stat_openbsd.go Tidy pkg\system *stat* functions 2017-04-05 16:01:53 -07:00
stat_solaris.go Tidy pkg\system *stat* functions 2017-04-05 16:01:53 -07:00
stat_unix.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
stat_unix_test.go Add ineffassign linter 2017-09-08 18:23:21 -04:00
stat_windows.go Tidy pkg\system *stat* functions 2017-04-05 16:01:53 -07:00
syscall_unix.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
syscall_windows.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
syscall_windows_test.go Add os_version and os_features to Image 2016-04-04 13:14:57 -07:00
umask.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
umask_windows.go fix golint warnings/errors on pkg/system and pkg/stdcopy 2015-08-13 18:47:13 +08:00
utimes_freebsd.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
utimes_linux.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
utimes_unix_test.go skip api/types/container/ (like golint) and fix one pkg 2016-11-18 16:33:50 -08:00
utimes_unsupported.go make more pkgs support darwin 2016-08-10 22:56:05 +08:00
xattrs_linux.go system: Use symlink xattr functions from x/sys/unix 2017-07-12 14:52:42 +02:00
xattrs_unsupported.go fix golint warnings/errors on pkg/system and pkg/stdcopy 2015-08-13 18:47:13 +08:00