1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution
Tonis Tiigi 38d914cc96 Implement content addressability for plugins
Move plugins to shared distribution stack with images.

Create immutable plugin config that matches schema2 requirements.

Ensure data being pushed is same as pulled/created.

Store distribution artifacts in a blobstore.

Run init layer setup for every plugin start.

Fix breakouts from unsafe file accesses.

Add support for `docker plugin install --alias`

Uses normalized references for default names to avoid collisions when using default hosts/tags.

Some refactoring of the plugin manager to support the change, like removing the singleton manager and adding manager config struct.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
(cherry picked from commit 3d86b0c79b)
2016-12-27 13:31:14 -08:00
..
fixtures/validate_manifest
metadata Implement content addressability for plugins 2016-12-27 13:31:14 -08:00
utils Implement content addressability for plugins 2016-12-27 13:31:14 -08:00
xfer Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
config.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00
errors.go Add class to repository scope 2016-12-09 14:10:29 -08:00
pull.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00
pull_v1.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00
pull_v2.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00
pull_v2_test.go In error, the first letter is low-case letter 2016-09-23 17:30:13 +08:00
pull_v2_unix.go Removing old custom RootFS behavior on Windows. 2016-07-29 14:15:59 -07:00
pull_v2_windows.go Windows: Add debug output to foreign layer pull 2016-09-26 08:56:34 -07:00
push.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00
push_v1.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00
push_v2.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00
push_v2_test.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00
registry.go Implement content addressability for plugins 2016-12-27 13:31:14 -08:00
registry_unit_test.go Abstract distribution interfaces from image specific types 2016-12-27 13:31:06 -08:00