release

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 11 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 {
	BatchSize                                          int
	AutoReformBatchSize                                int
	SummaryRefreshBatchSize                            int
	SummaryRefreshMaxBatches                           int
	SummaryRefreshMaxDuration                          time.Duration
	SummaryRefreshCandidateBacklogLimit                int
	ReleaseMinConfidence                               float64
	ReleaseMinCompletion                               float64
	ReleaseMinExpectedFileCoveragePct                  float64
	RequireExpectedFileCountForContextualObfuscated    bool
	RequireExpectedFileCountForContextualObfuscatedSet bool
	ReopenArchivedNZBOnReleaseChange                   bool
}

type Service

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

func NewService

func NewService(repo repository, log logger, opts Options) *Service

func (*Service) RunOnce

func (s *Service) RunOnce(ctx context.Context) error

func (*Service) RunOnceWithMetrics added in v0.7.0

func (s *Service) RunOnceWithMetrics(ctx context.Context) (map[string]any, error)

func (*Service) RunReformOnce added in v0.7.0

func (s *Service) RunReformOnce(ctx context.Context) error

func (*Service) RunReformOnceWithMetrics added in v0.7.0

func (s *Service) RunReformOnceWithMetrics(ctx context.Context) (map[string]any, error)

func (*Service) RunReformReleasesOnce added in v0.8.0

func (s *Service) RunReformReleasesOnce(ctx context.Context, releaseIDs []string) error

func (*Service) RunSummaryRefreshOnce added in v0.8.0

func (s *Service) RunSummaryRefreshOnce(ctx context.Context) error

func (*Service) RunSummaryRefreshOnceWithMetrics added in v0.8.0

func (s *Service) RunSummaryRefreshOnceWithMetrics(ctx context.Context) (map[string]any, error)

Jump to

Keyboard shortcuts

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