[ANN] Kubecaml 0.1.0

Hi

I’m pleased to announce the first release of Kubecaml, a Kubernetes API client library for OCaml. The code is auto-generated from version 1.10.1 of the API by OCaml-Swagger.

The ocamldoc for Kubecaml is also available online.

Cheers,
Andre

7 Likes

This is awesome. Do you think it’s possible to use the same technique to generate a GCP API client?

The same technique, yes, absolutely… but iirc the GCP APIs are defined with JSON-Schema instead of Swagger, and they are similar but not quite the same.

You’d have to do the modeling with atdgen and write the code generator. Possibly the ocaml-swagger code can be adapted to some extent, but I don’t know how much of it you’d be able to reuse (I’ll promptly admit it’s not the most beautiful code I’ve written…)

1 Like