tracker

package
v1.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithSecuritySourcesURL

func WithSecuritySourcesURL(url string) option

func WithSourcesURL

func WithSourcesURL(url string) option

func WithTrackerURL

func WithTrackerURL(url string) option

func WithVulnListDir

func WithVulnListDir(dir string) option

Types

type Annotation

type Annotation struct {
	Original    string   `json:",omitempty"`
	Line        int      `json:",omitempty"`
	Type        string   `json:",omitempty"`
	Release     string   `json:",omitempty"`
	Package     string   `json:",omitempty"`
	Kind        string   `json:",omitempty"`
	Version     string   `json:",omitempty"`
	Description string   `json:",omitempty"`
	Bugs        []string `json:",omitempty"`

	// inner annotations
	Severity string `json:",omitempty"`
	BugNo    int    `json:",omitempty"`
}

type Bug

type Bug struct {
	Header      *Header
	Annotations []*Annotation
}

type Client

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

func NewClient

func NewClient(opts ...option) Client

func (Client) Update

func (c Client) Update() error

type Distribution

type Distribution struct {
	MajorVersion string `json:"major-version"`
	Support      string `json:"support"`
	Contact      string `json:"contact"`
}
type Header struct {
	Original    string `json:",omitempty"`
	Line        int    `json:",omitempty"`
	ID          string `json:",omitempty"`
	Description string `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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