Documentation
¶
Index ¶
- func CreateLocker(dir string) lock.Locker
- func CreateProcessor(queueDir string, completedDir string, promptManager prompt.Manager, ...) processor.Processor
- func CreateRunner(cfg config.Config, ver string) runner.Runner
- func CreateServer(port int, queueDir string, completedDir string, promptManager prompt.Manager) server.Server
- func CreateStatusCommand(cfg config.Config) cmd.StatusCommand
- func CreateWatcher(inboxDir string, queueDir string, promptManager prompt.Manager, ...) watcher.Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLocker ¶
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 ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.