Documentation ¶ Index ¶ type Client func (c Client) ScanImage(ctx context.Context, image string, cacheDir string) (*report.Report, error) func (c Client) UpdateDatabase(ctx context.Context, cacheDir string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct{} func (Client) ScanImage ¶ func (c Client) ScanImage(ctx context.Context, image string, cacheDir string) (*report.Report, error) func (Client) UpdateDatabase ¶ func (c Client) UpdateDatabase(ctx context.Context, cacheDir string) error Source Files ¶ View all Source files trivy.go Click to show internal directories. Click to hide internal directories.