mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 23:19:39 -05:00
c743398a23
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> |
||
---|---|---|
.. | ||
cloud_test.go | ||
cloud.go | ||
config.go | ||
configgenerate_test.go | ||
configgenerate.go | ||
create_test.go | ||
create.go | ||
details.go | ||
init_test.go | ||
init.go | ||
instancetypes.go | ||
readconfig_test.go | ||
readconfig.go | ||
recover_test.go | ||
recover.go | ||
recoveryclient_test.go | ||
recoveryclient.go | ||
terminate_test.go | ||
terminate.go | ||
userinteraction_test.go | ||
userinteraction.go | ||
validargs_test.go | ||
validargs.go | ||
verify_test.go | ||
verify.go | ||
version_test.go | ||
version.go |