1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/registry/storage
Sargun Dhillon 32ac467992 Introduce Walk Method Per Storage Driver
Move the Walk types into registry/storage/driver, and add a Walk method to each
storage driver. Although this is yet another API to implement, there is a fall
back implementation that relies on List and Stat. For some filesystems this is
very slow.

Also, this WalkDir Method conforms better do a traditional WalkDir (a la filepath).

This change is in preparation for refactoring.

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
2018-01-07 22:45:17 -08:00
..
cache registry: remove dependency on logrus for client 2017-08-15 10:28:38 -07:00
driver Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -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 Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08: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 Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08: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 Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
walk.go Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00