cpe

package
v0.0.0-...-2254187 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Unlicense Imports: 1 Imported by: 0

Documentation

Overview

Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT. Models for http://cpe.mitre.org/language/2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPEFactRefType

type CPEFactRefType struct {
	Name string `xml:"name,attr"`

	Description string `xml:"description,attr"`
}

type CheckFactRef

type CheckFactRef struct {
	XMLName xml.Name `xml:check-fact-ref`

	System string `xml:"system,attr"`

	Href string `xml:"href,attr"`

	IdRef string `xml:"id-ref,attr"`

	Description string `xml:"description,attr"`
}

Element

type CheckFactRefType

type CheckFactRefType struct {
	System string `xml:"system,attr"`

	Href string `xml:"href,attr"`

	IdRef string `xml:"id-ref,attr"`

	Description string `xml:"description,attr"`
}

type FactRef

type FactRef struct {
	XMLName xml.Name `xml:fact-ref`

	Name string `xml:"name,attr"`

	Description string `xml:"description,attr"`
}

Element

type FactRefType

type FactRefType struct {
	Description string `xml:"description,attr"`
}

type LogicalTest

type LogicalTest struct {
	XMLName xml.Name `xml:logical-test`

	Operator string `xml:"operator,attr"`

	Negate string `xml:"negate,attr"`

	LogicalTest []LogicalTestType `xml:"logical-test"`

	FactRef []FactRef `xml:"fact-ref"`

	CheckFactRef []CheckFactRef `xml:"check-fact-ref"`
}

Element

type LogicalTestType

type LogicalTestType struct {
	Operator string `xml:"operator,attr"`

	Negate string `xml:"negate,attr"`

	LogicalTest []LogicalTestType `xml:"logical-test"`

	FactRef []FactRef `xml:"fact-ref"`

	CheckFactRef []CheckFactRef `xml:"check-fact-ref"`
}

type Platform

type Platform struct {
	XMLName xml.Name `xml:platform`

	Id string `xml:"id,attr"`

	Title []TextType `xml:"title"`

	Remark []TextType `xml:"remark"`

	LogicalTest LogicalTest `xml:"logical-test"`
}

Element

type PlatformBaseType

type PlatformBaseType struct {
	Title []TextType `xml:"title"`

	Remark []TextType `xml:"remark"`

	LogicalTest LogicalTest `xml:"logical-test"`
}

type PlatformConfiguration

type PlatformConfiguration struct {
	XMLName xml.Name `xml:platform-configuration`

	Title []TextType `xml:"title"`

	Remark []TextType `xml:"remark"`

	LogicalTest LogicalTest `xml:"logical-test"`
}

Element

type PlatformSpecification

type PlatformSpecification struct {
	XMLName xml.Name `xml:platform-specification`

	Platform []Platform `xml:"platform"`
}

Element

type PlatformSpecificationType

type PlatformSpecificationType struct {
	Platform []Platform `xml:"platform"`
}

type PlatformType

type PlatformType struct {
	Id string `xml:"id,attr"`

	Title []TextType `xml:"title"`

	Remark []TextType `xml:"remark"`

	LogicalTest LogicalTest `xml:"logical-test"`
}

type TextType

type TextType struct {
	XmlLang string `xml:"lang,attr"`

	Text string `xml:",chardata"`
}

Jump to

Keyboard shortcuts

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