Versions in this module Expand all Collapse all v0 v0.11.1 Feb 11, 2021 v0.11.0 Feb 11, 2021 Changes in this version + var ErrorUnauthorised = errors.New("unauthorised") + type DefaultScannerFactory struct + func NewScannerFactory() DefaultScannerFactory + func (f *DefaultScannerFactory) GetScanners(img image.Reference, credentials credential.Credentials, ...) (scanners []Scanner) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type ICCRVAScanner struct + AccountHeader string + Timeout int64 + func NewIBMVulnerabilityAdvisorScanner(credentials credential.Credentials, account string) *ICCRVAScanner + func (s *ICCRVAScanner) CanImageDeployBasedOnVulnerabilities(image image.Reference) (scan ScanResponse, err error) + type ICCRVASummary struct + ConfigurationIssueCount int + ExemptConfigurationIssueCount int + ExemptIssueCount int + ExemptVulnerabilityCount int + IssueCount int + ScanTime int64 + Status string + VulnerabilityCount int + type ScanResponse struct + CanDeploy bool + DenyReason string + type Scanner interface + CanImageDeployBasedOnVulnerabilities func(image.Reference) (ScanResponse, error) + type ScannerFactory interface + GetScanners func(image.Reference, credential.Credentials, policyv1.Policy) []Scanner