Documentation
¶
Index ¶
Constants ¶
View Source
const (
// FileTag should be used to identify catalogers that primarily discover information about files (as opposed to packages).
FileTag = "file"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Selection file.Selection `yaml:"selection" json:"selection" mapstructure:"selection"`
Hashers []crypto.Hash `yaml:"hashers" json:"hashers" mapstructure:"hashers"`
Content filecontent.Config `yaml:"content" json:"content" mapstructure:"content"`
Executable executable.Config `yaml:"executable" json:"executable" mapstructure:"executable"`
}
func DefaultConfig ¶
func DefaultConfig() Config
func (Config) MarshalJSON ¶
func (*Config) UnmarshalJSON ¶
func (Config) WithContentConfig ¶ added in v0.104.0
func (cfg Config) WithContentConfig(content filecontent.Config) Config
Click to show internal directories.
Click to hide internal directories.