constellation/bootstrapper/internal
Otto Bittner c743398a23 AB#2181: retry k8s downloads (#286)
Generalize retrier:
* Generalize Do to use a supplied 'retriable' function
* Make clock an optional argument in NewIntervalRetrier
* Move grpc/retrier to interal package
* Update existing unittests to not use retry feature

Add retryDownloadToTempDir:
* Wrap downloadToTempDir with retrier.
* Retry if TCP connection is reset.
* Abort by canceling the context.
* Use a mock server in the unit test that serves responses
depending on the state received through a state channel.

Co-authored-by: katexochen <49727155+katexochen@users.noreply.github.com>
2022-07-21 15:20:12 +02:00
..
clean Simplify node lock and various small changes 2022-07-14 17:25:18 +02:00
diskencryption Rename coordinator to bootstrapper and rename roles 2022-07-14 17:25:18 +02:00
initserver Refactor bootstrapper logging 2022-07-15 09:09:56 +02:00
joinclient AB#2074: Choosable K8S Version (#277) 2022-07-18 12:28:02 +02:00
kubelet Use Certificate Requests to issue Kubelet Certificates and set CA (#261) 2022-07-15 09:33:11 +02:00
kubernetes AB#2181: retry k8s downloads (#286) 2022-07-21 15:20:12 +02:00
logging Rename coordinator to bootstrapper and rename roles 2022-07-14 17:25:18 +02:00
nodelock Simplify node lock and various small changes 2022-07-14 17:25:18 +02:00