Skip to content

JSON schema generator for OpenShift Origin API objects

Notifications You must be signed in to change notification settings

mgorniew/kubernetes-model

 
 

Repository files navigation

JSON Schema Generator for OpenShift v3 Origin API Objects

Uses Go reflection to generate a JSON schema that describes one or more API resources in OpenShift Origin.

Prerequisites

Getting the code

git clone https://github.com/fabric8io/kubernetes-model $GOPATH/src/github.com/fabric8io/kubernetes-model

Building

  • Navigate into the cloned repo:

    cd $GOPATH/src/github.com/fabric8io/kubernetes-model
    
  • Run:

    make
    

    You should now be able to view the generated schema in kube-schema.json

Update dependency API's

To update OpenShift/Kubernetes dependencies, run:

make vendoring

About

JSON schema generator for OpenShift Origin API objects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 80.3%
  • Go 14.0%
  • Dockerfile 3.0%
  • Shell 1.6%
  • Other 1.1%