Versions in this module Expand all Collapse all v0 v0.1.0 Apr 15, 2018 Changes in this version + const MethodKeep + const MethodMerge + const MethodUseFirst + const OrderByAscending + const OrderByDescending + const OrderByKeep + const PositionAfter + const PositionBefore + const PositionEnding + const PositionStarting + type All struct + WithSubcontrols WithSubcontrols + func (a *All) MarshalJSON() ([]byte, error) + func (a *All) MarshalYAML() (interface{}, error) + func (a *All) UnmarshalJSON(data []byte) error + type Alteration struct + Augment []Augment + ControlID string + Remove []Remove + SubcontrolID string + type Assign struct + ID string + ParamID string + type Augment struct + Params []Param + Parts []Part + Position *Position + Props []Prop + Title *Raw + type B struct + B []B + Code []Code + EM []EM + I []I + OptionalClass string + Q []Q + Span []Span + Sub []Sub + Sup []Sup + Value string + Xref []Xref + type Build struct + type Calc struct + Autonum []string + Inherit []Inherit + Value string + type Call struct + ControlID string + SubcontrolID string + WithSubcontrols *WithSubcontrols + type Catalog struct + ControlGroups []ControlGroup + Controls []Control + Declarations *Declarations + References *References + Sections []Section + Title *Raw + XMLName xml.Name + type Category struct + Categories []Category + ID string + Items []Item + Links []Link + OptionalClass string + Props []Prop + Prose *Prose + Title *Raw + type Citation struct + Href string + Value string + type Code struct + B []B + Code []Code + EM []EM + I []I + OptionalClass string + Q []Q + Span []Span + Sub []Sub + Sup []Sup + Value string + type Combine struct + Method Method + type Component struct + Components []Component + ID string + Links []Link + OptionalClass string + Params []Param + Parts []Part + Props []Prop + Prose *Prose + Title *Raw + type ComponentGroup struct + ComponentGroups []ComponentGroup + Components []Component + ID string + Links []Link + OptionalClass string + Props []Prop + Prose *Prose + References *References + Title *Raw + type Components struct + Items []Item + type Control struct + ID string + Links []Link + OptionalClass string + Params []Param + Parts []Part + Props []Prop + References *References + Subcontrols []Subcontrol + Title *Raw + type ControlGroup struct + ControlGroups []ControlGroup + Controls []Control + ID string + Links []Link + OptionalClass string + Params []Param + Parts []Part + Props []Prop + Prose *Prose + References *References + Title *Raw + type Declarations struct + Href string + LinkDecls []LinkDecl + ParaDecls []ParaDecl + ParamDecls []ParamDecl + PartDecls []PartDecl + PropDecls []PropDecl + XMLName xml.Name + func (d *Declarations) Component() string + func (d *Declarations) Raw(format string, prettify bool) ([]byte, error) + func (d *Declarations) Type() interface{} + type Desc struct + Raw string + func (d *Desc) MarshalJSON() ([]byte, error) + func (d *Desc) MarshalYAML() (interface{}, error) + func (d *Desc) UnmarshalJSON(data []byte) error + type EM struct + B []B + Code []Code + EM []EM + I []I + OptionalClass string + Q []Q + Span []Span + Sub []Sub + Sup []Sup + Value string + Xref []Xref + type Exclude struct + Calls []ExcludeCall + Matches []Match + type ExcludeCall struct + ControlID string + SubcontrolID string + type Frame struct + Calls []Call + Matches []Match + ProfileGroups []ProfileGroup + Title *Raw + type Framework struct + ComponentGroups []ComponentGroup + Components []Component + Declarations *FrameworkDeclarations + ID string + OptionalClass string + References *References + Sections []Section + Title *Raw + XMLName xml.Name + func (f *Framework) Component() string + func (f *Framework) RawJSON(prettify bool) ([]byte, error) + func (f *Framework) RawXML(prettify bool) ([]byte, error) + func (f *Framework) RawYAML() ([]byte, error) + type FrameworkDeclarations struct + Declarations *Declarations + Href string + func (f *FrameworkDeclarations) MarshalJSON() ([]byte, error) + func (f *FrameworkDeclarations) MarshalYAML() (interface{}, error) + type Href string + func (h *Href) MarshalJSON() ([]byte, error) + func (h *Href) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (h *Href) MarshalYAML() (interface{}, error) + type I struct + B []B + Code []Code + EM []EM + I []I + OptionalClass string + Q []Q + Span []Span + Sub []Sub + Sup []Sup + Value string + Xref []Xref + type Implementation struct + Components Components + ID string + Paragraphs []P + Params Params + Policies Policies + Procedures Procedures + Profiles *Profiles + Props []Prop + Title string + XMLName xml.Name + func (Implementation) Component() string + func (i *Implementation) RawJSON(prettify bool) ([]byte, error) + func (i *Implementation) RawXML(prettify bool) ([]byte, error) + func (i *Implementation) RawYAML() ([]byte, error) + type ImplementationParam struct + Desc Desc + ID string + Props []Prop + type Import struct + Exclude *Exclude + Href *Href + Include *Include + type Include struct + All *All + Calls []Call + Matches []Match + type Inherit struct + From string + func (i *Inherit) MarshalJSON() ([]byte, error) + func (i *Inherit) MarshalYAML() (interface{}, error) + func (i *Inherit) UnmarshalJSON(data []byte) error + type Item struct + ID string + Items []Item + Links []Link + OptionalClass string + Params []Param + Parts []Part + Props []Prop + Prose *Prose + Title *Raw + type LI struct + Assign []Assign + B []B + Code []Code + EM []EM + I []I + ID string + OL []OL + OptionalClass string + Q []Q + Select []Select + Span []Span + Sub []Sub + Sup []Sup + UL []UL + Value string + Withdrawn []Withdrawn + Xref []Xref + type Link struct + Href string + Rel string + Value string + type LinkDecl struct + Context string + Rel string + Required *SelfClosing + Singleton *SelfClosing + type Match struct + OrderBy OrderBy + Pattern string + WithControl WithControl + WithSubcontrols WithSubcontrols + type Merge struct + Build *Build + Combine *Combine + Frame *Frame + type Method string + func (m *Method) UnmarshalXMLAttr(attr xml.Attr) error + type Modify struct + Alterations []Alteration + ParamSettings []ParamSetting + type OL struct + Raw string + XMLName xml.Name + type OSCAL struct + Catalog *Catalog + Declarations *Declarations + Framework *Framework + Implementation *Implementation + Profile *Profile + Worksheet *Worksheet + XMLName xml.Name + func New(r io.Reader) (*OSCAL, error) + func NewFromOC(options OpenControlOptions) (*OSCAL, error) + func (o *OSCAL) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (o *OSCAL) RawJSON(prettify bool) ([]byte, error) + func (o *OSCAL) RawXML(prettify bool) ([]byte, error) + func (o *OSCAL) RawYAML() ([]byte, error) + type OpenControlOptions struct + OpenControlYAMLFilepath string + OpenControlsDir string + type Options struct + Reader io.Reader + type OrderBy string + func (o *OrderBy) UnmarshalXMLAttr(attr xml.Attr) error + type P struct + Assign []Assign + ID string + OptionalClass string + Raw string + Select []Select + Withdrawn []Withdrawn + XMLName xml.Name + type ParaDecl struct + Context string + Required *SelfClosing + RequiredClass string + Singleton *SelfClosing + type Param struct + Desc Desc + ID string + Label string + OptionalClass string + Value string + type ParamDecl struct + type ParamSetting struct + Desc *Raw + Label string + OptionalClass string + ParamID string + ParamValue string + type Params struct + SetParams []ImplementationParam + type Part struct + ID string + Links []Link + OptionalClass string + Params []Param + Parts []Part + Props []Prop + Prose *Prose + Title *Raw + type PartDecl struct + Context string + Required *SelfClosing + RequiredClass string + Singleton *SelfClosing + type Policies struct + Items []Item + type Position string + func (p *Position) UnmarshalXMLAttr(attr xml.Attr) error + type Pre struct + ID string + Raw string + XMLName xml.Name + type Procedures struct + Items []Item + type Profile struct + ID string + Imports []Import + Merge *Merge + Modify *Modify + Title *Raw + XMLName xml.Name + func (p *Profile) Component() string + func (p *Profile) RawJSON(prettify bool) ([]byte, error) + func (p *Profile) RawXML(prettify bool) ([]byte, error) + func (p *Profile) RawYAML() ([]byte, error) + func (p *Profile) ScaffoldImplementation() *Implementation + type ProfileGroup struct + Calls []Call + Matches []Match + ProfileGroups []ProfileGroup + Title *Raw + type Profiles struct + Links []Link + type Prop struct + OptionalClass string + Value string + type PropDecl struct + Calc []Calc + Context string + Identifier *SelfClosing + Regex string + Required *SelfClosing + RequiredClass string + Singleton *SelfClosing + Values []string + type Prose struct + OL []OL + P []P + Pre []Pre + UL []UL + XMLName xml.Name + func (p *Prose) MarshalJSON() ([]byte, error) + func (p *Prose) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (p *Prose) MarshalYAML() (interface{}, error) + func (p *Prose) UnmarshalJSON(data []byte) error + func (p *Prose) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Q struct + B []B + I []I + Sub []Sub + Sup []Sup + Value string + type Raw struct + Value string + func (r *Raw) MarshalJSON() ([]byte, error) + func (r *Raw) MarshalYAML() (interface{}, error) + func (r *Raw) UnmarshalJSON(data []byte) error + type Ref struct + Citations []Citation + ID string + Prose *Prose + Standards []Standard + type References struct + Refs []Ref + type Remove struct + ClassRef string + IDRef string + ItemName string + type Section struct + ID string + OptionalClass string + Prose *Prose + References *References + Sections []Section + Title *Raw + type Select struct + type SelfClosing bool + func (s *SelfClosing) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Span struct + B []B + Code []Code + EM []EM + I []I + OptionalClass string + Q []Q + Span []Span + Sub []Sub + Sup []Sup + Value string + Xref []Xref + type Standard struct + Href string + Value string + type Sub struct + OptionalClass string + Value string + type Subcontrol struct + ID string + Links []Link + OptionalClass string + Params []Param + Parts []Part + Props []Prop + References *References + Title *Raw + type Sup struct + OptionalClass string + Value string + type UL struct + Raw string + XMLName xml.Name + type WithControl bool + func (w *WithControl) UnmarshalXMLAttr(attr xml.Attr) error + type WithSubcontrols bool + func (w *WithSubcontrols) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (w *WithSubcontrols) UnmarshalXMLAttr(attr xml.Attr) error + type Withdrawn struct + B []B + Code []Code + EM []EM + I []I + Q []Q + Span []Span + Sub []Sub + Sup []Sup + Value string + type Worksheet struct + ComponentGroups []ComponentGroup + Components []Components + Declarations *FrameworkDeclarations + ID string + OptionalClass string + References *References + Sections []Section + Title *Raw + XMLName xml.Name + func (Worksheet) Component() string + func (w *Worksheet) RawJSON(prettify bool) ([]byte, error) + func (w *Worksheet) RawXML(prettify bool) ([]byte, error) + func (w *Worksheet) RawYAML() ([]byte, error) + type Xref struct + Code []Code + EM []struct{ ... } + Href string + Q []Q + Value string