Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownSeverity = fmt.Errorf("unknown severity. Supported severities are: %s", strings.Join(reporthandlingapis.GetSupportedSeverities(), ", "))
Functions ¶
func TerminateOnExceedingSeverity ¶
TerminateOnExceedingSeverity terminates the program if the result exceeds the severity threshold
func ValidateImageScanInfo ¶
ValidateImageScanInfo validates the ScanInfo struct for image scanning commands
func ValidateSeverity ¶
ValidateSeverity returns an error if a given severity is not known, nil otherwise
Types ¶
type ImageCredentials ¶
Click to show internal directories.
Click to hide internal directories.