trivy

package
v0.0.0-...-64f3b2a Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	CacheDir string
}

func NewClient

func NewClient(cacheDir string) (Client, error)

func (Client) GetCve

func (c Client) GetCve(repo, version string) (Cve, error)

type Cve

type Cve struct {
	Critical int `json:"critical"`
	High     int `json:"high"`
	Medium   int `json:"medium"`
	Low      int `json:"low"`
}

Jump to

Keyboard shortcuts

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