krisnova / naml

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

Codify #40

Closed krisnova closed 3 years ago

krisnova commented 3 years ago

I want to add a feature to help users automatically generate .go files from existing yaml files.

User Experience

I think we should have something like this:

cat deployment.yaml | naml codify > deployment.go
kubectl get po <name> -oyaml | naml codify > pod.go

Maybe also we can consider directories and more later. For now lets get the 1:1 things working and build out a system with the Go compiler to validate and format the code.

krisnova commented 3 years ago

interested if anyone has any experience reports for 0.2.1

krisnova commented 3 years ago

closed with #42