distribution/registry
Cory Snider a1b49d3d17 health: plumb contexts into health checks
Allow health checkers to abort if the request context is canceled.
Modify the checkers to respect context cancelation and return wrapped
errors so the caller of CheckStatus() would be able to discriminate true
failed checks from checks which were aborted because the context became
done.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-11-27 15:38:34 -05:00
..
api fix: if reference exceeds the threshold return 400 and detail 2023-11-22 16:06:33 +00:00
auth feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00
handlers health: plumb contexts into health checks 2023-11-27 15:38:34 -05:00
listener feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00
middleware Merge pull request #2752 from davidswu/registry-driver-middleware 2023-06-21 10:06:13 -07:00
proxy feat(linter): enable errcheck linter in golangci-lint (#4158) 2023-11-21 11:57:34 +00:00
storage fix: if reference exceeds the threshold return 400 and detail 2023-11-22 16:06:33 +00:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00
registry_test.go feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00
root.go feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00