MCPcopy
hub / github.com/aquasecurity/trivy / Service

Struct Service

pkg/rpc/client/client.go:33–38  ·  view source on GitHub ↗

Service implements the RPC client for remote scanning

Source from the content-addressed store, hash-verified

31
32// Service implements the RPC client for remote scanning
33type Service struct {
34 remoteURL string
35 customHeaders http.Header
36 client rpc.Scanner
37 httpClient *http.Client
38}
39
40// NewService is the factory method to return RPC Service
41func NewService(scannerOptions ServiceOption) Service {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected