krisnova / naml

Convert Kubernetes YAML to Golang
Apache License 2.0
1.26k stars 38 forks source link

Refactor codify structs to use KubeObject and GoName #50

Closed fkautz closed 2 years ago

fkautz commented 2 years ago

Add KubeObject and GoName to the rest of the structs in the codify package with appropriate changes the templates.

fkautz commented 2 years ago

This depends on #50, will rebase after it's merged.

Will add additional patches to complete the refactor soon.

fkautz commented 2 years ago

By 50, I mean #47. (oops)

fkautz commented 2 years ago

Testing fails, currently get

Error during codify: unable to auto format code: <nil>"

Need to debug this more.