In the kubernetes go client, what is a clientset
?
It is defined in multiple places.
In the
client-go
package. https://github.com/kubernetes/client-go/blob/62b2cb756b8cea8fba00764ff123993eb44dbd48/kubernetes/clientset.go#L120In the
kubernetes
package https://github.com/kubernetes/kubernetes/blob/80e344644e2b6222296f2f03551a8d0273c7cbce/pkg/client/clientset_generated/internalclientset/clientset.go#L64
The documentation says the same thing for both of them:
Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.
This is confusing. What is a group?