Documentation ¶
Overview ¶
Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT. Models for http://cpe.mitre.org/dictionary/2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CpeItem ¶
type CpeItem struct { XMLName xml.Name `xml:cpe-item` Name string `xml:"name,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` DeprecatedBy string `xml:"deprecated_by,attr,omitempty"` DeprecationDate string `xml:"deprecation_date,attr,omitempty"` Title []TextType `xml:"title"` Notes []NotesType `xml:"notes"` References *ReferencesType `xml:"references"` Check []CheckType `xml:"check"` }
Element
type CpeList ¶
type CpeList struct { XMLName xml.Name `xml:cpe-list` Generator *GeneratorType `xml:"generator"` CpeItem []CpeItem `xml:"cpe-item"` }
Element
func (*CpeList) ScapVersion ¶
type GeneratorType ¶
type ItemType ¶
type ItemType struct { Name string `xml:"name,attr"` Deprecated string `xml:"deprecated,attr,omitempty"` DeprecatedBy string `xml:"deprecated_by,attr,omitempty"` DeprecationDate string `xml:"deprecation_date,attr,omitempty"` Title []TextType `xml:"title"` Notes []NotesType `xml:"notes"` References *ReferencesType `xml:"references"` Check []CheckType `xml:"check"` }
type ListType ¶
type ListType struct { Generator *GeneratorType `xml:"generator"` CpeItem []CpeItem `xml:"cpe-item"` }
type Reference ¶
type Reference struct { XMLName xml.Name `xml:reference` Href string `xml:"href,attr"` Text string `xml:",chardata"` }
Element
type ReferencesType ¶
type ReferencesType struct {
Reference []Reference `xml:"reference"`
}
Click to show internal directories.
Click to hide internal directories.