Documentation ¶
Overview ¶
Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT. Models for http://scap.nist.gov/schema/ocil/2.0
Index ¶
- type ArtifactIDPattern
- type ArtifactRefType
- type ArtifactRefsType
- type ArtifactResultType
- type ArtifactResultsType
- type ArtifactType
- type ArtifactValue
- type ArtifactValueType
- type ArtifactsType
- type BinaryArtifactValue
- type BinaryArtifactValueType
- type BooleanQuestion
- type BooleanQuestionModelType
- type BooleanQuestionResult
- type BooleanQuestionResultType
- type BooleanQuestionTestAction
- type BooleanQuestionTestActionType
- type BooleanQuestionType
- type ChoiceAnswerType
- type ChoiceGroupIDPattern
- type ChoiceGroupType
- type ChoiceIDPattern
- type ChoiceQuestion
- type ChoiceQuestionResult
- type ChoiceQuestionResultType
- type ChoiceQuestionTestAction
- type ChoiceQuestionTestActionType
- type ChoiceQuestionType
- type ChoiceTestActionConditionType
- type ChoiceType
- type CompoundTestActionType
- type ConstantVariable
- type ConstantVariableType
- type DocumentType
- type EmbeddedArtifactValueType
- type EqualsTestActionConditionType
- type ExceptionalResultType
- type Expression
- type ExtensionContainerType
- type ExternalVariable
- type ExternalVariableType
- type GeneratorType
- type InstructionsType
- type ItemBaseType
- type LocalVariable
- type LocalVariableType
- type NamedItemBaseType
- type NumericQuestion
- type NumericQuestionResult
- type NumericQuestionResultType
- type NumericQuestionTestAction
- type NumericQuestionTestActionType
- type NumericQuestionType
- type OCILType
- type Ocil
- type OperationType
- type OperatorType
- type PatternTestActionConditionType
- type PatternType
- type ProviderValuePattern
- type Question
- type QuestionIDPattern
- type QuestionResult
- type QuestionResultType
- type QuestionResultsType
- type QuestionTestAction
- type QuestionTestActionIDPattern
- type QuestionTestActionType
- type QuestionTextType
- type QuestionType
- type QuestionnaireIDPattern
- type QuestionnaireResultType
- type QuestionnaireResultsType
- type QuestionnaireType
- type QuestionnairesType
- type QuestionsType
- type RangeTestActionConditionType
- type RangeType
- type RangeValueType
- type Reference
- type ReferenceArtifactValue
- type ReferenceArtifactValueType
- type ReferenceType
- type ReferencesType
- type ResultType
- type ResultsType
- type SetExpressionBaseType
- type SetExpressionBooleanType
- type SetExpressionChoiceType
- type SetExpressionPatternType
- type SetExpressionRangeType
- type StepType
- type StringQuestion
- type StringQuestionResult
- type StringQuestionResultType
- type StringQuestionTestAction
- type StringQuestionTestActionType
- type StringQuestionType
- type SubstitutionTextType
- type System
- type SystemTargetType
- type Target
- type TargetsType
- type TestAction
- type TestActionConditionType
- type TestActionRefType
- type TestActionRefValuePattern
- type TestActionResultType
- type TestActionResultsType
- type TestActionsType
- type TextArtifactValue
- type TextArtifactValueType
- type TextType
- type User
- type UserResponseType
- type UserType
- type Variable
- type VariableDataType
- type VariableIDPattern
- type VariableSetType
- type VariableType
- type VariablesType
- type WhenBoolean
- type WhenChoice
- type WhenPattern
- type WhenRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactIDPattern ¶
type ArtifactIDPattern string
type ArtifactRefType ¶
type ArtifactRefType struct { XMLName xml.Name Idref ArtifactIDPattern `xml:"idref,attr"` Required bool `xml:"required,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type ArtifactRefsType ¶
type ArtifactRefsType struct { XMLName xml.Name ArtifactRef []ArtifactRefType `xml:",any"` InnerXml string `xml:",innerxml"` }
type ArtifactResultType ¶
type ArtifactResultType struct { XMLName xml.Name ArtifactRef ArtifactIDPattern `xml:"artifact_ref,attr"` Timestamp string `xml:"timestamp,attr"` ArtifactValue ArtifactValueType `xml:"artifact_value"` Provider ProviderValuePattern `xml:"provider"` Submitter UserType `xml:"submitter"` InnerXml string `xml:",innerxml"` }
type ArtifactResultsType ¶
type ArtifactResultsType struct { XMLName xml.Name ArtifactResult []ArtifactResultType `xml:",any"` InnerXml string `xml:",innerxml"` }
type ArtifactType ¶
type ArtifactValueType ¶
type ArtifactsType ¶
type ArtifactsType struct { XMLName xml.Name Artifact []ArtifactType `xml:",any"` InnerXml string `xml:",innerxml"` }
type BinaryArtifactValue ¶
type BinaryArtifactValue struct { XMLName xml.Name `xml:"binary_artifact_value"` MimeType string `xml:"mime_type,attr"` Data string `xml:",any"` }
Element
type BinaryArtifactValueType ¶
type BooleanQuestion ¶
type BooleanQuestion struct { XMLName xml.Name `xml:"boolean_question"` DefaultAnswer string `xml:"default_answer,attr,omitempty"` Model string `xml:"model,attr,omitempty"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` }
Element
type BooleanQuestionModelType ¶
type BooleanQuestionModelType string
const BooleanQuestionModelTypeModelTrueFalse BooleanQuestionModelType = "MODEL_TRUE_FALSE"
const BooleanQuestionModelTypeModelYesNo BooleanQuestionModelType = "MODEL_YES_NO"
type BooleanQuestionResult ¶
type BooleanQuestionResult struct { XMLName xml.Name `xml:"boolean_question_result"` QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` Answer bool `xml:",any"` }
Element
type BooleanQuestionResultType ¶
type BooleanQuestionResultType struct { XMLName xml.Name QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` Answer bool `xml:",any"` InnerXml string `xml:",innerxml"` }
type BooleanQuestionTestAction ¶
type BooleanQuestionTestAction struct { XMLName xml.Name `xml:"boolean_question_test_action"` QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` WhenTrue TestActionConditionType `xml:"when_true"` WhenFalse TestActionConditionType `xml:"when_false"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` }
Element
type BooleanQuestionTestActionType ¶
type BooleanQuestionTestActionType struct { XMLName xml.Name QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` WhenTrue TestActionConditionType `xml:"when_true"` WhenFalse TestActionConditionType `xml:"when_false"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type BooleanQuestionType ¶
type BooleanQuestionType struct { XMLName xml.Name DefaultAnswer string `xml:"default_answer,attr,omitempty"` Model string `xml:"model,attr,omitempty"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type ChoiceAnswerType ¶
type ChoiceAnswerType struct { XMLName xml.Name ChoiceRef ChoiceIDPattern `xml:"choice_ref,attr"` InnerXml string `xml:",innerxml"` }
type ChoiceGroupIDPattern ¶
type ChoiceGroupIDPattern string
type ChoiceGroupType ¶
type ChoiceGroupType struct { XMLName xml.Name Id ChoiceGroupIDPattern `xml:"id,attr"` Choice []ChoiceType `xml:",any"` InnerXml string `xml:",innerxml"` }
type ChoiceIDPattern ¶
type ChoiceIDPattern string
type ChoiceQuestion ¶
type ChoiceQuestion struct { XMLName xml.Name `xml:"choice_question"` DefaultAnswerRef string `xml:"default_answer_ref,attr,omitempty"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` }
Element
type ChoiceQuestionResult ¶
type ChoiceQuestionResult struct { XMLName xml.Name `xml:"choice_question_result"` QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` Answer ChoiceAnswerType `xml:",any"` }
Element
type ChoiceQuestionResultType ¶
type ChoiceQuestionResultType struct { XMLName xml.Name QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` Answer ChoiceAnswerType `xml:",any"` InnerXml string `xml:",innerxml"` }
type ChoiceQuestionTestAction ¶
type ChoiceQuestionTestAction struct { XMLName xml.Name `xml:"choice_question_test_action"` QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` WhenChoice []ChoiceTestActionConditionType `xml:"when_choice"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` }
Element
type ChoiceQuestionTestActionType ¶
type ChoiceQuestionTestActionType struct { XMLName xml.Name QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` WhenChoice []ChoiceTestActionConditionType `xml:"when_choice"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type ChoiceQuestionType ¶
type ChoiceQuestionType struct { XMLName xml.Name DefaultAnswerRef string `xml:"default_answer_ref,attr,omitempty"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type ChoiceTestActionConditionType ¶
type ChoiceTestActionConditionType struct { XMLName xml.Name ChoiceRef []ChoiceIDPattern `xml:"choice_ref"` ArtifactRefs *ArtifactRefsType `xml:"artifact_refs"` Result *ResultType `xml:"result"` TestActionRef *TestActionRefType `xml:"test_action_ref"` InnerXml string `xml:",innerxml"` }
type ChoiceType ¶
type ChoiceType struct { XMLName xml.Name Id ChoiceIDPattern `xml:"id,attr"` VarRef VariableIDPattern `xml:"var_ref,attr,omitempty"` Text string `xml:",chardata"` InnerXml string `xml:",innerxml"` }
type CompoundTestActionType ¶
type CompoundTestActionType struct { XMLName xml.Name Revision uint64 `xml:"revision,attr"` Title *TextType `xml:"title"` Description *TextType `xml:"description"` References *ReferencesType `xml:"references"` Actions OperationType `xml:"actions"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type ConstantVariable ¶
type ConstantVariable struct { XMLName xml.Name `xml:"constant_variable"` Id string `xml:"id,attr"` Datatype string `xml:"datatype,attr"` Revision uint64 `xml:"revision,attr"` Value string `xml:"value"` Description *TextType `xml:"description"` Notes []string `xml:"notes"` }
Element
type ConstantVariableType ¶
type DocumentType ¶
type EqualsTestActionConditionType ¶
type EqualsTestActionConditionType struct { XMLName xml.Name VarRef VariableIDPattern `xml:"var_ref,attr,omitempty"` Value []float64 `xml:"value"` ArtifactRefs *ArtifactRefsType `xml:"artifact_refs"` Result *ResultType `xml:"result"` TestActionRef *TestActionRefType `xml:"test_action_ref"` InnerXml string `xml:",innerxml"` }
type ExceptionalResultType ¶
type ExceptionalResultType string
const ExceptionalResultTypeError ExceptionalResultType = "ERROR"
const ExceptionalResultTypeNotApplicable ExceptionalResultType = "NOT_APPLICABLE"
const ExceptionalResultTypeNotTested ExceptionalResultType = "NOT_TESTED"
const ExceptionalResultTypeUnknown ExceptionalResultType = "UNKNOWN"
type Expression ¶
Element
type ExtensionContainerType ¶
type ExternalVariable ¶
type ExternalVariable struct { XMLName xml.Name `xml:"external_variable"` Id string `xml:"id,attr"` Datatype string `xml:"datatype,attr"` Revision uint64 `xml:"revision,attr"` Description *TextType `xml:"description"` Notes []string `xml:"notes"` }
Element
type ExternalVariableType ¶
type GeneratorType ¶
type GeneratorType struct { XMLName xml.Name ProductName string `xml:"product_name"` ProductVersion string `xml:"product_version"` Author []UserType `xml:"author"` SchemaVersion float64 `xml:"schema_version"` Timestamp string `xml:"timestamp"` AdditionalData *ExtensionContainerType `xml:"additional_data"` InnerXml string `xml:",innerxml"` }
type InstructionsType ¶
type ItemBaseType ¶
type LocalVariable ¶
type LocalVariable struct { XMLName xml.Name `xml:"local_variable"` QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Datatype string `xml:"datatype,attr"` Revision uint64 `xml:"revision,attr"` Set string `xml:"set"` Description *TextType `xml:"description"` Notes []string `xml:"notes"` }
Element
type LocalVariableType ¶
type LocalVariableType struct { XMLName xml.Name QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Datatype string `xml:"datatype,attr"` Revision uint64 `xml:"revision,attr"` Set string `xml:"set"` Description *TextType `xml:"description"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type NamedItemBaseType ¶
type NumericQuestion ¶
type NumericQuestion struct { XMLName xml.Name `xml:"numeric_question"` DefaultAnswer string `xml:"default_answer,attr,omitempty"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` }
Element
type NumericQuestionResult ¶
type NumericQuestionResult struct { XMLName xml.Name `xml:"numeric_question_result"` QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` Answer float64 `xml:",any"` }
Element
type NumericQuestionResultType ¶
type NumericQuestionResultType struct { XMLName xml.Name QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` Answer float64 `xml:",any"` InnerXml string `xml:",innerxml"` }
type NumericQuestionTestAction ¶
type NumericQuestionTestAction struct { XMLName xml.Name `xml:"numeric_question_test_action"` QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` }
Element
type NumericQuestionTestActionType ¶
type NumericQuestionTestActionType struct { XMLName xml.Name QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type NumericQuestionType ¶
type NumericQuestionType struct { XMLName xml.Name DefaultAnswer string `xml:"default_answer,attr,omitempty"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type OCILType ¶
type OCILType struct { XMLName xml.Name Generator GeneratorType `xml:"generator"` Document *DocumentType `xml:"document"` Questionnaires QuestionnairesType `xml:"questionnaires"` TestActions TestActionsType `xml:"test_actions"` Questions QuestionsType `xml:"questions"` Artifacts *ArtifactsType `xml:"artifacts"` Variables *VariablesType `xml:"variables"` Results *ResultsType `xml:"results"` InnerXml string `xml:",innerxml"` }
type Ocil ¶
type Ocil struct { XMLName xml.Name `xml:"ocil"` Generator GeneratorType `xml:"generator"` Document *DocumentType `xml:"document"` Questionnaires QuestionnairesType `xml:"questionnaires"` TestActions TestActionsType `xml:"test_actions"` Questions QuestionsType `xml:"questions"` Artifacts *ArtifactsType `xml:"artifacts"` Variables *VariablesType `xml:"variables"` Results *ResultsType `xml:"results"` }
Element
func (*Ocil) ScapVersion ¶
type OperationType ¶
type OperationType struct { XMLName xml.Name Operation OperatorType `xml:"operation,attr,omitempty"` Negate bool `xml:"negate,attr,omitempty"` TestActionRef []TestActionRefType `xml:",any"` InnerXml string `xml:",innerxml"` }
type OperatorType ¶
type OperatorType string
const OperatorTypeAnd OperatorType = "AND"
const OperatorTypeOr OperatorType = "OR"
type PatternTestActionConditionType ¶
type PatternTestActionConditionType struct { XMLName xml.Name Pattern []PatternType `xml:"pattern"` ArtifactRefs *ArtifactRefsType `xml:"artifact_refs"` Result *ResultType `xml:"result"` TestActionRef *TestActionRefType `xml:"test_action_ref"` InnerXml string `xml:",innerxml"` }
type PatternType ¶
type PatternType struct { XMLName xml.Name VarRef VariableIDPattern `xml:"var_ref,attr,omitempty"` Text string `xml:",chardata"` InnerXml string `xml:",innerxml"` }
type ProviderValuePattern ¶
type ProviderValuePattern string
type Question ¶
type Question struct { XMLName xml.Name `xml:"question"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` }
Element
type QuestionIDPattern ¶
type QuestionIDPattern string
type QuestionResult ¶
type QuestionResult struct { XMLName xml.Name `xml:"question_result"` QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` }
Element
type QuestionResultType ¶
type QuestionResultType struct { XMLName xml.Name QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` InnerXml string `xml:",innerxml"` }
type QuestionResultsType ¶
type QuestionResultsType struct { XMLName xml.Name QuestionResult []QuestionResultType `xml:",any"` InnerXml string `xml:",innerxml"` }
type QuestionTestAction ¶
type QuestionTestAction struct { XMLName xml.Name `xml:"question_test_action"` QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` }
Element
type QuestionTestActionIDPattern ¶
type QuestionTestActionIDPattern string
type QuestionTestActionType ¶
type QuestionTestActionType struct { XMLName xml.Name QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type QuestionTextType ¶
type QuestionTextType struct { XMLName xml.Name Sub []SubstitutionTextType `xml:",any"` InnerXml string `xml:",innerxml"` }
type QuestionType ¶
type QuestionType struct { XMLName xml.Name Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type QuestionnaireIDPattern ¶
type QuestionnaireIDPattern string
type QuestionnaireResultType ¶
type QuestionnaireResultType struct { XMLName xml.Name QuestionnaireRef QuestionnaireIDPattern `xml:"questionnaire_ref,attr"` Result ResultType `xml:"result,attr"` ArtifactResults *ArtifactResultsType `xml:",any"` InnerXml string `xml:",innerxml"` }
type QuestionnaireResultsType ¶
type QuestionnaireResultsType struct { XMLName xml.Name QuestionnaireResult []QuestionnaireResultType `xml:",any"` InnerXml string `xml:",innerxml"` }
type QuestionnaireType ¶
type QuestionnaireType struct { XMLName xml.Name Id string `xml:"id,attr"` ChildOnly string `xml:"child_only,attr,omitempty"` Revision uint64 `xml:"revision,attr"` Title *TextType `xml:"title"` Description *TextType `xml:"description"` References *ReferencesType `xml:"references"` Actions OperationType `xml:"actions"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type QuestionnairesType ¶
type QuestionnairesType struct { XMLName xml.Name Questionnaire []QuestionnaireType `xml:",any"` InnerXml string `xml:",innerxml"` }
type QuestionsType ¶
type QuestionsType struct { XMLName xml.Name Question []QuestionType `xml:"question"` ChoiceGroup []ChoiceGroupType `xml:"choice_group"` InnerXml string `xml:",innerxml"` }
type RangeTestActionConditionType ¶
type RangeTestActionConditionType struct { XMLName xml.Name Range []RangeType `xml:"range"` ArtifactRefs *ArtifactRefsType `xml:"artifact_refs"` Result *ResultType `xml:"result"` TestActionRef *TestActionRefType `xml:"test_action_ref"` InnerXml string `xml:",innerxml"` }
type RangeType ¶
type RangeType struct { XMLName xml.Name Min *RangeValueType `xml:"min"` Max *RangeValueType `xml:"max"` InnerXml string `xml:",innerxml"` }
type RangeValueType ¶
type ReferenceArtifactValue ¶
type ReferenceArtifactValue struct { XMLName xml.Name `xml:"reference_artifact_value"` Reference Reference `xml:",any"` }
Element
type ReferenceType ¶
type ReferencesType ¶
type ReferencesType struct { XMLName xml.Name Reference []ReferenceType `xml:",any"` InnerXml string `xml:",innerxml"` }
type ResultType ¶
type ResultType string
type ResultsType ¶
type ResultsType struct { XMLName xml.Name StartTime string `xml:"start_time,attr,omitempty"` EndTime string `xml:"end_time,attr,omitempty"` Title *TextType `xml:"title"` QuestionnaireResults *QuestionnaireResultsType `xml:"questionnaire_results"` TestActionResults *TestActionResultsType `xml:"test_action_results"` QuestionResults *QuestionResultsType `xml:"question_results"` ArtifactResults *ArtifactResultsType `xml:"artifact_results"` Targets *TargetsType `xml:"targets"` InnerXml string `xml:",innerxml"` }
type SetExpressionBaseType ¶
type SetExpressionChoiceType ¶
type SetExpressionChoiceType struct { XMLName xml.Name ChoiceRef ChoiceIDPattern `xml:"choice_ref,attr"` Value string `xml:",any"` InnerXml string `xml:",innerxml"` }
type SetExpressionRangeType ¶
type StringQuestion ¶
type StringQuestion struct { XMLName xml.Name `xml:"string_question"` DefaultAnswer string `xml:"default_answer,attr,omitempty"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` }
Element
type StringQuestionResult ¶
type StringQuestionResult struct { XMLName xml.Name `xml:"string_question_result"` QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` Answer string `xml:",any"` }
Element
type StringQuestionResultType ¶
type StringQuestionResultType struct { XMLName xml.Name QuestionRef QuestionIDPattern `xml:"question_ref,attr"` Response UserResponseType `xml:"response,attr,omitempty"` Answer string `xml:",any"` InnerXml string `xml:",innerxml"` }
type StringQuestionTestAction ¶
type StringQuestionTestAction struct { XMLName xml.Name `xml:"string_question_test_action"` QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` WhenPattern []PatternTestActionConditionType `xml:"when_pattern"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` }
Element
type StringQuestionTestActionType ¶
type StringQuestionTestActionType struct { XMLName xml.Name QuestionRef string `xml:"question_ref,attr"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` WhenPattern []PatternTestActionConditionType `xml:"when_pattern"` Title *TextType `xml:"title"` WhenUnknown *TestActionConditionType `xml:"when_unknown"` WhenNotTested *TestActionConditionType `xml:"when_not_tested"` WhenNotApplicable *TestActionConditionType `xml:"when_not_applicable"` WhenError *TestActionConditionType `xml:"when_error"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type StringQuestionType ¶
type StringQuestionType struct { XMLName xml.Name DefaultAnswer string `xml:"default_answer,attr,omitempty"` Id string `xml:"id,attr"` Revision uint64 `xml:"revision,attr"` QuestionText []QuestionTextType `xml:"question_text"` Instructions *InstructionsType `xml:"instructions"` Notes []string `xml:"notes"` InnerXml string `xml:",innerxml"` }
type SubstitutionTextType ¶
type SubstitutionTextType struct { XMLName xml.Name VarRef VariableIDPattern `xml:"var_ref,attr"` InnerXml string `xml:",innerxml"` }
type System ¶
type System struct { XMLName xml.Name `xml:"system"` Revision uint64 `xml:"revision,attr"` Organization string `xml:"organization"` Ipaddress []string `xml:"ipaddress"` Description *TextType `xml:"description"` Name string `xml:"name"` Notes []string `xml:"notes"` }
Element
type SystemTargetType ¶
type Target ¶
type Target struct { XMLName xml.Name `xml:"target"` Revision uint64 `xml:"revision,attr"` Name string `xml:"name"` Notes []string `xml:"notes"` }
Element
type TargetsType ¶
type TargetsType struct { XMLName xml.Name Target []NamedItemBaseType `xml:",any"` InnerXml string `xml:",innerxml"` }
type TestAction ¶
type TestAction struct { XMLName xml.Name `xml:"test_action"` Revision uint64 `xml:"revision,attr"` Notes []string `xml:",any"` }
Element
type TestActionConditionType ¶
type TestActionConditionType struct { XMLName xml.Name ArtifactRefs *ArtifactRefsType `xml:"artifact_refs"` Result *ResultType `xml:"result"` TestActionRef *TestActionRefType `xml:"test_action_ref"` InnerXml string `xml:",innerxml"` }
type TestActionRefType ¶
type TestActionRefValuePattern ¶
type TestActionRefValuePattern string
type TestActionResultType ¶
type TestActionResultType struct { XMLName xml.Name TestActionRef TestActionRefValuePattern `xml:"test_action_ref,attr"` Result ResultType `xml:"result,attr"` ArtifactResults *ArtifactResultsType `xml:",any"` InnerXml string `xml:",innerxml"` }
type TestActionResultsType ¶
type TestActionResultsType struct { XMLName xml.Name TestActionResult []TestActionResultType `xml:",any"` InnerXml string `xml:",innerxml"` }
type TestActionsType ¶
type TestActionsType struct { XMLName xml.Name TestAction []ItemBaseType `xml:",any"` InnerXml string `xml:",innerxml"` }
type TextArtifactValue ¶
type TextArtifactValue struct { XMLName xml.Name `xml:"text_artifact_value"` MimeType string `xml:"mime_type,attr"` Data string `xml:",any"` }
Element
type TextArtifactValueType ¶
type User ¶
type User struct { XMLName xml.Name `xml:"user"` Revision uint64 `xml:"revision,attr"` Organization []string `xml:"organization"` Position []string `xml:"position"` Email []string `xml:"email"` Name string `xml:"name"` Notes []string `xml:"notes"` }
Element
type UserResponseType ¶
type UserResponseType string
type Variable ¶
type Variable struct { XMLName xml.Name `xml:"variable"` Id string `xml:"id,attr"` Datatype string `xml:"datatype,attr"` Revision uint64 `xml:"revision,attr"` Description *TextType `xml:"description"` Notes []string `xml:"notes"` }
Element
type VariableDataType ¶
type VariableDataType string
const VariableDataTypeNumeric VariableDataType = "NUMERIC"
const VariableDataTypeText VariableDataType = "TEXT"
type VariableIDPattern ¶
type VariableIDPattern string
type VariableSetType ¶
type VariableSetType struct { XMLName xml.Name Expression []SetExpressionBaseType `xml:",any"` InnerXml string `xml:",innerxml"` }
type VariableType ¶
type VariablesType ¶
type VariablesType struct { XMLName xml.Name Variable []VariableType `xml:",any"` InnerXml string `xml:",innerxml"` }
type WhenBoolean ¶
type WhenBoolean struct { XMLName xml.Name `xml:"when_boolean"` Value bool `xml:"value,attr"` ValueElm string `xml:",any"` }
Element
type WhenChoice ¶
type WhenChoice struct { XMLName xml.Name `xml:"when_choice"` ChoiceRef ChoiceIDPattern `xml:"choice_ref,attr"` Value string `xml:",any"` }
Element
Click to show internal directories.
Click to hide internal directories.