cleanup

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	DB      *ent.Client
	Storage storage.Adapter
	Config  config.CleanupConfig
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(service *Service, logger zerolog.Logger) *Runner

func (*Runner) Start

func (r *Runner) Start(ctx context.Context)

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(options Options) *Service

func (*Service) RunCacheEntries

func (s *Service) RunCacheEntries(ctx context.Context) (int, error)

func (*Service) RunMerges

func (s *Service) RunMerges(ctx context.Context) (int, error)

func (*Service) RunParts

func (s *Service) RunParts(ctx context.Context) (int, error)

func (*Service) RunStorageLocations

func (s *Service) RunStorageLocations(ctx context.Context) (int, error)

func (*Service) RunUploads

func (s *Service) RunUploads(ctx context.Context) (int, error)

Jump to

Keyboard shortcuts

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