Package for kubectl (wrapper)

Hi

Any one out here, who seen any package that wraps around the Kubernetes CLI utility: kubectl?

A package for executing kubectl, and translate the output to structs?
I know the client-go exists (package for go, to interact with kubernetes). But I want to have a wrapper ower kubectl.

If not possible, any one who can point me to kubernetes types (pod, container etc) for go?

// Micke

Hi @mickesommar,

I am not familiar with the kubectl internals, but you might want to have a look at the kubectl module reference, especially the pkg directories at the bottom of that page. Maybe these packages might suit your needs. On the downside, the package APIs seem to come with no documentation.

Thanks for the tip.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.