Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFlags ¶
func WithStoragePrunerMetrics ¶
func WithStoragePrunerMetrics(sp *StoragePruner) error
WithStoragePrunerMetrics is a utility function to turn on storage pruner metrics and that is expected to be "invoked" by the fx lifecycle.
Types ¶
type Config ¶
func DefaultConfig ¶
func DefaultConfig() Config
type StoragePruner ¶
type StoragePruner struct {
// contains filtered or unexported fields
}
func NewStoragePruner ¶
func NewStoragePruner(ds datastore.Batching, store *eds.Store, cfg Config) *StoragePruner
func (*StoragePruner) Register ¶
func (sp *StoragePruner) Register(ctx context.Context, h *header.ExtendedHeader) error
func (*StoragePruner) WithMetrics ¶
func (sp *StoragePruner) WithMetrics() error
Click to show internal directories.
Click to hide internal directories.