Documentation ¶
Index ¶
- Constants
- type CommandRunner
- type Exec
- func (e *Exec) Description() string
- func (e *Exec) Gather(ctx context.Context, acc cua.Accumulator) error
- func (e *Exec) Init() error
- func (e *Exec) ProcessCommand(command string, acc cua.Accumulator, wg *sync.WaitGroup)
- func (e *Exec) SampleConfig() string
- func (e *Exec) SetParser(parser parsers.Parser)
- type Runner
Constants ¶
View Source
const MaxStderrBytes = 512
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRunner ¶
type CommandRunner struct{}
type Exec ¶
type Exec struct { Log cua.Logger `toml:"-"` Command string Commands []string Timeout internal.Duration // contains filtered or unexported fields }
func (*Exec) Description ¶
func (*Exec) ProcessCommand ¶
func (*Exec) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.