data

package
v0.0.0-...-50ef522 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(x, y Data) int

Types

type Data

type Data struct {
	ID              RootID                             `json:"id,omitempty"`
	Advisories      []advisoryTypes.Advisory           `json:"advisories,omitempty"`
	Vulnerabilities []vulnerabilityTypes.Vulnerability `json:"vulnerabilities,omitempty"`
	Detections      []detectionTypes.Detection         `json:"detections,omitempty"`
	DataSource      sourceTypes.Source                 `json:"data_source,omitempty"`
}

func (*Data) Merge

func (d *Data) Merge(ds ...Data)

func (*Data) Sort

func (d *Data) Sort()

type RootID

type RootID string

Jump to

Keyboard shortcuts

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