Versions in this module Expand all Collapse all v0 v0.0.0 Oct 23, 2026 Changes in this version + const MaxBrowseRRsetBytes + const MaxKeyBytes + const MaxProbeBytes + var ErrBrowseZoneAbsent = errors.New("upstream browse zone absent") + var ErrIncompatibleVersion = errors.New("incompatible powerdns version") + var ErrUpstreamAuthentication = errors.New("powerdns authentication failed") + var ErrUpstreamProbe = errors.New("powerdns probe failed") + func LoadKey(sources KeySources) (httpapi.Secret, error) + func NewHTTPClient(config TransportConfig) (*http.Client, *url.URL, error) + func Relay(destination http.ResponseWriter, response *http.Response, requestID string) error + type Client struct + func New(config TransportConfig, key httpapi.Secret) (*Client, error) + func (client *Client) Forward(operation Operation) (*http.Response, error) + func (client *Client) Probe(ctx context.Context) error + func (client *Client) StreamZoneRRsets(ctx context.Context, zoneID, name, recordType string, ...) error + type KeySources struct + Environment string + File string + RenderedFragment string + type Operation func(api.ClientInterface) (*http.Response, error) + type TransportConfig struct + Timeout time.Duration + URL string + UnixSocket string