distribution/registry/storage
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
..
cache registry: remove dependency on logrus for client 2017-08-15 10:28:38 -07:00
driver add s3 region filters for cloudfront 2017-12-01 15:58:58 -08:00
blob_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
blobcachemetrics.go registry: remove dependency on logrus for client 2017-08-15 10:28:38 -07:00
blobserver.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
blobstore.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
blobwriter_nonresumable.go If resumable digest support is disabled, detct this when closing the blobwriter 2016-06-13 17:35:06 -07:00
blobwriter_resumable.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
blobwriter.go registry: feed the linter by removing redundant err check 2017-09-29 13:27:49 -07:00
catalog_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
catalog.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
digester_resumable_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
doc.go Move storage package under registry package 2015-02-11 12:43:04 -08:00
filereader_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
filereader.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
garbagecollect_test.go add possibility to clean untagged manifests 2018-01-05 12:20:01 +02:00
garbagecollect.go add possibility to clean untagged manifests 2018-01-05 12:20:01 +02:00
io.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
linkedblobstore_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
linkedblobstore.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
manifestlisthandler.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
manifeststore_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
manifeststore.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
paths_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
paths.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
purgeuploads_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
purgeuploads.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
registry.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
schema2manifesthandler_test.go Update schema2 builder to take media type 2016-12-14 16:17:20 -08:00
schema2manifesthandler.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
signedmanifesthandler.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
tagstore_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
tagstore.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
util.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
vacuum.go add possibility to clean untagged manifests 2018-01-05 12:20:01 +02:00
walk_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
walk.go context: remove definition of Context 2017-08-11 15:53:31 -07:00