Retry skopeo inspect command

Enables to retry skopeo inspect. Add `--retry-times` to set the number of times to retry. Use exponential backoff and  1s as default initial retry delay.

Signed-off-by: Qi Wang <qiwan@redhat.com>
This commit is contained in:
Qi Wang
2020-06-03 16:55:44 -04:00
parent 840c48752e
commit 0858cafffc
5 changed files with 134 additions and 20 deletions

View File

@@ -73,6 +73,7 @@ _skopeo_inspect() {
--authfile
--creds
--cert-dir
--retry-times
"
local boolean_options="
--config