distribution/registry/storage/driver/s3-aws
Milos Gajdos cb0d083d8d
feat: Add context to storagedriver.(Filewriter).Commit()
This commit changes storagedriver.Filewriter interface
by adding context.Context as an argument to its Commit
func.

We pass the context appropriately where need be throughout
the distribution codebase to all the writers and tests.

S3 driver writer unfortunately must maintain the context
passed down to it from upstream so it contnues to
implement io.Writer and io.Closer interfaces which do not
allow accepting the context in any of their funcs.

Co-authored-by: Cory Snider <corhere@gmail.com>
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-10-19 11:27:27 +01:00
..
s3.go feat: Add context to storagedriver.(Filewriter).Commit() 2023-10-19 11:27:27 +01:00
s3_test.go registry: add loglevel support for aws s3 storage driver 2023-10-02 15:47:02 +02:00
s3_v2_signer.go Fix gometalint errors 2019-02-04 16:01:04 -08:00