Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct { Cmd *exec.Cmd Stdin io.WriteCloser Stdout io.ReadCloser Stderr io.ReadCloser ReadStdoutFn func(io.Reader) ReadStderrFn func(io.Reader) RestartDelay time.Duration Log telegraf.Logger // contains filtered or unexported fields }
Process is a long-running process manager that will restart processes if they stop.
Click to show internal directories.
Click to hide internal directories.