factory

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLocker

func CreateLocker(dir string) lock.Locker

CreateLocker creates a Locker for the specified directory.

func CreateProcessor

func CreateProcessor(
	queueDir string,
	completedDir string,
	promptManager prompt.Manager,
	releaser git.Releaser,
	versionGetter version.Getter,
	ready <-chan struct{},
	containerImage string,
) processor.Processor

CreateProcessor creates a Processor that executes queued prompts.

func CreateRunner

func CreateRunner(cfg config.Config, ver string) runner.Runner

CreateRunner creates a Runner that coordinates watcher and processor using the provided config.

func CreateServer added in v0.7.0

func CreateServer(
	port int,
	queueDir string,
	completedDir string,
	promptManager prompt.Manager,
) server.Server

CreateServer creates a Server that provides HTTP endpoints for monitoring.

func CreateStatusCommand added in v0.8.0

func CreateStatusCommand(cfg config.Config) cmd.StatusCommand

CreateStatusCommand creates a StatusCommand.

func CreateWatcher

func CreateWatcher(
	queueDir string,
	promptManager prompt.Manager,
	ready chan<- struct{},
	debounce time.Duration,
) watcher.Watcher

CreateWatcher creates a Watcher that normalizes filenames on file events.

Types

This section is empty.

Jump to

Keyboard shortcuts

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