Documentation
¶
Overview ¶
Package runner orchestrates the main dark-factory event loop.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OneShotRunner ¶ added in v0.54.1
OneShotRunner processes all queued prompts and exits cleanly.
func NewOneShotRunner ¶ added in v0.54.1
func NewOneShotRunner( inboxDir string, inProgressDir string, completedDir string, logDir string, specsInboxDir string, specsInProgressDir string, specsCompletedDir string, specsLogDir string, promptManager prompt.Manager, locker lock.Locker, proc processor.Processor, specGen generator.SpecGenerator, currentDateTimeGetter libtime.CurrentDateTimeGetter, ) OneShotRunner
NewOneShotRunner creates a new OneShotRunner.
type Runner ¶
Runner orchestrates the main processing loop.
func NewRunner ¶
func NewRunner( inboxDir string, inProgressDir string, completedDir string, logDir string, specsInboxDir string, specsInProgressDir string, specsCompletedDir string, specsLogDir string, promptManager prompt.Manager, locker lock.Locker, watcher watcher.Watcher, processor processor.Processor, server server.Server, reviewPoller review.ReviewPoller, specWatcher specwatcher.SpecWatcher, projectName string, n notifier.Notifier, ) Runner
NewRunner creates a new Runner.
Click to show internal directories.
Click to hide internal directories.