ipfs-inactive / kubernetes-ipfs

[ARCHIVED] kubernetes-ipfs
60 stars 25 forks source link

Move away from exec.Command to using K8S Go bindings #9

Open FrankPetrilli opened 7 years ago

FrankPetrilli commented 7 years ago

The kubectl API is not necessarily defined in stone at this point, so moving toward using the internal go bindings for kubernetes interaction is a plus. I've built a test client to interact using purely Go bindings, and the only thing that hasn't been neat and clean / easy to use has been running exec against a container, as it requires a direct HTTP API call (though even these are encapsulated a bit).