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

5 Commits

Author SHA1 Message Date
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
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
d2ca5fa5eb
Add concurrency to image copy
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2023-05-06 09:01:35 -04:00
Brandon Mitchell
5fa181ff08 regclient linting, scheme API rename
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2022-02-04 15:25:14 -05:00
Brandon Mitchell
7af29dae3f Supporting ocidir GC in regclient
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2022-02-04 15:23:01 -05:00