Documentation ¶
Overview ¶
Package diff provides functionalities to compare two YAML documents.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type From ¶
type From []byte
From is the YAML document that another YAML document is compared against.
func (From) Parse ¶
Parse constructs a diff tree that represent the differences of a YAML document against the From document.
func (From) ParseWithCFNOverriders ¶ added in v1.28.0
ParseWithCFNOverriders constructs a diff tree that represent the differences of a YAML document against the From document with overriders designed for CFN documents, including: 1. An ignorer that ignores diffs under "Metadata.Manifest". 2. An overrider that is able to compare intrinsic functions with full/short form correctly.
Click to show internal directories.
Click to hide internal directories.