Documentation ¶
Overview ¶
Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT. Models for http://cpe.mitre.org/language/2.0
Index ¶
- type CPEFactRefType
- type CheckFactRef
- type CheckFactRefType
- type FactRef
- type FactRefType
- type LogicalTest
- type LogicalTestType
- type NamePattern
- type OperatorEnumeration
- type Platform
- type PlatformBaseType
- type PlatformConfiguration
- type PlatformSpecification
- type PlatformSpecificationType
- type PlatformType
- type TextType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPEFactRefType ¶
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 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 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 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 ¶
Click to show internal directories.
Click to hide internal directories.