Releases: sebradloff/raw-k8s-tf-compiler
v0.0.1
Changelog
ec6acbc Adds ability to update golden files
f661054 Adds basic integration testing to ensure tf file is created properly and can work properly with the terraform-provider-k8s
504ec2a Adds coverage taks to Makefile to show code coverage
a1033d5 Adds goreleaser
c423f92 Adds logic for writing out k8s object as heredoc in contentssection of resource block
c5f6e02 Creates first test for root cmd
dc191b2 Extract file to kubernetes object decoding into helper function and rewrite errors to follow proper chaining convention
a695eb5 Extracts files to transform logic into hclfile pkg
0d132ab Extracts resource name generation into private function
663e21e First pass a creating integration tests
6902c4b Fix where string goes for generating file function
17f2bfd Fixes path for file reference
9de103b Improve test coverage for sub commands
d7d70a2 Increases test coverage of pkg hclfile k8s_helper
37e6eef Initial commit
1bde3fc Refactor helper functions in cmd tests into a helper file
9a0ec11 Refactors K8sObjectToResourceBlock into two seperate functions to handle inline vs file reference
7b6b4fd Refactors K8sObjectToResourceBlock with proper hclwrite Tokens and creates a resource block pointing to a k8s file as well
c0f0a15 Refactors RootTest to use table driven tests
1b1e757 Refactors rootCmd into seperate inline and file-reference subcommands
488b346 Refactors test to table driven tests
ed4b9f1 Rename hcl pkg to hclfile
5ef1683 Renames go module to match github repo name
ee6bb03 Rewrites hcl transformation logic into another package
6ae9e45 Updates testdata for multiple objects in file
e8b72a6 Uses repo pkg hcl for getting k8s objects translated into hcl