mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
rough draft for plugin system
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -28,7 +28,13 @@ type Application struct {
|
||||
Quiet bool `mapstructure:"quiet"`
|
||||
Log Logging `mapstructure:"log"`
|
||||
CliOptions CliOnlyOptions
|
||||
CheckForAppUpdate bool `mapstructure:"check-for-app-update"`
|
||||
CheckForAppUpdate bool `mapstructure:"check-for-app-update"`
|
||||
Plugins Plugins `mapstructure:"plugins"`
|
||||
}
|
||||
|
||||
type Plugins struct {
|
||||
Enabled bool `mapstructure:"enabled"`
|
||||
Directory string `mapstructure:"dir"`
|
||||
}
|
||||
|
||||
type Logging struct {
|
||||
|
||||
Reference in New Issue
Block a user