Documentation ¶
Index ¶
- func GenerateReports(images map[string]kmapi.ImageInfo, results map[string]result, ...) (*reportsapi.CVEReportResponse, error)
- type IsRelevant
- type Storage
- func (r *Storage) Create(ctx context.Context, obj runtime.Object, _ rest.ValidateObjectFunc, ...) (runtime.Object, error)
- func (r *Storage) Destroy()
- func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
- func (r *Storage) NamespaceScoped() bool
- func (r *Storage) New() runtime.Object
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 (*Storage) GroupVersionKind ¶
func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
func (*Storage) NamespaceScoped ¶
Click to show internal directories.
Click to hide internal directories.