Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageScanResult ¶
type ImageScanResult struct {
PodName string
PodNamespace string
ImageName string
ContainerName string
ImageHash string
PodUid string
Vulnerabilities *grype_models.Document
DockerfileScanResults dockle_types.AssessmentMap
LayerCommands []*docker.FsLayerCommand
Success bool
ScanErrors []*ScanError
}
type ScanError ¶
type ScanError struct {
ErrMsg string
ErrType string
ErrSource ScanErrorSource
}
type ScanErrorSource ¶
type ScanErrorSource string
const ( ScanErrSourceDockle ScanErrorSource = "ScanErrSourceDockle" ScanErrSourceVul ScanErrorSource = "ScanErrSourceVulnerability" ScanErrSourceJob ScanErrorSource = "ScanErrSourceJob" )
type ScanErrorType ¶
type ScanErrorType string
const ( JobRun ScanErrorType = "errorJobRun" JobTimeout ScanErrorType = "errorJobTimeout" )
type ScanProgress ¶
type ScanResults ¶
type ScanResults struct {
ImageScanResults []*ImageScanResult
Progress ScanProgress
}
Click to show internal directories.
Click to hide internal directories.