Documentation
¶
Index ¶
- type Options
- type Service
- func (s *Service) RunOnce(ctx context.Context) error
- func (s *Service) RunOnceWithMetrics(ctx context.Context) (map[string]any, error)
- func (s *Service) RunReformOnce(ctx context.Context) error
- func (s *Service) RunReformOnceWithMetrics(ctx context.Context) (map[string]any, error)
- func (s *Service) RunReformReleasesOnce(ctx context.Context, releaseIDs []string) error
- func (s *Service) RunSummaryRefreshOnce(ctx context.Context) error
- func (s *Service) RunSummaryRefreshOnceWithMetrics(ctx context.Context) (map[string]any, error)
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 (*Service) RunOnceWithMetrics ¶ added in v0.7.0
func (*Service) RunReformOnce ¶ added in v0.7.0
func (*Service) RunReformOnceWithMetrics ¶ added in v0.7.0
func (*Service) RunReformReleasesOnce ¶ added in v0.8.0
func (*Service) RunSummaryRefreshOnce ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.