Commit 2275956
authored
OCI Distribution Improvements (krustlet#682)
* Use HEAD request when fetching manifest digest.
Signed-off-by: Kevin Flansburg <kevin.flansburg@gmail.com>
* More logging and predictable error message for 401 manifest response.
Signed-off-by: Kevin Flansburg <kevin.flansburg@gmail.com>
* Stub token cache
Signed-off-by: Kevin Flansburg <kevin.flansburg@gmail.com>
* Token cache expiration logic
Signed-off-by: Kevin Flansburg <kevin.flansburg@gmail.com>
* Fix type errors in test
Signed-off-by: Kevin Flansburg <kevin.flansburg@gmail.com>
* Fix tests
Signed-off-by: Kevin Flansburg <kevin.flansburg@gmail.com>1 parent 108579d commit 2275956
7 files changed
Lines changed: 343 additions & 130 deletions
File tree
- crates/oci-distribution
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
0 commit comments