Versions in this module Expand all Collapse all v0 v0.0.1 Jun 28, 2023 Changes in this version + const ADDITION + const MODIFICATION + const ORDERCHANGE + const REMOVAL + func AsSequenceNode(list []string) *yamlv3.Node + func ChangeRoot(inputFile *ytbx.InputFile, path string, useGoPatchPaths bool, ...) error + func CreateTableStyleString(separator string, indent int, columns ...string) string + type BriefReport struct + func (report *BriefReport) WriteReport(out io.Writer) error + type CompareOption func(*compareSettings) + func AdditionalIdentifiers(ids ...string) CompareOption + func IgnoreOrderChanges(value bool) CompareOption + func KubernetesEntityDetection(value bool) CompareOption + func NonStandardIdentifierGuessCountThreshold(nonStandardIdentifierGuessCountThreshold int) CompareOption + type Detail struct + From *yamlv3.Node + Kind rune + To *yamlv3.Node + type Diff struct + Details []Detail + Path *ytbx.Path + type HumanReport struct + DoNotInspectCerts bool + MinorChangeThreshold float64 + NoTableStyle bool + OmitHeader bool + UseGoPatchPaths bool + func (report *HumanReport) LoadX509Certs(from, to string) (string, string, error) + func (report *HumanReport) WriteReport(out io.Writer) error + type ListItemIdentifierField string + type Report struct + Diffs []Diff + From ytbx.InputFile + To ytbx.InputFile + func CompareInputFiles(from ytbx.InputFile, to ytbx.InputFile, compareOptions ...CompareOption) (Report, error) + func (r Report) Exclude(paths ...string) (result Report) + func (r Report) ExcludeRegexp(pattern ...string) (result Report) + func (r Report) Filter(paths ...string) (result Report) + func (r Report) FilterRegexp(pattern ...string) (result Report) + type ReportWriter interface + WriteReport func(out io.Writer) error