Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Combiner ¶
type Combiner struct {
// contains filtered or unexported fields
}
A Combiner is a zio.Reader that returns records by reading from multiple Readers.
func NewCombiner ¶ added in v1.7.0
type Config ¶
type Config struct {
Args []string `yaml:"args,omitempty"`
// Cmd is the command to run for this analyzer (required).
Cmd string `yaml:"cmd"`
Disabled bool `yaml:"disabled,omitempty"`
Globs []string `yaml:"globs,omitempty"`
// Name is a unique selector for this analyzer (required).
Name string `yaml:"name"`
ReaderOpts anyio.ReaderOpts `yaml:"-"`
Shaper string `yaml:"shaper,omitempty"`
StdoutPath string `yaml:"stdout,omitempty"`
StderrPath string `yaml:"stderr,omitempty"`
// WorkDir if set uses the provided directory as the working directory for
// the launched analyzer process. Normally a temporary directory is created
// then deleted when the process is complete. If WorkDir is set the working
// directory will not be deleted.
WorkDir string `yaml:"workdir,omitempty"`
}
type ProcessExitError ¶
func (*ProcessExitError) Error ¶
func (p *ProcessExitError) Error() string
Click to show internal directories.
Click to hide internal directories.