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 (*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
Click to show internal directories.
Click to hide internal directories.