distribution/registry/storage/driver
Flavian Missi 2b72c4d1ca registry/storage/driver/azure: fix Move method
Something seems broken on azure/azure sdk side - it is currently not
possible to copy a blob of type AppendBlob using `CopyFromURL`.
Using the AppendBlob client via NewAppendBlobClient does not work
either.

According to Azure the correct way to do this is by using
StartCopyFromURL. Because this is an async operation, we need to do
polling ourselves. A simple backoff mechanism is used, where during each
iteration, the configured delay is multiplied by the retry number.

Also introduces two new config options for the Azure driver:
copy_status_poll_max_retry, and copy_status_poll_delay.

Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-06-26 13:47:30 +02:00
..
azure registry/storage/driver/azure: fix Move method 2023-06-26 13:47:30 +02:00
base format code with gofumpt 2022-11-03 22:48:20 +01:00
factory go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
filesystem remove dot-imports for gopkg.in/check.v1 2023-04-29 17:08:47 +02:00
gcs replace deprecated io/ioutil 2022-11-04 23:47:52 +01:00
inmemory Remove registry storage testdriver 2023-05-02 16:37:33 +02:00
middleware cloudfront: use consistent names for test-tables, t.Parallel() 2023-05-09 14:39:58 +02:00
oss replace deprecated io/ioutil 2022-11-04 23:47:52 +01:00
s3-aws Fix panic in the s3 backend walk logic 2023-05-25 14:56:05 -07:00
swift Update Azure SDK and support additional authentication schemes 2023-04-25 17:23:20 +00:00
testsuites registry/storage/driver/testsuites: use 4MB for Azure append test 2023-05-30 15:12:08 +02:00
fileinfo.go format code with gofumpt 2022-11-03 22:48:20 +01:00
storagedriver.go Update Azure SDK and support additional authentication schemes 2023-04-25 17:23:20 +00:00
walk.go storagedriver/s3: Optimized Walk implementation + bugfix 2021-08-16 16:07:25 -04:00
walk_test.go format code with gofumpt 2022-11-03 22:48:20 +01:00