- RESTClient:最基础的客户端类型,其余三种均是该类型的封装。调用k8s api时,需要指定api路径,apiGroup和apiVersion
- ClientSet:所有可能的RESTClient的集合,提供了所有可能的api路径,apiGroup和apiVersion组合而成的客户端。
- DynamicClient:用于操作CRD等非官方定义的资源
- DiscoveryClient:用于获取集群的Group、Version、Resource有关资源
terloo/k8s-client
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|