feat(bundle_test.go): add yaml marshal test for bundle #92
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds yaml tags to theLocation
struct for third-party consumers representing these structs in yaml. See also #90 for precedence.Even though this covers the extent of our needs in Porter as of writing, I'd be willing to add yaml tags to all of the structs, as there may be other uses in the future. What do we think?Edit: #95 covers adding yaml tags to all structs; therefore this PR now just represents some added tests
Note that the test amendments are largely just extracting the
exampleCred
andexampleBundle
vars to the top-level such that multiple tests can make use of them. Also added an additionalPath
field to the"port"
parameterDestination
field, for verification in the added yaml test.