Documentation
¶
Index ¶
- func BuildTags(tags map[string]api.ImageTag, tag string, current *api.ImageTag)
- func HTTPBackOff(min, max time.Duration, attemptNum int, resp *http.Response) time.Duration
- func JoinRepoImage(repo, image string) string
- func OSArchFromTag(tag string) (os api.OS, arch api.Architecture)
- func RateLimitedBackoffLimiter(logger *logrus.Entry, limiter *rate.Limiter, maxWait time.Duration) retryablehttp.Backoff
- func TagMaptoList(tags map[string]api.ImageTag) []api.ImageTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPBackOff ¶ added in v0.9.2
This is a custom Backoff that enforces the Max wait duration. If the sleep is greater we only sleep for the max duration.
func OSArchFromTag ¶ added in v0.2.2
func OSArchFromTag(tag string) (os api.OS, arch api.Architecture)
Attempt to determine the OS and Arch, given a tag name.
func RateLimitedBackoffLimiter ¶ added in v0.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.