Skip to content

psykube/pyrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyrite

A Kubernetes Resource Mappings for the Crystal Language.

Installation

Add this to your application's shard.yml:

dependencies:
  pyrite:
    github: psykube/pyrite

Usage

Pyrite should support Kubernetes API from 1.6.0 and beyond. In order to use pyrite, you will want to include the VERSION that best maps to your k8s api version. Requiring more than one version at this time will result in an error.

require "pyrite/versions/v1.21"

Docs

Each version of kubernetes has its own generated types. The docs for each are listed below:

Contributing

  1. Fork it ( https://github.com/jwaldrip/pyrite/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors