photon

package
v0.0.0-...-378edf0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	VulnListDir string
	URL         string
	AppFs       afero.Fs
	Retry       int
}

func NewConfig

func NewConfig() Config

func (Config) Update

func (c Config) Update() error

type PhotonCVE

type PhotonCVE struct {
	OSVersion string  `json:"os_version"`
	CveID     string  `json:"cve_id"`
	Pkg       string  `json:"pkg"`
	CveScore  float64 `json:"cve_score"`
	AffVer    string  `json:"aff_ver"`
	ResVer    string  `json:"res_ver"`
}

type Versions

type Versions struct {
	Branches []string `json:"branches"`
}

Jump to

Keyboard shortcuts

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