kubernetes-client / c

Official C client library for Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request, add lua support

dxlr8r opened this issue · comments

As described in: http://www.lua.org/pil/26.html

for a C function to be called from Lua, we must register it, that is, we must give its address to Lua in an appropriate way.

It would require some work to add the boilerplate for all relevant functions, but once that is done it seems like the result would be that we can add lua to the list of client libraries.

Most of the code in this library is generated. I don't think it makes sense to add generic lua support to that C language generator.

I think there are two options:

Let us know if there are questions or you decide to pursue either option.

Thank you for a good answer. I am doubtful I will pursue the options though, on the account of lack of know how and resources.

fwiw, I also did a quick search and found this: https://luarocks.org/modules/f4z3r/luakube

I have no idea if it is any good...

Closing this issue since I don't think there's anything else to do here.