Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateFlagIsSetManuallyOrNot (0.24 sec)

  1. istioctl/pkg/workload/workload.go

    	var v string
    	if idx >= 0 {
    		k = str[:idx]
    		v = str[idx+1:]
    	} else {
    		k = str
    	}
    	return k, v
    }
    
    // validateFlagIsSetManuallyOrNot can validate that a persistent flag is set manually or not by user for given command
    func validateFlagIsSetManuallyOrNot(istioCmd *cobra.Command, flagName string) bool {
    	if istioCmd != nil {
    		allPersistentFlagSet := istioCmd.PersistentFlags()
    		if flagName != "" {
    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