talos/internal
Andrey Smirnov 9e8603f53b
feat: implement new download URL variable ${code}
New variable value is coming from `META`, and it might be set using the
interactive console (not implemented yet, but it will come soon).

I had to refactor the URL expansion implementation:

* simplify things where possible
* provide more unit-tests for smaller units
* handle expansion of all variables in parallel
* allow parallel expansion on multiple variables

Also I refactored download code to support proper passing of endpoint
function with context.

The end result:

* Talos will try to download config for 3 hours before rebooting
* Each attempt which includes URL expansion + download is limited to 3
  minutes

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2023-03-24 21:49:36 +04:00
..
app feat: implement new download URL variable ${code} 2023-03-24 21:49:36 +04:00
integration chore: bump golangci-lint 2023-03-22 19:55:38 +05:30
pkg feat: implement new download URL variable ${code} 2023-03-24 21:49:36 +04:00