[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Latest commit

 

History

History

ksonnet-gen

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ksonnet-gen

ksonnet-gen takes the OpenAPI Kubernetes specification and generates a Jsonnet file representing that API definition.

Build

dep ensure      # Fetch dependencies
go build -o ksonnet-gen .

Usage

ksonnet-gen [path to k8s OpenAPI swagger.json] [output dir]

Typically the swagger spec is in something like k8s.io/kubernetes/api/openapi-spec, where k8s.io is in your Go src folder.