( subDomainLcuuid string, resource *kubernetes_model.KubernetesGatherResource, azLcuuid string, )
| 470 | } |
| 471 | |
| 472 | func (c *Cloud) getSubDomainPodClusters( |
| 473 | subDomainLcuuid string, resource *kubernetes_model.KubernetesGatherResource, azLcuuid string, |
| 474 | ) []model.PodCluster { |
| 475 | var retPodClusters []model.PodCluster |
| 476 | |
| 477 | // 通过PodClusters,更新az信息;并添加到Cloud的Resource中 |
| 478 | retPodClusters = append(retPodClusters, model.PodCluster{ |
| 479 | Lcuuid: resource.PodCluster.Lcuuid, |
| 480 | Name: resource.PodCluster.Name, |
| 481 | ClusterName: resource.PodCluster.ClusterName, |
| 482 | Version: resource.PodCluster.Version, |
| 483 | VPCLcuuid: resource.PodCluster.VPCLcuuid, |
| 484 | AZLcuuid: azLcuuid, |
| 485 | RegionLcuuid: resource.PodCluster.RegionLcuuid, |
| 486 | SubDomainLcuuid: subDomainLcuuid, |
| 487 | }) |
| 488 | return retPodClusters |
| 489 | } |
| 490 | |
| 491 | func (c *Cloud) getSubDomainPodNamespaces( |
| 492 | subDomainLcuuid string, resource *kubernetes_model.KubernetesGatherResource, azLcuuid string, |
no outgoing calls
no test coverage detected