distribution/registry/storage
Thomas Way 5ee5aaa058
fix(registry/storage/driver/s3-aws): use a consistent multipart chunk size
Some S3 compatible object storage systems like R2 require that all
multipart chunks are the same size. This was mostly true before, except
the final chunk was larger than the requested chunk size which causes
uploads to fail.

In addition, the two byte slices have been replaced with a single
*bytes.Buffer and the surrounding code simplified significantly.

Fixes: #3873

Signed-off-by: Thomas Way <thomas@6f.io>
2024-10-30 21:46:36 +00:00
..
cache replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
driver fix(registry/storage/driver/s3-aws): use a consistent multipart chunk size 2024-10-30 21:46:36 +00:00
blob_test.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
blobserver.go storage/driver: replace URLFor method 2023-10-27 10:58:37 -04:00
blobstore.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
blobwriter_nonresumable.go Move context package internal 2023-10-27 10:58:37 -04:00
blobwriter_resumable.go format code with gofumpt 2022-11-03 22:48:20 +01:00
blobwriter.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
catalog_test.go Merge pull request #4031 from thaJeztah/migrate_reference 2023-08-31 15:20:28 +01:00
catalog.go Merge pull request #4031 from thaJeztah/migrate_reference 2023-08-31 15:20:28 +01:00
doc.go Move storage package under registry package 2015-02-11 12:43:04 -08:00
error.go Remove old walk function 2018-01-18 13:06:07 -08:00
filereader_test.go Fix silly testing format mistakes 2024-08-30 11:18:18 +01:00
filereader.go cleanup: make blob sizes easier to understand 2023-10-31 14:53:02 -07:00
garbagecollect_test.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
garbagecollect.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
io.go cleanup: make blob sizes easier to understand 2023-10-31 14:53:02 -07:00
linkedblobstore_test.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
linkedblobstore.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
manifestlisthandler.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
manifeststore_test.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
manifeststore.go deprecate Versioned in favor of oci.Versioned 2024-07-18 18:38:32 +02:00
ociindexhandler.go Move context package internal 2023-10-27 10:58:37 -04:00
ocimanifesthandler_test.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
ocimanifesthandler.go vendor: github.com/opencontainers/image-spec v1.1.0 2024-07-10 14:58:09 -05:00
paths_test.go format code with gofumpt 2022-11-03 22:48:20 +01:00
paths.go add repositoriesRootPathSpec in pathFor documentation 2023-09-26 15:07:49 +08:00
purgeuploads_test.go Fix silly testing format mistakes 2024-08-30 11:18:18 +01:00
purgeuploads.go Set readStartAtFile context aware for purge uploads 2024-05-02 11:06:39 +02:00
registry.go Enable configuration of index dependency validation 2024-05-28 09:56:14 +01:00
schema2manifesthandler_test.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
schema2manifesthandler.go Move context package internal 2023-10-27 10:58:37 -04:00
tagstore_test.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
tagstore.go replace uses of Descriptor alias 2024-10-07 13:07:47 +02:00
vacuum.go remove layer's link file by gc 2024-07-03 00:16:11 +08:00