Documentation
¶
Index ¶
Constants ¶
View Source
const Any = ""
Variables ¶
This section is empty.
Functions ¶
func ValidateString ¶
Types ¶
type BySpecificity ¶
type BySpecificity []CPE
func (BySpecificity) Len ¶
func (c BySpecificity) Len() int
func (BySpecificity) Less ¶
func (c BySpecificity) Less(i, j int) bool
func (BySpecificity) Swap ¶
func (c BySpecificity) Swap(i, j int)
type CPE ¶
type CPE struct { Part string Vendor string Product string Version string Update string Edition string SWEdition string TargetSW string TargetHW string Other string Language string }
func New ¶
New will parse a formatted CPE string and return a CPE object. Some input, such as the existence of whitespace characters is allowed, however, a more strict validation is done after this sanitization process.
func NewWithAny ¶ added in v0.102.0
func NewWithAny() CPE
func (CPE) BindToFmtString ¶ added in v0.102.0
Click to show internal directories.
Click to hide internal directories.