Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BundleDownloader ¶
type Command ¶
type Command struct { Output string Logger *zerolog.Logger FS afero.Fs Engine Engine Paths []string Bundle string ResultsProcessor ResultsProcessor SnykCloudEnvironment string SnykClient cloudapi.Client Scan string DetectionDepth int VarFile string SettingsReader SettingsReader BundleDownloader BundleDownloader ReadPolicyEngineVersion func() (string, error) ExcludeRawResults bool AllowAnalytics bool Report bool IacNewEngine bool }
func (Command) RunWithError ¶
type Engine ¶
type Engine interface {
Run(ctx context.Context, options engine.RunOptions) (*engine.Results, results.ScanAnalytics, []error, []error)
}
type ResultsProcessor ¶
Click to show internal directories.
Click to hide internal directories.