naml
« Back to VersTracker
Description:
Convert Kubernetes YAML to Golang
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: kubernetes golang devtools code-generation yaml
Install: brew install naml
About:
Naml is a command-line tool that converts Kubernetes YAML manifests into idiomatic Go structs and code. It enables developers to programmatically interact with Kubernetes resources within Go applications, eliminating the need for manual struct definitions. This approach enhances type safety and streamlines the development of Go-based Kubernetes operators and controllers.
Key Features:
  • Generates Go structs from Kubernetes YAML
  • Supports custom resource definitions (CRDs)
  • Produces idiomatic, ready-to-use Go code
  • Simplifies Kubernetes API interaction in Go
Use Cases:
  • Developing Kubernetes operators and controllers
  • Building Go applications that manage Kubernetes resources
  • Automating the generation of type-safe configuration code
Alternatives:
  • controller-gen – Part of controller-runtime; generates code from Go markers rather than YAML.
  • k8s.io/code-generator – Official Kubernetes client generator; more complex setup for custom resources.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 5:00am 0 VERSION_BUMP 6d72fa53