vuln

package
v0.0.0-...-b3aaee5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright 2022 VMware, Inc. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	ArtifactID core.ArtifactID
	// Refer the harbor vulnerability data model.
	Data models.NativeReportSummary
	// Error object if any error occurred.
	Err error
}

Store for storing vulnerability data.

func (*Store) Assess

func (s *Store) Assess(baseline v1alpha1.ComplianceBaseline) error

Assess implements types.Store.

func (*Store) FillIn

func (s *Store) FillIn(artifactID core.ArtifactID, data interface{})

FillIn implements types.Store.

func (*Store) ForArtifact

func (s *Store) ForArtifact() core.ArtifactID

ForArtifact implements types.Store.

func (*Store) FromJSON

func (s *Store) FromJSON(str string)

FromJSON implements types.Store.

func (*Store) Metadata

func (s *Store) Metadata() core.Metadata

Metadata implements types.Store.

func (*Store) SetError

func (s *Store) SetError(err error)

SetError implements types.Store.

func (*Store) ToJSON

func (s *Store) ToJSON() string

ToJSON implements types.Store.

func (*Store) Validate

func (s *Store) Validate() error

Validate implements types.Store.

Jump to

Keyboard shortcuts

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