Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Name is the name of the plugin scanner Name string `yaml:"name" mapstructure:"name"` // ImageName is the name of the docker image that will be used to run the plugin scanner ImageName string `yaml:"image_name" mapstructure:"image_name"` // InputDir is a directory where the plugin scanner will read the asset filesystem InputDir string `yaml:"input_dir" mapstructure:"input_dir"` // ScannerConfig is a json string that will be passed to the scanner in the plugin ScannerConfig string `yaml:"scanner_config" mapstructure:"scanner_config"` // BinaryMode is a flag to indicate that the plugin should be run as a binary BinaryMode bool `json:"binary_mode,omitempty" mapstructure:"binary_mode,omitempty"` }
Click to show internal directories.
Click to hide internal directories.