Versions in this module Expand all Collapse all v2 v2.2.0 Feb 28, 2023 Changes in this version + func FetchBundle(ctx context.Context, trustDomain spiffeid.TrustDomain, url string, ...) (*spiffebundle.Bundle, error) + func NewHandler(trustDomain spiffeid.TrustDomain, source spiffebundle.Source, ...) (http.Handler, error) + func WatchBundle(ctx context.Context, trustDomain spiffeid.TrustDomain, url string, ...) error + type BundleWatcher interface + NextRefresh func(refreshHint time.Duration) time.Duration + OnError func(err error) + OnUpdate func(*spiffebundle.Bundle) + type FetchOption interface + func WithSPIFFEAuth(bundleSource x509bundle.Source, endpointID spiffeid.ID) FetchOption + func WithWebPKIRoots(rootCAs *x509.CertPool) FetchOption + type HandlerOption interface + func WithLogger(log logger.Logger) HandlerOption