Documentation ¶
Index ¶
- type BaseCveInfo
- func (cveinfo BaseCveInfo) GetCVEListForImage(image string) (map[string]cvemodel.CVE, error)
- func (cveinfo BaseCveInfo) GetCVESummaryForImage(image string) (ImageCVESummary, error)
- func (cveinfo BaseCveInfo) GetImageListForCVE(repo, cveID string) ([]ImageInfoByCVE, error)
- func (cveinfo BaseCveInfo) GetImageListWithCVEFixed(repo, cveID string) ([]common.TagInfo, error)
- func (cveinfo BaseCveInfo) UpdateDB() error
- type CveInfo
- type ImageCVESummary
- type ImageInfoByCVE
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseCveInfo ¶ added in v1.4.3
type BaseCveInfo struct { Log log.Logger Scanner Scanner LayoutUtils common.OciLayoutUtils }
func NewCVEInfo ¶ added in v1.4.3
func NewCVEInfo(storeController storage.StoreController, log log.Logger) *BaseCveInfo
func (BaseCveInfo) GetCVEListForImage ¶ added in v1.4.3
func (BaseCveInfo) GetCVESummaryForImage ¶ added in v1.4.3
func (cveinfo BaseCveInfo) GetCVESummaryForImage(image string) (ImageCVESummary, error)
func (BaseCveInfo) GetImageListForCVE ¶ added in v1.4.3
func (cveinfo BaseCveInfo) GetImageListForCVE(repo, cveID string) ([]ImageInfoByCVE, error)
func (BaseCveInfo) GetImageListWithCVEFixed ¶ added in v1.4.3
func (cveinfo BaseCveInfo) GetImageListWithCVEFixed(repo, cveID string) ([]common.TagInfo, error)
func (BaseCveInfo) UpdateDB ¶ added in v1.4.3
func (cveinfo BaseCveInfo) UpdateDB() error
type CveInfo ¶
type CveInfo interface { GetImageListForCVE(repo, cveID string) ([]ImageInfoByCVE, error) GetImageListWithCVEFixed(repo, cveID string) ([]common.TagInfo, error) GetCVEListForImage(image string) (map[string]cvemodel.CVE, error) GetCVESummaryForImage(image string) (ImageCVESummary, error) UpdateDB() error }
type ImageCVESummary ¶ added in v1.4.3
type ImageInfoByCVE ¶ added in v1.4.2
Click to show internal directories.
Click to hide internal directories.