parser

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package parser ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser added in v0.18.1

type Parser interface {
	Parse(vulnJSON []byte) (result *models.ScanResult, err error)
}

Parser is a parser interface

func NewParser added in v0.18.1

func NewParser(vulnJSON []byte) (Parser, error)

NewParser make a parser for the schema version of trivy

type Report added in v0.18.1

type Report struct {
	SchemaVersion int `json:",omitempty"`
}

Report is used for judgeing the scheme version of trivy

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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