pkg/kt/service/cluster/global.go
Method Kubernetes.GetKtResources
has 5 return statements (exceeds 4 allowed). Open
Open
func (k *Kubernetes) GetKtResources(namespace string) ([]coreV1.Pod, []coreV1.ConfigMap, []appV1.Deployment, []coreV1.Service, error) {
pods, err := Ins().GetPodsByLabel(map[string]string{util.ControlBy: util.KubernetesToolkit}, namespace)
if err != nil {
return nil, nil, nil, nil, err
}