validator

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GrypeValidationError = errors.New("grype artifact failed validation")
View Source
var ValidationError = errors.New("report failed validation")

Functions

func ValidateGrype

func ValidateGrype(a grype.Artifact) error

Types

type StdValidator

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

func NewStdValidator

func NewStdValidator(r report.Report) *StdValidator

func (StdValidator) Validate

func (v StdValidator) Validate() error

Jump to

Keyboard shortcuts

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