Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidServiceAccountArgs (0.3 sec)

  1. istioctl/pkg/completion/completion.go

    	}
    	nsName, err := getNamespacesName(client, toComplete)
    	if err != nil {
    		return nil, cobra.ShellCompDirectiveNoFileComp
    	}
    	return nsName, cobra.ShellCompDirectiveNoFileComp
    }
    
    func ValidServiceAccountArgs(_ *cobra.Command, ctx cli.Context, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    	if len(args) != 0 {
    		return nil, cobra.ShellCompDirectiveNoFileComp
    	}
    	client, err := ctx.CLIClient()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload.go

    	_ = createCmd.RegisterFlagCompletionFunc("serviceAccount", func(
    		cmd *cobra.Command, args []string, toComplete string,
    	) ([]string, cobra.ShellCompDirective) {
    		return completion.ValidServiceAccountArgs(cmd, ctx, args, toComplete)
    	})
    	return createCmd
    }
    
    func generateWorkloadGroupYAML(u *unstructured.Unstructured, spec *networkingv1alpha3.WorkloadGroup) ([]byte, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top