naml

Convert Kubernetes YAML manifests to Go code

brewmacoslinux
Try with needOr install directly
Source

About

Convert Kubernetes YAML to Golang

Commands

naml

Examples

Convert a single Kubernetes YAML file to Go code$ naml -f deployment.yaml
Convert YAML from stdin and output Go code$ cat pod.yaml | naml
Convert YAML file with custom package name$ naml -f service.yaml -p mypackage