- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AllowEmptyEnv (0.09 sec)
-
cni/pkg/cmd/root.go
return }, } // GetCommand returns the main cobra.Command object for this application func GetCommand() *cobra.Command { return rootCmd } func init() { viper.AutomaticEnv() viper.AllowEmptyEnv(true) viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_")) logOptions.AttachCobraFlags(rootCmd) ctrlzOptions.AttachCobraFlags(rootCmd) rootCmd.AddCommand(version.CobraCommand())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 12.7K bytes - Viewed (0) -
istioctl/cmd/root.go
configType = configType[1:] } // Allow users to override some variables through $HOME/.istioctl/config.yaml // and environment variables. viper.SetEnvPrefix("ISTIOCTL") viper.AutomaticEnv() viper.AllowEmptyEnv(true) // So we can say ISTIOCTL_CERT_DIR="" to suppress certs viper.SetConfigName(configName) viper.SetConfigType(configType) viper.AddConfigPath(configPath) viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0)