Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginWatch ¶
func BeginWatch(dirConfig *home.EdwardConfiguration, service services.ServiceOrGroup, restart func() error) (func(), error)
BeginWatch starts auto-restart watches for the provided services. The function returned will close the watcher.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log provides the io.Writer interface to publish service logs to file
type Runner ¶
type Runner struct { Service *services.ServiceConfig DirConfig *home.EdwardConfiguration NoWatch bool WorkingDir string // contains filtered or unexported fields }
Runner provides state and functions for running a given service
func NewRunner ¶ added in v1.8.9
func NewRunner( cfg services.OperationConfig, service *services.ServiceConfig, dirConfig *home.EdwardConfiguration, noWatch bool, workingDir string, ) (*Runner, error)
Click to show internal directories.
Click to hide internal directories.