hetznercloud / hcloud-go

A Go library for the Hetzner Cloud API
https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2/hcloud
MIT License
371 stars 45 forks source link

feat: allow configuring retry options #488

Closed jooola closed 1 month ago

jooola commented 1 month ago

This lets the user configure the retry options, with a custom back off function and the max number of retries.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.51%. Comparing base (f7ac563) to head (9e66f22).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #488 +/- ## ========================================== - Coverage 71.56% 71.51% -0.05% ========================================== Files 45 45 Lines 3903 3907 +4 ========================================== + Hits 2793 2794 +1 - Misses 696 699 +3 Partials 414 414 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.