moby/layer
Tonis Tiigi 50a498ea1c Verify layer tarstream
This adds verification for getting layer data out
of layerstore. These failures should only be possible
if layer metadata files have been manually changed
of if something is wrong with tar-split algorithm.

Failing early makes sure we don’t upload invalid data
to the registries where it would fail after someone
tries to pull it.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit e29e580f7f)
2016-02-17 14:26:16 -05:00
..
empty.go Make TarStream return an io.ReadCloser 2015-11-25 16:39:54 -08:00
empty_test.go Add layer store 2015-11-24 09:40:23 -08:00
filestore.go Add more robust error handling on layer store creation 2016-01-19 11:17:08 -08:00
filestore_test.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
layer.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
layer_store.go Add more robust error handling on layer store creation 2016-01-19 11:17:08 -08:00
layer_test.go Verify layer tarstream 2016-02-17 14:26:16 -05:00
layer_unix.go Refactor RWLayer to use referenced object instead of string 2015-12-23 11:19:17 -08:00
layer_unix_test.go Verify layer tarstream 2016-02-17 14:26:16 -05:00
layer_windows.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
migration.go Parallel migration and optimizations 2016-01-04 09:48:52 -08:00
migration_test.go Verify layer tarstream 2016-02-17 14:26:16 -05:00
mount_test.go Verify layer tarstream 2016-02-17 14:26:16 -05:00
mounted_layer.go Refactor RWLayer to use referenced object instead of string 2015-12-23 11:19:17 -08:00
ro_layer.go Verify layer tarstream 2016-02-17 14:26:16 -05:00