rpc

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

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 ConvertFromRpcOS added in v0.5.0

func ConvertFromRpcOS(rpcOS *common.OS) *ftypes.OS

func ConvertFromRpcPackageInfos added in v0.5.0

func ConvertFromRpcPackageInfos(rpcPkgInfos []*common.PackageInfo) []ftypes.PackageInfo

func ConvertFromRpcPkgs

func ConvertFromRpcPkgs(rpcPkgs []*common.Package) []ftypes.Package

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 ConvertFromRpcResults(rpcResults []*scanner.Result) []report.Result

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 ConvertToRpcLibraries

func ConvertToRpcLibraries(libs []deptypes.Library) []*common.Library

func ConvertToRpcOS added in v0.5.0

func ConvertToRpcOS(fos *ftypes.OS) *common.OS

func ConvertToRpcPkgs

func ConvertToRpcPkgs(pkgs []ftypes.Package) []*common.Package

func ConvertToRpcScanResponse added in v0.5.0

func ConvertToRpcScanResponse(results report.Results, os *ftypes.OS, eosl bool) *scanner.ScanResponse

func ConvertToRpcVulns

func ConvertToRpcVulns(vulns []types.DetectedVulnerability) []*common.Vulnerability

func Retry added in v0.4.1

func Retry(f func() error) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL