I have some questions about the golang API for kubernetes.
which one should I use? k8s.io/client-go or k8s.io/kubernetes/pkg/client? What's the difference?
I want to get list of all pods and then listen to add/update/delete events, what's the difference between using the api.Pods("").Watch method and using an informer?
I'm using the API from inside the cluster, how can I fetch the name of the node I'm currently in? is it just the hostname of the machine?