Kubernetes-Learning-Playground / multi-cluster-clientgo

实现多集群的client-go功能
3 stars 1 forks source link

feat: 新增不指定就执行所有集群的功能 #2

Open googs1025 opened 1 year ago

googs1025 commented 1 year ago

ex: 例如,传入字符串,就获取所有集群的pod资源对象 p3, _ := multiClient.Cluster("").CoreV1().Pods("default").List(context.Background(), v1.ListOptions{})

googs1025 commented 1 year ago

目前评估来看,要维持原生的调用功能比较难实现