Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Logger *log.Logger Workers *workerpool.WorkerPool }
App contains objects that the application needs to work properly, such as logging
func (*App) ConfigureLogging ¶
ConfigureLogging sets up the logging for the application When running in Debug mode, it will be configured to add the caller to the message
func (*App) ConfigureWorkers ¶
ConfigureWorkers sets up the worker pool with the specified number of workers
func (*App) HandleError ¶
HandleError handles errors from the application This is to ensure that all errors are handled in the same way
type SpawnBuild ¶
type SpawnBuild struct { Name string // Name of the project in the mono repo Directory string // Directory in which the the command should be run Command string // Command to run Env map[string]string }
func (*SpawnBuild) GetCommand ¶
func (s *SpawnBuild) GetCommand() string
GetCommand returns a single string containing the command and the arguments that should be executed
func (*SpawnBuild) GetCommandParts ¶
func (s *SpawnBuild) GetCommandParts() (string, string)
GetCommandParts returns the command and the arguments to the calling function
Click to show internal directories.
Click to hide internal directories.