mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-08 06:33:05 -05:00
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> |
||
|---|---|---|
| .. | ||
| k8sapi | ||
| cloud_provider.go | ||
| k8sutil.go | ||
| kubeconfig.go | ||
| kubeconfig_test.go | ||
| kubernetes.go | ||
| kubernetes_test.go | ||