Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewImageScanner ¶
func NewImageScanner(logger *zap.Logger, client rode.RodeClient, trivyWrapper CommandWrapper) scanner.ImageScanner
Types ¶
type CommandWrapper ¶
type CommandWrapper interface { Version() (*Version, error) Scan(imageUri string) (*ScanOutput, error) }
func NewTrivyCommandWrapper ¶
func NewTrivyCommandWrapper() CommandWrapper
type ScanOutput ¶
type ScanStatus ¶ added in v0.1.2
type ScanStatus string
const ( ScanningFailed ScanStatus = "ScanningFailed" ScanningCompleted ScanStatus = "ScanningCompleted" )
Click to show internal directories.
Click to hide internal directories.