Versions in this module Expand all Collapse all v0 v0.11.3 Mar 12, 2026 Changes in this version + var ErrRegistryAuthRequired = errors.New("registry authentication required: run 'thv registry login' to authenticate") + func DeriveSecretKey(registryURL, issuer string) string + func WrapTransport(base http.RoundTripper, source TokenSource) http.RoundTripper + type TokenSource interface + Token func(ctx context.Context) (string, error) + func NewTokenSource(cfg *config.RegistryOAuthConfig, registryURL string, ...) (TokenSource, error) + type Transport struct + Base http.RoundTripper + Source TokenSource + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)