Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientSet ¶
func ClientSet() *kubernetes.Clientset
ClientSet 客户端。需要指定Group、指定Version,然后根据Resource获取
func DiscoveryClient ¶
func DiscoveryClient() *discovery.DiscoveryClient
DiscoveryClient 发现客户端。主要用于发现Kubernetes API Server所支持的资源组、资源版本、资源信息。 除此之外,还可以将这些信息存储到本地,用户本地缓存,以减轻对Kubernetes API Server访问的压力。
func DynamicClient ¶
func DynamicClient() *dynamic.DynamicClient
DynamicClient 动态客户端,可以获取所有crd,只支持JSON
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.