AUTH-910, AUTH-1049, AUTH-1068, AUTH-1056: Generate and store Access tokens with E2EE option, curl/cmd wrapper

This commit is contained in:
Austin Cherry
2018-08-15 17:23:34 -05:00
committed by Areg Harutyunyan
parent 671483a95c
commit 4f04f35bd1
98 changed files with 13370 additions and 839 deletions

15
vendor/github.com/coreos/pkg/timeutil/backoff.go generated vendored Normal file
View File

@@ -0,0 +1,15 @@
package timeutil
import (
"time"
)
func ExpBackoff(prev, max time.Duration) time.Duration {
if prev == 0 {
return time.Second
}
if prev > max/2 {
return max
}
return 2 * prev
}