revgen
kyaml2go
revgen | kyaml2go | |
---|---|---|
1 | 4 | |
43 | 286 | |
- | - | |
4.5 | 3.2 | |
9 months ago | over 2 years ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
revgen
kyaml2go
-
We know how boring and time-consuming it is to map K8s resource YAML into an unstructured object. Here is a tool to auto-generate dynamic client go code
kyaml2go generated Go code for equivalent kubectl operations on k8s resource. It can generate code with the typed client and dynamic client. We don't have to figure out which k8s packages to import and waste time in populating the resource objects. You can give it a try at: https://kyaml2go.prasadg.dev. Whereas, https://github.com/mholt/json-to-go is totally different tool for different use case. It generated Go type definitions (structs) from JSON. But for K8s resources, we don't have to generate Go type as they are already defined in the `k8s.io/api` packages. kyaml2go helps you finding correct packages and populate the struct as per the yaml specs and call correct methods to manage the resource.
-
Generate Go programs from Kubernetes YAML
I was actually thinking of their other repo https://github.com/PrasadG193/kyaml2go
- Generate client-go code for your Custom Resource with kyaml2go
What are some alternatives?
githubevents - GitHub webhook events toolset for Go :rocket:
typesense-go - Go client for Typesense: https://github.com/typesense/typesense
wire - Compile-time Dependency Injection for Go
goobs - Go client library for OBS Studio
ogen - OpenAPI v3 code generator for go
kcount - Count Kubernetes objects across namespaces and clusters
genqlient - a truly type-safe Go GraphQL client
k8s - The library implements various handlers to more easier create/update/apply/patch/delete/get/list/watch k8s resources such as pods, deployments, etc. inside or outside k8s cluster.
shortlink - Shortlink service (Microservice example) ⭐️ Star the repo if you like it!
go-client - Nvim Go client
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
naml - Convert Kubernetes YAML to Golang