DEV Community

Pegah Lashgarlou
Pegah Lashgarlou

Posted on

Golang and Kubernetes

Hi,
I am new to kubernetes and trying to find out where the documentation is for the golang packages for Kubernetes.
For example I have:
clientset.CoreV1().Pods(body.Namespace)
or
podList, err := api.List(context.Background(), metav1.ListOptions{})

Trying to find out where for example api.List method comes from and where to find other methods used to interact with kubernetes API via Go.
I see to find the github link for it: https://github.com/kubernetes/client-go

but no documentation.
any help is greatly appreciated.

Top comments (0)