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 ConvertFromRpcPutArtifactRequest(req *cache.PutArtifactRequest) ftypes.ArtifactInfo
- func ConvertFromRpcPutBlobRequest(req *cache.PutBlobRequest) ftypes.BlobInfo
- func ConvertFromRpcResults(rpcResults []*scanner.Result) []report.Result
- func ConvertFromRpcVulns(rpcVulns []*common.Vulnerability) []types.DetectedVulnerability
- func ConvertToMissingBlobsRequest(imageID string, layerIDs []string) *cache.MissingBlobsRequest
- func ConvertToRpcArtifactInfo(imageID string, imageInfo ftypes.ArtifactInfo) *cache.PutArtifactRequest
- func ConvertToRpcBlobInfo(diffID string, layerInfo ftypes.BlobInfo) *cache.PutBlobRequest
- 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 ConvertFromRpcPutArtifactRequest ¶ added in v0.9.0
func ConvertFromRpcPutArtifactRequest(req *cache.PutArtifactRequest) ftypes.ArtifactInfo
func ConvertFromRpcPutBlobRequest ¶ added in v0.9.0
func ConvertFromRpcPutBlobRequest(req *cache.PutBlobRequest) ftypes.BlobInfo
func ConvertFromRpcResults ¶ added in v0.5.0
func ConvertFromRpcVulns ¶
func ConvertFromRpcVulns(rpcVulns []*common.Vulnerability) []types.DetectedVulnerability
func ConvertToMissingBlobsRequest ¶ added in v0.9.0
func ConvertToMissingBlobsRequest(imageID string, layerIDs []string) *cache.MissingBlobsRequest
func ConvertToRpcArtifactInfo ¶ added in v0.9.0
func ConvertToRpcArtifactInfo(imageID string, imageInfo ftypes.ArtifactInfo) *cache.PutArtifactRequest
func ConvertToRpcBlobInfo ¶ added in v0.9.0
func ConvertToRpcBlobInfo(diffID string, layerInfo ftypes.BlobInfo) *cache.PutBlobRequest
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.