Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for settableFlags (0.11 sec)

  1. istioctl/pkg/config/config.go

    }
    
    func runList(writer io.Writer) error {
    	// Sort flag names
    	keys := make([]string, len(settableFlags))
    	i := 0
    	for key := range settableFlags {
    		keys[i] = key
    		i++
    	}
    	sort.Strings(keys)
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0)
    	fmt.Fprintf(w, "FLAG\tVALUE\tFROM\n")
    	for _, flag := range keys {
    		v := settableFlags[flag]
    		fmt.Fprintf(w, "%s\t%s\t%v\n", flag, viper.GetString(flag), configSource(flag, v))
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Jul 30 12:16:07 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top