Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultIgnoreFile = ".trivyignore"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type MockVulnClient ¶ added in v0.3.0
func NewMockVulnClient ¶ added in v0.3.0
func NewMockVulnClient() *MockVulnClient
func (*MockVulnClient) FillInfo ¶ added in v0.3.0
func (_m *MockVulnClient) FillInfo(a []types.DetectedVulnerability, b bool)
func (*MockVulnClient) Filter ¶ added in v0.3.0
func (_m *MockVulnClient) Filter(a []types.DetectedVulnerability, b []dbTypes.Severity, c bool, d string) []types.DetectedVulnerability
type Operation ¶ added in v0.3.0
type Operation interface { FillInfo(vulns []types.DetectedVulnerability, light bool) Filter(vulns []types.DetectedVulnerability, severities []dbTypes.Severity, ignoreUnfixed bool, ignoreFile string) []types.DetectedVulnerability }
Click to show internal directories.
Click to hide internal directories.