Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilesystemRun ¶
func FilesystemRun(ctx *cli.Context) error
FilesystemRun runs scan on filesystem
func RepositoryRun ¶
func RepositoryRun(ctx *cli.Context) error
RepositoryRun runs scan on repository
Types ¶
type InitializeScanner ¶
type InitializeScanner func(context.Context, string, cache.ArtifactCache, cache.LocalArtifactCache, time.Duration, []analyzer.Type, config.ScannerOption) (scanner.Scanner, func(), error)
InitializeScanner type to define initialize function signature
type Option ¶ added in v0.18.2
type Option struct { option.GlobalOption option.ArtifactOption option.DBOption option.ImageOption option.ReportOption option.CacheOption // contains filtered or unexported fields }
Option holds the artifact options
Click to show internal directories.
Click to hide internal directories.