internal/

directory
v1.0.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: GPL-2.0, GPL-3.0

Directories

Path Synopsis
Package api holds the cross-package interfaces that registry-stats subpackages depend on.
Package api holds the cross-package interfaces that registry-stats subpackages depend on.
Package collect is the registry-stats collection orchestrator.
Package collect is the registry-stats collection orchestrator.
Package config parses registry-stats configuration from environment variables.
Package config parses registry-stats configuration from environment variables.
Package dockerhub is the Docker Hub RegistrySource implementation.
Package dockerhub is the Docker Hub RegistrySource implementation.
Package ghcr is the GitHub Container Registry source for registry-stats.
Package ghcr is the GitHub Container Registry source for registry-stats.
Package metrics is a thin wrapper around github.com/cplieger/metrics/v2 holding the registry-stats-specific metric instances and the SetImageMetrics adapter (which converts a per-cycle slice of ImageMetric records into the equivalent labeled-gauge state).
Package metrics is a thin wrapper around github.com/cplieger/metrics/v2 holding the registry-stats-specific metric instances and the SetImageMetrics adapter (which converts a per-cycle slice of ImageMetric records into the equivalent labeled-gauge state).
Package model holds the pure data types that describe a registry-stats snapshot.
Package model holds the pure data types that describe a registry-stats snapshot.
Package store persists registry-stats snapshots on the local filesystem.
Package store persists registry-stats snapshots on the local filesystem.
Package urlsafe holds URL path segment safety predicates.
Package urlsafe holds URL path segment safety predicates.
Package webapi holds the HTTP API surface for registry-stats: the five Grafana-facing handlers (/api/health, /api/snapshot, /api/pulls, /api/pulls/daily, /api/summary), the lifecycle wiring (access log, graceful shutdown), and the pure filter/query helpers the handlers share.
Package webapi holds the HTTP API surface for registry-stats: the five Grafana-facing handlers (/api/health, /api/snapshot, /api/pulls, /api/pulls/daily, /api/summary), the lifecycle wiring (access log, graceful shutdown), and the pure filter/query helpers the handlers share.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL