Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nolist (0.19 sec)

  1. istioctl/pkg/completion/completion.go

    }
    
    func getNamespaces(ctx context.Context, client kube.CLIClient) ([]corev1.Namespace, error) {
    	nslist, err := client.Kube().CoreV1().Namespaces().List(ctx, metav1.ListOptions{})
    	if err != nil {
    		return []corev1.Namespace{}, err
    	}
    	return nslist.Items, nil
    }
    
    func ValidNamespaceArgs(_ *cobra.Command, ctx cli.Context, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    	if len(args) != 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top