distribution/registry
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
..
api registry/api/errcode: split Register to internal / exported 2023-09-04 18:03:00 +02:00
auth ignore SA1019: ac.(*accessController).rootCerts.Subjects has been deprecated 2023-05-09 16:04:17 +02:00
client Merge pull request #4040 from thaJeztah/move_api_errors 2023-09-15 09:36:36 +01:00
handlers remove go build directive for older go version 2023-09-26 15:14:57 +08:00
listener Improve socket-activation message 2023-09-20 10:31:02 -07:00
middleware Merge pull request #2752 from davidswu/registry-driver-middleware 2023-06-21 10:06:13 -07:00
proxy avoid redundant blob fetching 2023-09-18 10:40:25 +08:00
storage feat: Add context to storagedriver.(Filewriter).Commit() 2023-10-19 11:27:27 +01:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Remove bugsnag 2023-08-21 10:24:36 +02:00
registry_test.go Enable bodyclose linter 2023-08-19 09:45:44 +01:00
root.go feat(storage)!: remove schema1 except manifeststore_test 2023-08-28 12:44:46 +02:00