1
0
mirror of https://github.com/regclient/regclient.git synced 2025-04-18 22:44:00 +03:00

8 Commits

Author SHA1 Message Date
Brandon Mitchell
763599514d
Feat: Include source in referrers response
This simplifies handling external sources.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-12-03 17:12:10 -05:00
Brandon Mitchell
a8a9640fec
Feat: Support referrers in an external repository
This allows organizations to maintain a repository of referrers separate from the upstream images.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-11-29 15:42:44 -05:00
Brandon Mitchell
eea06e2a5c
Refactoring the type package
I feel like I need to explain, this is all to move the descriptor package.
The platform package could not use the predefined errors in types because of a circular dependency from descriptor.
The most appropriate way to reorg this is to move descriptor out of the type package since it was more complex than a self contained type.
When doing that, type aliases were needed to avoid breaking changes to existing users.
Those aliases themselves caused circular dependency loops because of the media types and errors, so those were also pulled out to separate packages.
All of the old values were aliased and deprecated, and to fix the linter, those deprecations were fixed by updating the imports... everywhere.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-03-04 15:43:18 -05:00
Brandon Mitchell
4c1e999343
Validate the ref in various APIs
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2023-11-11 19:23:58 -05:00
Brandon Mitchell
8aeece90f8
Cleanup godoc comments on regclient package
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2023-09-26 11:48:51 -04:00
Brandon Mitchell
db025b75d0 Refactoring referrers support
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2022-08-21 20:04:26 -04:00
Brandon Mitchell
0e8ba98e23 Support referrers with image copy
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2022-06-01 13:24:22 -04:00
Brandon Mitchell
6fb3529adb Adding referrer support
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2022-05-15 19:36:59 -04:00