Golang and Kubernetes
Pegah Lashgarlou
Posted on February 24, 2022
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
Posted on February 24, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.