Documentation ¶
Index ¶
- Constants
- func CompareFiles(data1, data2 []byte) (bool, *bytes.Buffer, error)
- func CompareReports(data1, data2 []byte) (dyff.Report, dyff.Report, dyff.Report, error)
- func CreateTableStyleString(separator string, indent int, columns ...string) string
- func GetMapNode(data []byte, path []string) (interface{}, error)
- func GetSpecName(data []byte) (string, error)
- func PrintReportDiff(report dyff.Report, buffer *bytes.Buffer) error
- type CustomReport
Constants ¶
View Source
const ( SpecMatch = ".*properties\\/spec.*" StatusMatch = ".*properties\\/status.*" SingletonPath = "/is_singleton" ApiGenPath = "/nexus-rest-api-gen" RequiredString = "required" )
Variables ¶
This section is empty.
Functions ¶
func CompareReports ¶
func CreateTableStyleString ¶
func GetMapNode ¶
func GetSpecName ¶
Types ¶
type CustomReport ¶
type CustomReport struct { dyff.Report MinorChangeThreshold float64 NoTableStyle bool DoNotInspectCerts bool OmitHeader bool UseGoPatchPaths bool }
func (*CustomReport) LoadX509Certs ¶
func (report *CustomReport) LoadX509Certs(from, to string) (string, string, error)
func (*CustomReport) WriteReport ¶
func (report *CustomReport) WriteReport(out io.Writer) error
Click to show internal directories.
Click to hide internal directories.