Versions in this module Expand all Collapse all v2 v2.6.2 Aug 12, 2022 Changes in this version + type Config struct + DBRetainPeriod time.Duration + UploadInterval time.Duration + type IndexSet interface + Add func(idx index.Index) + Cleanup func(indexRetainPeriod time.Duration) error + Close func() + ForEach func(callback index.ForEachIndexCallback) error + Upload func(ctx context.Context) error + func NewIndexSet(tableName, userID string, baseIndexSet storage.IndexSet, logger log.Logger) (IndexSet, error) + type Table interface + AddIndex func(userID string, idx index.Index) error + Cleanup func(indexRetainPeriod time.Duration) error + ForEach func(userID string, callback index.ForEachIndexCallback) error + Name func() string + Stop func() + Upload func(ctx context.Context) error + func NewTable(name string, storageClient storage.Client) Table + type TableManager interface + AddIndex func(tableName, userID string, index index.Index) error + ForEach func(tableName, userID string, callback index.ForEachIndexCallback) error + Stop func() + func NewTableManager(cfg Config, storageClient storage.Client, reg prometheus.Registerer) (TableManager, error)