package
3.9.1-2869
Repository: https://github.com/deepfactor-io/trivy.git
Documentation: pkg.go.dev

# Functions

NewScannerJSONClient creates a JSON client that implements the Scanner interface.
NewScannerProtobufClient creates a Protobuf client that implements the Scanner interface.
NewScannerServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation.
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta).

# Constants

ScannerPathPrefix is a convenience constant that may identify URL paths.

# Variables

No description provided by the author

# Structs

cf.
Result is the same as github.com/aquasecurity/trivy/pkg/report.Result.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

HTTPClient is the interface used by generated clients to send HTTP requests.
No description provided by the author
TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service.