rpc

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: AGPL-3.0 Imports: 14 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 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 ConvertFromRpcResults(rpcResults []*scanner.Result) []report.Result

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 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