Versions in this module Expand all Collapse all v0 v0.2.0 Jul 6, 2026 Changes in this version + type Builder struct + func NewBuilder(verbose bool) *Builder + func (b *Builder) BuildClean(registry *cleaner.Registry, selected []string) (*CompiledWorkflow, error) + func (b *Builder) BuildScan(registry *cleaner.Registry, selected []string) (*CompiledWorkflow, error) + func (b *Builder) WithRetryConfig(cfg *RetryConfig) *Builder + type CompiledWorkflow struct + Collector *resultCollector + Workflow *flow.Workflow + type RetryConfig struct + InitialBackoff time.Duration + MaxAttempts int + MaxBackoff time.Duration + func DefaultRetryConfig() RetryConfig + func RetryConfigFromAttempts(maxAttempts int) *RetryConfig + type RunOption func(*runConfig) + func WithMaxConcurrency(n int) RunOption + func WithRetry(cfg *RetryConfig) RunOption + func WithVerbose(verbose bool) RunOption + type StepResult struct + Clean domain.CleanResult + Duration time.Duration + Err error + Name string + func (s StepResult) Status() StepStatus + type StepStatus string + const StepStatusFailed + const StepStatusSkipped + const StepStatusSucceeded + type WorkflowResult struct + Duration time.Duration + Steps []StepResult + TotalBytesFreed uint64 + TotalItemsFailed uint + TotalItemsRemoved uint + func RunCleaners(ctx context.Context, registry *cleaner.Registry, selected []string, ...) (*WorkflowResult, error) + func RunScans(ctx context.Context, registry *cleaner.Registry, selected []string, ...) (*WorkflowResult, error) + func (wr *WorkflowResult) CleanResultsMap() map[string]domain.CleanResult + func (wr *WorkflowResult) Failed() []StepResult + func (wr *WorkflowResult) Skipped() []StepResult + func (wr *WorkflowResult) Succeeded() []StepResult