Documentation ¶
Index ¶
- func ConvertFromRpcApplications(rpcApps []*common.Application) []ftypes.Application
- func ConvertFromRpcLibraries(rpcLibs []*common.Library) []ftypes.LibraryInfo
- func ConvertFromRpcOS(rpcOS *common.OS) *ftypes.OS
- func ConvertFromRpcPackageInfos(rpcPkgInfos []*common.PackageInfo) []ftypes.PackageInfo
- func ConvertFromRpcPkgs(rpcPkgs []*common.Package) []ftypes.Package
- func ConvertFromRpcPutImageRequest(req *cache.PutImageRequest) ftypes.ImageInfo
- func ConvertFromRpcPutLayerRequest(req *cache.PutLayerRequest) ftypes.LayerInfo
- func ConvertFromRpcResults(rpcResults []*scanner.Result) []report.Result
- func ConvertFromRpcVulns(rpcVulns []*common.Vulnerability) []types.DetectedVulnerability
- func ConvertToMissingLayersRequest(imageID string, layerIDs []string) *cache.MissingLayersRequest
- func ConvertToRpcImageInfo(imageID string, imageInfo ftypes.ImageInfo) *cache.PutImageRequest
- func ConvertToRpcLayerInfo(layerID, decompressedLayerID string, layerInfo ftypes.LayerInfo) *cache.PutLayerRequest
- func ConvertToRpcLibraries(libs []deptypes.Library) []*common.Library
- func ConvertToRpcOS(fos *ftypes.OS) *common.OS
- func ConvertToRpcPkgs(pkgs []ftypes.Package) []*common.Package
- func ConvertToRpcScanResponse(results report.Results, os *ftypes.OS, eosl bool) *scanner.ScanResponse
- func ConvertToRpcVulns(vulns []types.DetectedVulnerability) []*common.Vulnerability
- func Retry(f func() error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFromRpcApplications ¶ added in v0.5.0
func ConvertFromRpcApplications(rpcApps []*common.Application) []ftypes.Application
func ConvertFromRpcLibraries ¶
func ConvertFromRpcLibraries(rpcLibs []*common.Library) []ftypes.LibraryInfo
func ConvertFromRpcPackageInfos ¶ added in v0.5.0
func ConvertFromRpcPackageInfos(rpcPkgInfos []*common.PackageInfo) []ftypes.PackageInfo
func ConvertFromRpcPutImageRequest ¶ added in v0.5.0
func ConvertFromRpcPutImageRequest(req *cache.PutImageRequest) ftypes.ImageInfo
func ConvertFromRpcPutLayerRequest ¶ added in v0.5.0
func ConvertFromRpcPutLayerRequest(req *cache.PutLayerRequest) ftypes.LayerInfo
func ConvertFromRpcResults ¶ added in v0.5.0
func ConvertFromRpcVulns ¶
func ConvertFromRpcVulns(rpcVulns []*common.Vulnerability) []types.DetectedVulnerability
func ConvertToMissingLayersRequest ¶ added in v0.5.0
func ConvertToMissingLayersRequest(imageID string, layerIDs []string) *cache.MissingLayersRequest
func ConvertToRpcImageInfo ¶ added in v0.5.0
func ConvertToRpcImageInfo(imageID string, imageInfo ftypes.ImageInfo) *cache.PutImageRequest
func ConvertToRpcLayerInfo ¶ added in v0.5.0
func ConvertToRpcLayerInfo(layerID, decompressedLayerID string, layerInfo ftypes.LayerInfo) *cache.PutLayerRequest
func ConvertToRpcScanResponse ¶ added in v0.5.0
func ConvertToRpcVulns ¶
func ConvertToRpcVulns(vulns []types.DetectedVulnerability) []*common.Vulnerability
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.