Giter Site home page Giter Site logo

crdtools's Introduction

crdtools

NOTE: This project is currently in early stages of development. Things will change without warning and might not work.

crdtools is a java library that provides functionality related to Kubernetes Custom Resource Definitions. The first planned piece of functionality is to generate source code to java classes that corresponds to the types defined in a CustomResourceDefinition objects. Instances of the generated classes can then be used to create objects which can then be serialised to their yaml representation and applied to a kubernetes cluster.

How to build and develop

This software is built using bazel. The recommended way is to download and install bazelisk which will download and install the correct version behind as needed. Once this is installed, the current entrypoint can be built and executed by issuing bazel run //src/main/java/com/gs/crdtools:SourceGenerator on the command line.

The development tooling we use is Intellij Idea Community Edition with the bazel plugin. Please note that to be able to run the latest intellij, the beta version of the bazel plugin will need to be installed. This is done by navigating to Preferences -> Plugins then click the cogwheel and choose "Manage Plugin Repositories". Add https://plugins.jetbrains.com/plugins/beta/list to the list of repositories. After this is done, the bazel plugin compatible with recent IntelliJ versions should be available by clicking "Marketplace" in the Plugins and searching for Bazel. This has been tested with IntelliJ Idea Community 2022.1.2.

Credits

The code that this project is based on has been written by Jonathan Perry at Goldman Sachs.

crdtools's People

Contributors

alfredomusumeci avatar areyia avatar vickiychung avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.