Documentation
¶
Index ¶
- func LoadHTMLReportTemplate() (*raymond.Template, error)
- func WriteMismatchesToCSV(w io.Writer, mm []XmlMismatch, l XmlMismatchLevel) (err error)
- func WriteMismatchesToHTML(w io.Writer, mm []XmlMismatch, l XmlMismatchLevel, root1, root2 string) error
- type XmlMismatch
- type XmlMismatchLevel
- type XmlMismatchType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadHTMLReportTemplate ¶
func WriteMismatchesToCSV ¶
func WriteMismatchesToCSV(w io.Writer, mm []XmlMismatch, l XmlMismatchLevel) (err error)
WriteMismatchesToCSV writes the given mismatches to the writer in CSV format.
func WriteMismatchesToHTML ¶
func WriteMismatchesToHTML(w io.Writer, mm []XmlMismatch, l XmlMismatchLevel, root1, root2 string) error
Types ¶
type XmlMismatch ¶
type XmlMismatch struct {
Path string
Details string
Type XmlMismatchType
EntityUniqueIdentifier string
}
func Pipeline ¶
func Pipeline(ff1, ff2 []string, n1, n2 string) (mm []XmlMismatch)
func (*XmlMismatch) Error ¶
func (m *XmlMismatch) Error() string
func (XmlMismatch) Level ¶
func (m XmlMismatch) Level() XmlMismatchLevel
type XmlMismatchLevel ¶
type XmlMismatchLevel uint8
const ( MismatchLevel3 XmlMismatchLevel = iota MismatchLevel2 MismatchLevel1 )
func (XmlMismatchLevel) String ¶
func (l XmlMismatchLevel) String() string
type XmlMismatchType ¶
type XmlMismatchType uint8
const ( XmlMismatchNone XmlMismatchType = iota // File level XmlMismatchNewFile // Generic Tag/Attr Mismatches XmlMismatchMissingTag XmlMismatchMissingAttr XmlMismatchAttrValue // Enums XmlMismatchMissingEnum XmlMismatchMissingEnumItem XmlMismatchEnumItemMissingAttr XmlMismatchEnumItemAttrValue // Structs XmlMismatchMissingStruct XmlMismatchMissingStructItem XmlMismatchStructItemMissingAttr XmlMismatchStructItemAttrValue // Bitmaps XmlMismatchMissingBitmap XmlMismatchMissingBitmapField XmlMismatchBitmapMissingAttr XmlMismatchBitmapAttrValue XmlMismatchBitmapFieldMissingAttr XmlMismatchBitmapFieldAttrValue // Clusters (Top Level) XmlMismatchMissingCluster XmlMismatchClusterMissingAttr XmlMismatchClusterAttrValue // Clusters XmlMismatchMissingClusterCommand XmlMismatchClusterCommandMissingAttr XmlMismatchClusterCommandAttrValue XmlMismatchMissingClusterAttribute XmlMismatchClusterAttributeMissingAttr XmlMismatchClusterAttributeAttrValue XmlMismatchMissingClusterEvent XmlMismatchClusterEventMissingAttr XmlMismatchClusterEventAttrValue XmlMismatchMissingClusterFeature XmlMismatchClusterDetails )
func (XmlMismatchType) Level ¶
func (t XmlMismatchType) Level() XmlMismatchLevel
func (XmlMismatchType) String ¶
func (t XmlMismatchType) String() string
Click to show internal directories.
Click to hide internal directories.