Jesse Haka
ff87ad884c
add possibility to clean untagged manifests
...
add tests
add possibility to clean untagged manifests
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
add dry tests
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
remove underscores
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
fixes
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
opts struct+use camelcase
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
doublecheck manifest in paths.go
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
add gofmt
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
fix lint
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
add log print
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
move log to dryrun as well
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
remove counter
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
remove manifest tag references
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
add tag to tests
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
manifestsWithoutTags -> removeUntagged
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
remove RemoveManifestTagReferences and use removemanifests
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
remove comment
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
remove pathfor
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
move removemanifest out of manifestenumerator, it does not work correctly if we delete stuff in it
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
add comment
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
fix context -> dcontext
Signed-off-by: Jesse Haka <haka.jesse@gmail.com>
fix gofmt
2018-01-05 12:20:01 +02:00
Derek McGowan
d8fcbeeb71
Update registry to use WithName for creating Named values
...
The registry uses partial Named values which the named parsers
no longer support. To allow the registry service to continue
to operate without canonicalization, switch to use WithName.
In the future, the registry should start using fully canonical
values on the backend and WithName should no longer support
creating partial values.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2017-01-18 13:56:56 -08:00
Stephen J Day
532ec9f036
digest: migrate to opencontainers/go-digest
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-01-06 15:42:03 -08:00
HuKeping
b984f91b32
Fix unit test
...
Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-10-10 11:37:30 +08:00
Noah Treuhaft
61e5803b56
Add control over validation of URLs in pushed manifests
...
Until we have some experience hosting foreign layer manifests, the Hub
operators wish to limit foreign layers on Hub. To that end, this change
adds registry configuration options to restrict the URLs that may appear
in pushed manifests.
Signed-off-by: Noah Treuhaft <noah.treuhaft@docker.com>
2016-07-19 14:38:42 -07:00
Richard Scothern
0c15ab6952
Remove signature store from registry. Return a generated signature for manifest
...
pull.
Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2016-05-27 13:19:26 -07:00
Richard Scothern
69ba30dc03
Add a test with a missing _manifests directory
...
Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2016-04-27 13:34:25 -07:00
Richard Scothern
ea492aca1a
Move garbage collect code into storage package
...
Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2016-04-27 13:34:25 -07:00