Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArchOp ¶
type ArchOp uint
const ( OpEquals ArchOp // equals OpNotEquals // not equals OpPatternMatch // pattern match )
func (ArchOp) MarshalText ¶
func (*ArchOp) UnmarshalText ¶
type PackageKind ¶
type PackageKind uint
const ( UnknownPackage PackageKind = iota // unknown SourcePackage // source BinaryPackage // binary )
func (PackageKind) MarshalText ¶
func (k PackageKind) MarshalText() (text []byte, err error)
func (PackageKind) String ¶
func (i PackageKind) String() string
func (*PackageKind) UnmarshalText ¶
func (k *PackageKind) UnmarshalText(text []byte) error
type Range ¶
Range is a half-open interval of two Versions.
In the usual notation, it is: [Lower, Upper)
type Version ¶
Version describes a revision of some sort that is ordered correctly within its "Kind".
Versions of different kinds do not have any sensible ordering.
func (*Version) Compare ¶
Compare returns an integer describing the relationship of two Versions.
The result will be 0 if a==b, -1 if a < b, and +1 if a > b. If the Versions are of different kinds, the Kinds will be compared lexographically.
func (*Version) MarshalText ¶
MarshalText implments encoding.TextMarshaler.
func (*Version) UnmarshalText ¶
UnmarshalText implments encoding.TextUnmarshaler.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package cpe provides for handling Common Platform Enumeration (CPE) names.
|
Package cpe provides for handling Common Platform Enumeration (CPE) names. |
Package csaf provides functionality for handling Common Security Advisory Framework Version 2.0 documents: https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html
|
Package csaf provides functionality for handling Common Security Advisory Framework Version 2.0 documents: https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html |
Package cvss implements v2.0, v3.0, v3.1, and v4.0 CVSS vectors and scoring.
|
Package cvss implements v2.0, v3.0, v3.1, and v4.0 CVSS vectors and scoring. |
Click to show internal directories.
Click to hide internal directories.