Documentation ¶
Index ¶
Constants ¶
View Source
const ( StdOut = "stdout" StdErr = "stderr" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logstreamer ¶
type Logstreamer struct {
// contains filtered or unexported fields
}
func NewLogstreamer ¶
func NewLogstreamer(stdType string, name string) *Logstreamer
func (*Logstreamer) Close ¶
func (l *Logstreamer) Close()
func (*Logstreamer) Flush ¶
func (l *Logstreamer) Flush() error
func (*Logstreamer) OutputLines ¶
func (l *Logstreamer) OutputLines() (err error)
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is the struct that manage running local applications
func NewRunner ¶
func NewRunner(proxy proxy.ProxyInterface, project *config.Project) *Runner
NewRunner instancites a Runner struct from configuration data
func (*Runner) Restart ¶
func (r *Runner) Restart(application *config.Application)
Restart kills the current application launch (if it exists) and launch a new one
func (*Runner) Run ¶
func (r *Runner) Run(application *config.Application)
Run launches the application
func (*Runner) RunAll ¶
func (r *Runner) RunAll()
RunAll runs all local applications in separated goroutines
type RunnerInterface ¶ added in v0.0.8
type RunnerInterface interface { RunAll() SetupAll() Run(application *config.Application) Restart(application *config.Application) Stop() error }
Click to show internal directories.
Click to hide internal directories.