Client implements the GitHub Releases registry source.
| 47 | |
| 48 | // Client implements the GitHub Releases registry source. |
| 49 | type Client struct { |
| 50 | baseURL string |
| 51 | httpClient *http.Client |
| 52 | sleep func(context.Context, time.Duration) error |
| 53 | initialBackoff time.Duration |
| 54 | maxBackoff time.Duration |
| 55 | maxRetries int |
| 56 | logger *slog.Logger |
| 57 | token string |
| 58 | closeOnce sync.Once |
| 59 | } |
| 60 | |
| 61 | type repoSlug struct { |
| 62 | owner string |
nothing calls this directly
no outgoing calls
no test coverage detected