2 Commits

Author SHA1 Message Date
Artem Chernyshev
01fcbf16c4
feat: implement HTTP API client
The client provides methods to create schematics, Talos versions, and
extensions version.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2023-11-30 21:56:55 +03:00
Andrey Smirnov
cf73db9b91
feat: implement support for system extensions
Fixes #13

This builds on top of extensions catalog (see
https://github.com/siderolabs/extensions/pull/225), and existing support
for specifying extension in the flavor.

Image Service resolve the list of extensions requested for a specific
version of Talos into a list of container images, pulls them, and
attaches them to the image request.

Image Service also provides endpoints to get information about available
Talos versions, supported extensions for each version, etc.

I also refactored a bit flow around fetching & verifying image to re-use
it in other flows, added support for authentication to the registry.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-13 21:45:50 +04:00