Documentation
¶
Overview ¶
Package factory wires all dependencies for the dark-factory application.
Index ¶
- func CreateApproveCommand(cfg config.Config) cmd.ApproveCommand
- func CreateCombinedListCommand(cfg config.Config) cmd.CombinedListCommand
- func CreateCombinedStatusCommand(cfg config.Config) cmd.CombinedStatusCommand
- func CreateListCommand(cfg config.Config) cmd.ListCommand
- func CreateLocker(dir string) lock.Locker
- func CreateProcessor(inProgressDir string, completedDir string, logDir string, projectName string, ...) processor.Processor
- func CreatePromptShowCommand(cfg config.Config) cmd.PromptShowCommand
- func CreatePromptVerifyCommand(cfg config.Config) cmd.PromptVerifyCommand
- func CreateRequeueCommand(cfg config.Config) cmd.RequeueCommand
- func CreateReviewPoller(cfg config.Config, promptManager prompt.Manager) review.ReviewPoller
- func CreateRunner(cfg config.Config, ver string) runner.Runner
- func CreateServer(port int, inboxDir string, inProgressDir string, completedDir string, ...) server.Server
- func CreateSpecApproveCommand(cfg config.Config) cmd.SpecApproveCommand
- func CreateSpecCompleteCommand(cfg config.Config) cmd.SpecCompleteCommand
- func CreateSpecGenerator(cfg config.Config, containerImage string) generator.SpecGenerator
- func CreateSpecListCommand(cfg config.Config) cmd.SpecListCommand
- func CreateSpecShowCommand(cfg config.Config) cmd.SpecShowCommand
- func CreateSpecStatusCommand(cfg config.Config) cmd.SpecStatusCommand
- func CreateSpecWatcher(cfg config.Config, gen generator.SpecGenerator) specwatcher.SpecWatcher
- func CreateStatusCommand(cfg config.Config) cmd.StatusCommand
- func CreateWatcher(inProgressDir string, inboxDir string, promptManager prompt.Manager, ...) watcher.Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateApproveCommand ¶ added in v0.17.15
func CreateApproveCommand(cfg config.Config) cmd.ApproveCommand
CreateApproveCommand creates an ApproveCommand.
func CreateCombinedListCommand ¶ added in v0.17.25
func CreateCombinedListCommand(cfg config.Config) cmd.CombinedListCommand
CreateCombinedListCommand creates a CombinedListCommand.
func CreateCombinedStatusCommand ¶ added in v0.17.25
func CreateCombinedStatusCommand(cfg config.Config) cmd.CombinedStatusCommand
CreateCombinedStatusCommand creates a CombinedStatusCommand.
func CreateListCommand ¶ added in v0.17.15
func CreateListCommand(cfg config.Config) cmd.ListCommand
CreateListCommand creates a ListCommand.
func CreateLocker ¶ added in v0.3.0
CreateLocker creates a Locker for the specified directory.
func CreateProcessor ¶ added in v0.3.1
func CreateProcessor( inProgressDir string, completedDir string, logDir string, projectName string, promptManager prompt.Manager, releaser git.Releaser, versionGetter version.Getter, ready <-chan struct{}, containerImage string, model string, workflow config.Workflow, ghToken string, autoMerge bool, autoRelease bool, autoReview bool, validationCommand string, specsInboxDir string, specsInProgressDir string, specsCompletedDir string, verificationGate bool, netAdmin bool, ) processor.Processor
CreateProcessor creates a Processor that executes queued prompts.
func CreatePromptShowCommand ¶ added in v0.25.0
func CreatePromptShowCommand(cfg config.Config) cmd.PromptShowCommand
CreatePromptShowCommand creates a PromptShowCommand.
func CreatePromptVerifyCommand ¶ added in v0.30.0
func CreatePromptVerifyCommand(cfg config.Config) cmd.PromptVerifyCommand
CreatePromptVerifyCommand creates a PromptVerifyCommand.
func CreateRequeueCommand ¶ added in v0.17.15
func CreateRequeueCommand(cfg config.Config) cmd.RequeueCommand
CreateRequeueCommand creates a RequeueCommand.
func CreateReviewPoller ¶ added in v0.17.38
CreateReviewPoller creates a ReviewPoller that watches in_review prompts and handles approvals/changes.
func CreateRunner ¶ added in v0.2.25
CreateRunner creates a Runner that coordinates watcher and processor using the provided config.
func CreateServer ¶ added in v0.7.0
func CreateServer( port int, inboxDir string, inProgressDir string, completedDir string, logDir string, promptManager prompt.Manager, ) server.Server
CreateServer creates a Server that provides HTTP endpoints for monitoring.
func CreateSpecApproveCommand ¶ added in v0.17.23
func CreateSpecApproveCommand(cfg config.Config) cmd.SpecApproveCommand
CreateSpecApproveCommand creates a SpecApproveCommand.
func CreateSpecCompleteCommand ¶ added in v0.23.2
func CreateSpecCompleteCommand(cfg config.Config) cmd.SpecCompleteCommand
CreateSpecCompleteCommand creates a SpecCompleteCommand.
func CreateSpecGenerator ¶ added in v0.18.1
func CreateSpecGenerator(cfg config.Config, containerImage string) generator.SpecGenerator
CreateSpecGenerator creates a SpecGenerator using the Docker executor.
func CreateSpecListCommand ¶ added in v0.17.23
func CreateSpecListCommand(cfg config.Config) cmd.SpecListCommand
CreateSpecListCommand creates a SpecListCommand.
func CreateSpecShowCommand ¶ added in v0.25.0
func CreateSpecShowCommand(cfg config.Config) cmd.SpecShowCommand
CreateSpecShowCommand creates a SpecShowCommand.
func CreateSpecStatusCommand ¶ added in v0.17.23
func CreateSpecStatusCommand(cfg config.Config) cmd.SpecStatusCommand
CreateSpecStatusCommand creates a SpecStatusCommand.
func CreateSpecWatcher ¶ added in v0.18.1
func CreateSpecWatcher(cfg config.Config, gen generator.SpecGenerator) specwatcher.SpecWatcher
CreateSpecWatcher creates a SpecWatcher that triggers generation when a spec appears in inProgressDir.
func CreateStatusCommand ¶ added in v0.8.0
func CreateStatusCommand(cfg config.Config) cmd.StatusCommand
CreateStatusCommand creates a StatusCommand.
Types ¶
This section is empty.