Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRunner ¶
type CommandRunner struct {
// contains filtered or unexported fields
}
CommandRunner runs a command with the ability to kill the process before the timeout.
type Exec ¶
type Exec struct { Command []string `toml:"command"` Timeout internal.Duration `toml:"timeout"` // contains filtered or unexported fields }
Exec defines the exec output plugin.
func (*Exec) SampleConfig ¶
SampleConfig returns a sample configuration.
func (*Exec) SetSerializer ¶
func (e *Exec) SetSerializer(serializer serializers.Serializer)
SetSerializer sets the serializer for the output.
Click to show internal directories.
Click to hide internal directories.