reports

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateReports

func GenerateReports(images map[string]kmapi.ImageInfo, results map[string]result, isRelevant IsRelevant) (*reportsapi.CVEReportResponse, error)

Types

type IsRelevant added in v0.0.14

type IsRelevant interface {
	Result(r result) bool
	CVE(v trivy.Vulnerability) bool
}

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(kc client.Client) *Storage

func (*Storage) Create

func (*Storage) Destroy

func (r *Storage) Destroy()

func (*Storage) GroupVersionKind

func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind

func (*Storage) NamespaceScoped

func (r *Storage) NamespaceScoped() bool

func (*Storage) New

func (r *Storage) New() runtime.Object

Jump to

Keyboard shortcuts

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