Versions in this module Expand all Collapse all v1 v1.5.2 Jun 10, 2025 Changes in this version + var ExternalServiceURL = "https://telemetry.openpolicyagent.org" + type DataResponse struct + Latest ReleaseDetails + func (dr *DataResponse) IsSet() bool + func (dr *DataResponse) Pretty() string + func (dr *DataResponse) Slice() [][2]string + type Gatherer func(ctx context.Context) (any, error) + type Options struct + Logger logging.Logger + type ReleaseDetails struct + Download string + LatestRelease string + OPAUpToDate bool + ReleaseNotes string + type Reporter struct + func New(id string, opts Options) (*Reporter, error) + func (r *Reporter) RegisterGatherer(key string, f Gatherer) + func (r *Reporter) SendReport(ctx context.Context) (*DataResponse, error)