cpe_language

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

	Name string `xml:"name,attr"`

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

	InnerXml string `xml:",innerxml"`
}

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,omitempty"`
}

Element

type CheckFactRefType

type CheckFactRefType struct {
	XMLName xml.Name

	System string `xml:"system,attr"`

	Href string `xml:"href,attr"`

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

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

	InnerXml string `xml:",innerxml"`
}

type FactRef

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

	Name string `xml:"name,attr"`

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

Element

type FactRefType

type FactRefType struct {
	XMLName xml.Name

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

	InnerXml string `xml:",innerxml"`
}

type LogicalTest

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

	Operator OperatorEnumeration `xml:"operator,attr"`

	Negate bool `xml:"negate,attr"`

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

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

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

Element

type LogicalTestType

type LogicalTestType struct {
	XMLName xml.Name

	Operator OperatorEnumeration `xml:"operator,attr"`

	Negate bool `xml:"negate,attr"`

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

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

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

	InnerXml string `xml:",innerxml"`
}

type NamePattern

type NamePattern string

type OperatorEnumeration

type OperatorEnumeration string
const OperatorEnumerationAnd OperatorEnumeration = "AND"
const OperatorEnumerationOr OperatorEnumeration = "OR"

type Platform

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

	Id string `xml:"id,attr"`

	Title []TextType `xml:"title"`

	Remark []TextType `xml:"remark"`

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

Element

type PlatformBaseType

type PlatformBaseType struct {
	XMLName xml.Name

	Title []TextType `xml:"title"`

	Remark []TextType `xml:"remark"`

	LogicalTest LogicalTestType `xml:"logical-test"`

	InnerXml string `xml:",innerxml"`
}

type PlatformConfiguration

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

	Title []TextType `xml:"title"`

	Remark []TextType `xml:"remark"`

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

Element

type PlatformSpecification

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

	Platform []PlatformType `xml:",any"`
}

Element

type PlatformSpecificationType

type PlatformSpecificationType struct {
	XMLName xml.Name

	Platform []PlatformType `xml:",any"`

	InnerXml string `xml:",innerxml"`
}

type PlatformType

type PlatformType struct {
	XMLName xml.Name

	Id string `xml:"id,attr"`

	Title []TextType `xml:"title"`

	Remark []TextType `xml:"remark"`

	LogicalTest LogicalTestType `xml:"logical-test"`

	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