Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getNamespacesName (0.12 sec)

  1. istioctl/pkg/completion/completion.go

    	}
    
    	servicesName, err := getServicesName(ctx, toComplete)
    	if err != nil {
    		return nil, cobra.ShellCompDirectiveNoFileComp
    	}
    	return servicesName, cobra.ShellCompDirectiveNoFileComp
    }
    
    func getNamespacesName(kubeClient kube.CLIClient, toComplete string) ([]string, error) {
    	ctx := context.Background()
    	nsList, err := getNamespaces(ctx, kubeClient)
    	if err != nil {
    		return nil, err
    	}
    
    	var nsNameList []string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top