This commit is contained in:
2026-01-02 15:29:43 +00:00
parent 1cbf6c5d9e
commit c6edad4402
34 changed files with 2842 additions and 449 deletions
+18
View File
@@ -521,6 +521,24 @@ func (s *Store) CleanupExpiredBypasses(ctx context.Context) (int, error) {
return count, nil
}
// GetTimeSeriesStats returns time-series download statistics
// File-based store doesn't support time-series statistics
func (s *Store) GetTimeSeriesStats(ctx context.Context, period string, registry string) (*metadata.TimeSeriesStats, error) {
// Return empty time-series data for file-based store
return &metadata.TimeSeriesStats{
Period: period,
Registry: registry,
DataPoints: []*metadata.TimeSeriesDataPoint{},
}, nil
}
// AggregateDownloadData aggregates download data
// File-based store doesn't support aggregation
func (s *Store) AggregateDownloadData(ctx context.Context) error {
// No-op for file-based store
return nil
}
// Close closes the store
func (s *Store) Close() error {
// Nothing to close for file-based store