forked from quay/claircore
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fetch: turn layer fetcher into a generic fetcher
The client now dynamically requests and caches auth headers as needed, instead of assuming they're always needed and have the same scope, realm, and service conventions as dockerhub. The token spec seems to have broken as of the time of commit, so here's a link into the Google cache for posterity: https://webcache.googleusercontent.com/search?q=cache:V8bYdqwzDeUJ:https://docs.docker.com/registry/spec/auth/token/ Signed-off-by: Hank Donnay <hdonnay@redhat.com>
- Loading branch information
Showing
1 changed file
with
116 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters