Golang and Kubernetes

pegah_lashgarlou_18c5866c

Pegah Lashgarlou

Posted on February 24, 2022

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.

💖 💪 🙅 🚩
pegah_lashgarlou_18c5866c
Pegah Lashgarlou

Posted on February 24, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

kube-scheduler的调度上下文
kubernetes kube-scheduler的调度上下文

July 31, 2022

Golang and Kubernetes
kubernetes Golang and Kubernetes

February 24, 2022