cpe_dict

package
v0.0.0-...-07db83d Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: CC0-1.0 Imports: 4 Imported by: 0

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 CheckType

type CheckType struct {
	XMLName xml.Name

	System string `xml:"system,attr"`

	Href string `xml:"href,attr,omitempty"`

	Text     string `xml:",chardata"`
	InnerXml string `xml:",innerxml"`
}

type CpeItem

type CpeItem struct {
	XMLName xml.Name `xml:"cpe-item"`

	Name cpe.Cpe22Type `xml:"name,attr"`

	Deprecated bool `xml:"deprecated,attr,omitempty"`

	DeprecatedBy cpe.Cpe22Type `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 []ItemType `xml:"cpe-item"`
}

Element

func (*CpeList) ScapVersion

func (clist *CpeList) ScapVersion() string

type GeneratorType

type GeneratorType struct {
	XMLName xml.Name

	ProductName string `xml:"product_name"`

	ProductVersion string `xml:"product_version"`

	SchemaVersion float64 `xml:"schema_version"`

	Timestamp string `xml:"timestamp"`

	InnerXml string `xml:",innerxml"`
}

type ItemType

type ItemType struct {
	XMLName xml.Name

	Name cpe.Cpe22Type `xml:"name,attr"`

	Deprecated bool `xml:"deprecated,attr,omitempty"`

	DeprecatedBy cpe.Cpe22Type `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"`

	InnerXml string `xml:",innerxml"`
}

type ListType

type ListType struct {
	XMLName xml.Name

	Generator *GeneratorType `xml:"generator"`

	CpeItem []ItemType `xml:"cpe-item"`

	InnerXml string `xml:",innerxml"`
}

type NotesType

type NotesType struct {
	XMLName xml.Name

	XmlLang string `xml:"lang,attr"`

	Note []string `xml:",any"`

	InnerXml string `xml:",innerxml"`
}

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 {
	XMLName xml.Name

	Reference []Reference `xml:",any"`

	InnerXml string `xml:",innerxml"`
}

type TextType

type TextType struct {
	XMLName xml.Name

	XmlLang string `xml:"lang,attr"`

	Text     string `xml:",chardata"`
	InnerXml string `xml:",innerxml"`
}

Jump to

Keyboard shortcuts

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