entities

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advisory

type Advisory struct {
	Description string `json:"description"`
	Package     string `json:"package"`
	Title       string `json:"title"`
}

type Dependency

type Dependency struct {
	Lockfile string `json:"lockfile"`
	Version  string `json:"version"`
}

type Result

type Result struct {
	Vulnerabilities []Vulnerability `json:"vulnerabilities"`
}

type Vulnerability

type Vulnerability struct {
	Advisory   Advisory   `json:"advisory"`
	Dependency Dependency `json:"dependency"`
}

func (*Vulnerability) GetDetails

func (v *Vulnerability) GetDetails() string

Jump to

Keyboard shortcuts

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