carsonoid / structify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Structify!

Take in Kubernetes objects as YAML or JSON and print out golang structs for use in operators

RoadMap

  • Fix broken pointers to primitves in structs. Ex: .spec.replicas
  • Support Custom Resources when given a git repo and path to the types package
  • Autodetect custom resources when they follow a known pattern
  • Custom Domain + TLS
  • Handle list objects and multiple yaml documents in the input

Run Directly

go run main.go convert examples/job.yml

Run Server

Start server:

go run main.go serve

Then open http://localhost:8080 to access the web interface

About


Languages

Language:Go 81.3%Language:HTML 14.9%Language:Smarty 2.5%Language:Dockerfile 1.2%