Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGraphWithChanges ¶
func CreateGraphWithChanges(newGraph *constellation.Config, sets *ComparisonSet) (string, error)
CreateGraphWithChanges - use both input constellations (new and original) as well as the comparison sets to create a dag that can be visualised. It uses the comparison sets to identify additions, deletions and changes between the original and new constellations.
Types ¶
type Compare ¶
type Compare struct { Original *constellation.Config New *constellation.Config }
Compare contains two constellation configurations to compare against one another.
func (*Compare) CompareConstellations ¶
CompareConstellations takes two constellation configurations, compares and returns the differences.
func (*Compare) FillComparisonSets ¶
func (d *Compare) FillComparisonSets() (sets ComparisonSet)
FillComparisonSets - loads provided set struct with data from the constellations and then determines the various differences between the sets (original constellation and new) to help detemine what has been added, removed or changed.