Liam Cervante
357012a2f3
Refactor of differ to make code reuse easier ( #33054 )
...
* refactor of differ to make code reuse easier
* fix imports
2023-04-21 09:51:55 +02:00
Liam Cervante
21bb677db7
Structured Plan Renderer: Naming and package structure refactor ( #32486 )
...
* change -> diff, value -> change
* also update readme#
* Update internal/command/jsonformat/computed/diff.go
Co-authored-by: Alisdair McDiarmid <alisdair@users.noreply.github.com>
* add interface assertions for diff renderers
Co-authored-by: Alisdair McDiarmid <alisdair@users.noreply.github.com>
2023-01-10 17:24:48 +01:00
Liam Cervante
a086453783
Structured Plan Renderer: Refactor Primitive and Sensitive value processing ( #32476 )
...
* refactor sensitive and primitive values to match patterns used elsewhere
* goimports
* address comments
* fix tests
* also use %q for map keys
2023-01-09 20:38:25 +01:00
Liam Cervante
1332d315b6
Structured Plan Renderer: Remove generic interface{}
entry point ( #32477 )
...
* Remove the single generic point of entry into the differ package
* goimports
* add comment explaining generic function
2023-01-09 16:49:35 +01:00
Liam Cervante
71daef058f
Add rendering functionality for primitives to the structured renderer ( #32373 )
...
* prep for processing the structured run output
* undo unwanted change to a json key
* Add skeleton functions and API for refactored renderer
* goimports
* Fix documentation of the RenderOpts struct
* Add rendering functionality for primitives to the structured renderer
* add test case for override
* goimports
2023-01-09 11:24:01 +01:00